diff options
| author | Alexander Valavanis <valavanisalex@gmail.com> | 2018-06-17 19:41:56 +0000 |
|---|---|---|
| committer | Alexander Valavanis <valavanisalex@gmail.com> | 2018-06-17 19:41:56 +0000 |
| commit | 665e23525623216429aa30a5c46bc5ac14010e36 (patch) | |
| tree | 44c82428b1b55d4d6ea3131b920b30b14a3a3ba6 /src/libnrtype | |
| parent | Move toolbars to ui/toolbar (diff) | |
| download | inkscape-665e23525623216429aa30a5c46bc5ac14010e36.tar.gz inkscape-665e23525623216429aa30a5c46bc5ac14010e36.zip | |
Potential fix for FTBFS introduced in 60ecfba7
Diffstat (limited to 'src/libnrtype')
| -rw-r--r-- | src/libnrtype/OpenTypeUtil.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libnrtype/OpenTypeUtil.cpp b/src/libnrtype/OpenTypeUtil.cpp index ffe0807b0..1398a4857 100644 --- a/src/libnrtype/OpenTypeUtil.cpp +++ b/src/libnrtype/OpenTypeUtil.cpp @@ -39,6 +39,10 @@ Glib::ustring extract_tag( guint32 *tag ) { } +// TODO: Ideally, we should use the HB_VERSION_ATLEAST macro here, +// but this was only released in harfbuzz >= 0.9.30 +// #if HB_VERSION_ATLEAST(1,2,3) +#if HB_VERSION_MAJOR*10000 + HB_VERSION_MINOR*100 + HB_VERSION_MICRO >= 10203 void get_glyphs( hb_font_t* font, hb_set_t* set, Glib::ustring& characters) { // There is a unicode to glyph mapping function but not the inverse! @@ -54,6 +58,7 @@ void get_glyphs( hb_font_t* font, hb_set_t* set, Glib::ustring& characters) { } } } +#endif // Make a list of all tables found in the GSUB // This list includes all tables regardless of script or language. |
