Font accent char and Win2000!
-
I am building application in Win98 using RichEdit it works fine on Win98,Win95 and Win Nt 4.0 but it gives the follwing problem in Win 2000. My program uses a font which has a accent like charecter. What is accent charecter? Accent char is a char drawn on a main char like (A`) here main char is "A" and accent char is "`" drawn on top of "A". Now combained main and accent char is one char. In Win95/98/NT 4.0/ it works fine but in Win2000 I am seeing the following display problem: Whenever a accent char is diplayed in Win2000 I am seeing an Extra space. (example: this should displayed like "A`a" instead in Win2000 it displayed like "A` a") Here is how to reproduced the problem: To reproduce this problem I am attaching a TTF font(which is availabale for free from www.tamilnet99.org) 0) download font from: http://www.tamilnet99.org/font.htm 1) Install TABAnna.ttf into Win98 and Win2000. 2) use Charecter Map tool and choose the main charecter says ("a")[U+0061] then choose the dot char (.)[U+00A2] (i.e third char from "~") 3) Now it will display "a" and "dot" on top of it. But if you choose one more char (say "b") now you will see the extra SPACE between charecters. 4) It should be:"a(dot on top)b" but itdisplayes: "a(dot on top)b" 5)From charecter map tool copy and past the string to WordPad it also shows the extra space between chareters. 6)Even a simple MFC (generated) program which uses CRichEditView shows this problem. 7)Copy/past to MS word it looks FINE 8)If I display the string in a dialog, Edit Box or combo box it looks fine. Again this diaplay problem appears only of Win2000 not on Win98 or Win NT 4.0. NOTE: This is not a UNICODE program and enableing and disabling _MBCS does not make any difference! Thanks... Kalai :)