[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] points under baseline shifted up
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] points under baseline shifted up |
Date: |
Tue, 22 Oct 2013 10:24:32 +0200 (CEST) |
> I'm seeing something weird in the ouline given out by freetype
> (2.5), when hinting is disabled (or set to the TTF's own & there's
> none), the geometry below the baseline seems to be shifted up by a
> tiny fraction.
This looks very unlikely, but...
> My test is a font of 2048 units/EM, used at height 16, so that 128
> units=1 pixel on-screen. Above the baseline everything is perfect,
> but anything below is moved up by a fraction of a pixel, possibly
> around 8 units.
To debug this, please read docs/DEBUG to compile and activate FreeType
tracing information into your program. If you then call it with
something like
FT2_DEBUG=any:7 ./your_program ...
you should get detailed information on all values.
Werner