|
From: | Han-Wen Nienhuys |
Subject: | Re: abort in framework-ps.scm |
Date: | Tue, 28 Mar 2006 18:51:28 +0200 |
User-agent: | Thunderbird 1.5 (X11/20060313) |
Werner LEMBERG wrote:
Ah, yes, actually, I already had this code. Doesn't freetype select UNICODE automatically?Use FT_Select_Charmap(face, FT_ENCODING_UNICODE) to select a Unicode cmap, then loop over all input character codes with FT_Get_First_Char() and FT_Get_Next_Char(). Those two functions return the glyph index also.If it is available, yes. But we should reject fonts without a Unicode cmap, so it makes sense to select it explicitly.Also, should I re
set the encoding after I'm done?
Why? FT_Done_Face takes care of charmap objects also, IIRC.
Because the FT_Face comes out of Pango. I don't know if Pango enjoys its fonts being changed.
Me neither, on some machines a copy of the font is embedded for every century schoolbook glyph on the pageUrgh. Have you sent bug reports?
trouble is , I don't know what report to send to whom. It happens only on some windows machines.
-- Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen LilyPond Software Design -- Code for Music Notation http://www.lilypond-design.com
[Prev in Thread] | Current Thread | [Next in Thread] |