1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Merge pull request #18628 from Snuffleupagus/issue-18208

Use standard glyph mapping for non-embedded and non-composite Calibri fonts (issue 18208)
This commit is contained in:
Tim van der Meij 2024-08-19 20:26:56 +02:00 committed by GitHub
commit e0fc1a341a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 1 deletions

View file

@ -1244,7 +1244,7 @@ class Font {
getDingbatsGlyphsUnicode(),
this.differences
);
} else if (isStandardFont) {
} else if (isStandardFont || isMappedToStandardFont) {
const map = buildToFontChar(
this.defaultEncoding,
getGlyphsUnicode(),