]> git.donarmstrong.com Git - lilypond.git/commitdiff
* lily/pango-font.cc (Pango_font::pango_item_string_stencil): Fix
authorWerner Lemberg <wl@gnu.org>
Mon, 23 Oct 2006 05:59:11 +0000 (05:59 +0000)
committerWerner Lemberg <wl@gnu.org>
Mon, 23 Oct 2006 05:59:11 +0000 (05:59 +0000)
typo in argument to FT_Get_X11_Font_Format.

ChangeLog
lily/pango-font.cc

index d01c0d4506627e03fe3003ad95a1bdef66e18b53..54b2094dad2fb81100821f08c09225b3c0d0497c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-10-23  Werner Lemberg  <wl@gnu.org>
+
+       * lily/pango-font.cc (Pango_font::pango_item_string_stencil): Fix
+       typo in argument to FT_Get_X11_Font_Format.
+
 2006-10-23  Han-Wen Nienhuys  <hanwen@lilypond.org>
 
        * flower/polynomial.cc (check_sol): no empty if bodies. 
index 322b50c7774c9cb637ab97e6413fa37f4d23dc0e..7d50025c388197c9629e84a48fa55d3ecaea791c 100644 (file)
@@ -162,7 +162,7 @@ Pango_font::pango_item_string_stencil (PangoItem const *item, string str,
   if  (! has_glyph_names)
     cmap = get_index_to_charcode_map (file_name, ftface);
 
-  bool is_ttf = string (FT_Get_X11_Font_Format (ftface)) == "TrueType6";
+  bool is_ttf = string (FT_Get_X11_Font_Format (ftface)) == "TrueType";
   bool cid_keyed = false;
   for (int i = 0; i < pgs->num_glyphs; i++)
     {