[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] CJK fonts and vertical advance
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] CJK fonts and vertical advance |
Date: |
Thu, 27 Apr 2006 01:56:06 +0200 (CEST) |
> I have a question about computing the vertical advance when
> rendering cjk fonts. I am using the variable:
> face->glyph->metrics.vertAdvance to compute the next character
> position when drawing text vertically.
>
> First question, is this the correct value or variable to use?
> Second, if so, the value seems to change drastically when hinting is
> turned on or off before rendering the glyph (FT_LOAD_NO_HINTING) or
> if a bitmap of the glyph exists in the font (I currently set
> FT_LOAD_NO_BITMAP just to keep this from happening).
Some bugs w.r.t. vertical metrics have been fixed the FreeType CVS.
Please try this (or wait for the 2.2 release -- David has already
tagged the sources).
Werner