summaryrefslogtreecommitdiffstats
path: root/gfx
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-11-14 10:09:50 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-11-14 10:09:50 +0100
commitc3144281b5c83b5e7c8657a563e45dc08d491e4a (patch)
treee519b4d6b7dfcbb418f5ddd8ce4503a0cae572cf /gfx
parent0f8691a48869932cd3de5195f5211c25e4691b21 (diff)
downloadUXP-c3144281b5c83b5e7c8657a563e45dc08d491e4a.tar
UXP-c3144281b5c83b5e7c8657a563e45dc08d491e4a.tar.gz
UXP-c3144281b5c83b5e7c8657a563e45dc08d491e4a.tar.lz
UXP-c3144281b5c83b5e7c8657a563e45dc08d491e4a.tar.xz
UXP-c3144281b5c83b5e7c8657a563e45dc08d491e4a.zip
Issue #1288 - Part 5: Pass graphite fonts through OTS.
Since the updated OTS supports proper checking of graphite fonts we no longer need to rely of harfbuzz for them.
Diffstat (limited to 'gfx')
-rw-r--r--gfx/thebes/gfxUserFontSet.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/gfx/thebes/gfxUserFontSet.cpp b/gfx/thebes/gfxUserFontSet.cpp
index 72c54d9b5..e1c55c334 100644
--- a/gfx/thebes/gfxUserFontSet.cpp
+++ b/gfx/thebes/gfxUserFontSet.cpp
@@ -180,18 +180,9 @@ public:
virtual ots::TableAction GetTableAction(uint32_t aTag) override {
// Preserve Graphite, color glyph and SVG tables
- if (
-#ifdef RELEASE_OR_BETA // For Beta/Release, also allow OT Layout tables through
- // unchecked, and rely on harfbuzz to handle them safely.
- aTag == TRUETYPE_TAG('G', 'D', 'E', 'F') ||
+ if (aTag == TRUETYPE_TAG('G', 'D', 'E', 'F') ||
aTag == TRUETYPE_TAG('G', 'P', 'O', 'S') ||
aTag == TRUETYPE_TAG('G', 'S', 'U', 'B') ||
-#endif
- aTag == TRUETYPE_TAG('S', 'i', 'l', 'f') ||
- aTag == TRUETYPE_TAG('S', 'i', 'l', 'l') ||
- aTag == TRUETYPE_TAG('G', 'l', 'o', 'c') ||
- aTag == TRUETYPE_TAG('G', 'l', 'a', 't') ||
- aTag == TRUETYPE_TAG('F', 'e', 'a', 't') ||
aTag == TRUETYPE_TAG('S', 'V', 'G', ' ') ||
aTag == TRUETYPE_TAG('C', 'O', 'L', 'R') ||
aTag == TRUETYPE_TAG('C', 'P', 'A', 'L')) {