summaryrefslogtreecommitdiff
path: root/gfx/thebes/gfxFontEntry.h
diff options
context:
space:
mode:
authorJob Bautista <jobbautista9@aol.com>2023-04-30 21:20:06 +0800
committerJob Bautista <jobbautista9@aol.com>2023-04-30 21:20:06 +0800
commit4a2aae060fe292dfd3104fd6447276523df2c813 (patch)
tree45fc44b15366c9cc4588651ea633dd77ce755f3e /gfx/thebes/gfxFontEntry.h
parent4d4d8cfc9f73d48208afcfde9216fcddf9aecec3 (diff)
downloaduxp-4a2aae060fe292dfd3104fd6447276523df2c813.tar.gz
Issue #1862 - Follow-up: Replace deprecated Harfbuzz functions with current ones.
Based on Mozilla bug 1500356.
Diffstat (limited to 'gfx/thebes/gfxFontEntry.h')
-rw-r--r--gfx/thebes/gfxFontEntry.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gfx/thebes/gfxFontEntry.h b/gfx/thebes/gfxFontEntry.h
index 7f0e7215be..77346f3ea3 100644
--- a/gfx/thebes/gfxFontEntry.h
+++ b/gfx/thebes/gfxFontEntry.h
@@ -320,11 +320,11 @@ public:
struct ScriptRange {
uint32_t rangeStart;
uint32_t rangeEnd;
- hb_tag_t tags[3]; // one or two OpenType script tags to check,
- // plus a NULL terminator
+ uint32_t numTags; // number of entries in the tags[] array
+ hb_tag_t tags[3]; // up to three OpenType script tags to check
};
- bool SupportsScriptInGSUB(const hb_tag_t* aScriptTags);
+ bool SupportsScriptInGSUB(const hb_tag_t* aScriptTags, uint32_t aNumTags);
nsString mName;
nsString mFamilyName;