bug-lilypond
[Top][All Lists]
Advanced

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

Re: abort in framework-ps.scm


From: Werner LEMBERG
Subject: Re: abort in framework-ps.scm
Date: Tue, 28 Mar 2006 18:26:14 +0200 (CEST)

> > 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.
> 
> Ah, yes, actually,  I already had this code. Doesn't freetype select 
> UNICODE automatically?

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 reset the encoding after I'm done?

Why?  FT_Done_Face takes care of charmap objects also, IIRC.

> Me neither, on some machines a copy of the font is embedded for every 
> century schoolbook glyph on the page

Urgh.  Have you sent bug reports?


    Werner




reply via email to

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