[cairo] Userfont hinting

Peter Clifton pcjc2 at cam.ac.uk
Sat May 10 09:10:57 PDT 2008


On Sat, 2008-05-10 at 15:52 +0100, Peter Clifton wrote:
> On Sat, 2008-05-10 at 15:01 +0200, Behdad Esfahbod wrote:
> > Ok, try what I pushed now.  I modified your source and it works
> > correctly for whatever I tested from 10^-29 to 10^+29.  Test case
> > attached.  I may clean it up and add to the test suite if you don't
> > mind.

The console output is misleading (we might want to delete it anyway),
but changing the format string to use %8g rather than %f fixes it:

  printf ("metrics->x_advance = %8g\n", metrics->x_advance);


-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



More information about the cairo mailing list