[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] FT_Load_Char behavior when glyph not present
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] FT_Load_Char behavior when glyph not present |
Date: |
Wed, 14 Sep 2011 10:32:01 +0200 (CEST) |
> What is the expected behavior of FT_Load_Char when the requested
> glyph is not present in the font file? One user of freetype-py
> (http://code.google.com/p/freetype-py/) reported that freetype
> returns no error (and does not load the glyph obviously).
FT_Load_Char is always successful (provided the font is valid and
there is a charmap). For character codes without a `real' glyph, the
`undefined' glyph is returned.
Werner