entry if cmap contains glyph.
2006-10-20 Han-Wen Nienhuys <hanwen@lilypond.org>
+ * lily/pango-font.cc (pango_item_string_stencil): only use cmap
+ entry if cmap contains glyph.
+
* scripts/lilypond-book.py (main): use -deps-box-padding=-3
* scm/framework-ps.scm (dump-stencil-as-EPS): use eps-box-padding,
/* Ugh should ask FreeType about font type. */
&& (file_name.find (".ttf") != NPOS
- || file_name.find (".TTF") != NPOS))
+ || file_name.find (".TTF") != NPOS)
+ && cmap->find (pg) != cmap->end ())
{
FT_ULong char_code = cmap->find (pg)->second;
get_unicode_name (glyph_name, char_code);