[Fontconfig] Text extent question - sum of advance not scaling exactly as Font Size * DPI

mathog mathog at caltech.edu
Mon Oct 15 11:29:06 PDT 2012

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%.


David Mathog
mathog at caltech.edu
Manager, Sequence Analysis Facility, Biology Division, Caltech

More information about the Fontconfig mailing list