[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Render a text on Horizontal using a ttf file which contai
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] Render a text on Horizontal using a ttf file which contains also Vertical metrics |
Date: |
Thu, 18 May 2017 12:08:11 +0200 (CEST) |
> I'm trying to render a Chinese text on Horizontal and I'm using a
> ttf file which contains both metrics inside (Horizontal and
> Vertical). The glyphs obtained seems to be based on Vertical
> metrics.
I don't understand what you mean. Can you repeat the issue with one
of the FreeType demo programs?
> Can I force somehow to obtain the glyphs based on Horizontal
> metrics?
Of course. If you don't use the FT_LOAD_VERTICAL_LAYOUT flag with
FT_Load_Glyph, you are using horizontal metrics.
Werner