summaryrefslogtreecommitdiff
path: root/utils/GLASS.txt
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2019-08-04 12:26:07 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2019-08-04 12:35:00 +0200
commitd7b706d8f2a6d15b34dabbd38ab8389de5e71ff8 (patch)
treefb6a06e05b3f7c4f1ec5375587c6da7fd638f065 /utils/GLASS.txt
parent48a49b185a5511efd02326fb60d445b759679e09 (diff)
downloadpango-d7b706d8f2a6d15b34dabbd38ab8389de5e71ff8.tar.gz
fc: Ignore more unsupported font formats
FontConfig uses FreeType’s FT_Get_X11_Font_Format() to get the font format. From the list of font formats it supports, only “TrueType” and “CFF” are supported by HarfBuzz. We now check explicitly for supported formats and reject anything else: https://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/include/freetype/internal/services/svfntfmt.h#n36 FreeType, however, seems to use “CFF” for both OpenType fonts with CFF table (.otf) and bare CFF fonts (.cff), but the later are not supported by HarfBuzz although they rather rare (outside of PDF files, which shouldn’t be rendered with Pango), so it should be OK.
Diffstat (limited to 'utils/GLASS.txt')
0 files changed, 0 insertions, 0 deletions