Re: Text extent question - sum of advance not scaling exactly as Font Size * DPI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 15-Oct-2012 11:11, mathog wrote:
Now the million dollar question:  what are the units for advance.x
and what determines the scale for
advance.x for FT_LOAD_NO_SCALE?

Found it, it is in 1/64th of a point. The numbers didn't add up because the test
program had another scale factor squirreled away in it.

16731/64 = 261.421875

vs. scaled EMF coordinates, converted (properly this time) to points

(8278 - 1751)*.04 = 261.080000

which are the same to .13%.

Thanks,

David Mathog
mathog@xxxxxxxxxxx
Manager, Sequence Analysis Facility, Biology Division, Caltech
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig


[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux