Issue #1862 - Follow-up: Replace deprecated Harfbuzz functions with current ones.

Based on Mozilla bug 1500356.
This commit is contained in:
Job Bautista 2023-04-30 21:20:06 +08:00 • committed by roytam1
commit 51426d1053
7 changed files with 73 additions and 78 deletions

View file

@ -204,7 +204,7 @@ MacOSFontEntry::ReadCMAP(FontInfoData *aFontInfoData)
}
// We check for GSUB here, as GPOS alone would not be ok.
if (hasGSUB && SupportsScriptInGSUB(sr->tags)) {
if (hasGSUB && SupportsScriptInGSUB(sr->tags, sr->numTags)) {
continue;
}