+2006-10-22 Han-Wen Nienhuys <hanwen@lilypond.org>
+
+ * lily/pango-font.cc (pango_item_string_stencil): use
+ FT_Get_X11_Font_Format()
+
2006-10-22 John Mandereau <john.mandereau@free.fr>
* po/fr.po: update translation.
2006-10-21 Han-Wen Nienhuys <hanwen@lilypond.org>
+ * VERSION (PATCH_LEVEL): bump version
+
* input/regression/horizontal-bracket-break.ly: new file.
* scm/define-grobs.scm (all-grob-descriptions): calc
* lily/horizontal-bracket.cc (make_bracket): support
connect-to-neighbor. Fix #118
+ * VERSION: release 2.9.26-2
+
* lily/ttf.cc (make_index_to_charcode_map): remove debugging gobs.
* VERSION (PACKAGE_NAME): release 2.9.26
#define PANGO_ENABLE_BACKEND // ugh, why necessary?
#include <pango/pangoft2.h>
+#include <freetype/ftxf86.h>
/* Ugh. */
#include "pango-font.hh"
bool has_glyph_names = ftface->face_flags & FT_FACE_FLAG_GLYPH_NAMES;
if (! has_glyph_names)
cmap = get_index_to_charcode_map (file_name, ftface);
- bool is_ttf = (file_name.find (".ttf") != NPOS
- || file_name.find (".TTF") != NPOS);
-
+
+ bool is_ttf = string (FT_Get_X11_Font_Format (ftface)) == "TrueType6";
bool cid_keyed = false;
for (int i = 0; i < pgs->num_glyphs; i++)
{