I require to obtain individual character widths and character string lengths for applications such as microsoft word and autocad.
I am using the functions GetTextExtentPoint32 and getcharabcwidths to get this information. If I use fontheights of 12,18 and 24 points using Arial and Bookman old style (bookos), the ratio of the string lengths (arial/Bookos)is 1.06, 1.12 and 0.91 respectively. When I plotthe character strings with a Fortran windows application i indeed get the same ratios. However if i replicate the strings in microsoft word or microsoft paint or autocad the ratio is approx. 0.88 for all font point heights. Why is there a discrepancy ? and is there any method of obtainingcharacter widths forgeneral applications