freetype
[Top][All Lists]
Advanced

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

Re: [ft] putting text in a box


From: Werner LEMBERG
Subject: Re: [ft] putting text in a box
Date: Thu, 21 Jan 2010 10:23:36 +0100 (CET)

> Is it also worth stating what a negative llx (xMin) value means, to
> facilitate understanding.

This is more complicated to answer IMHO since the glyph's horizontal
origin can be arbitrarily chosen by the font designer.  Normally, you
shouldn't see large negative xMin values, if at all.  If you do, there
is a high chance that all glyphs have similar negative xMin values:
This might happen if the glyphs' origin is the horizontally centered,
say.  Note that, BTW, `ascender' and `descender' values are not useful
for many scripts like CJK.  It's mere convention that e.g. Adobe uses
a descender of -200 font units (and 800 font units for the ascender)
for CJK fonts.  To make such fonts fit with surrounding latin glyphs
it is in most cases necessary to shift the glyphs vertically.

IMHO it's probably best to *not* go into details here.  However, if
you find some proper wording I could add it easily.


    Werner




reply via email to

[Prev in Thread] Current Thread [Next in Thread]