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:
commit
e0fc1a341a
@ -1244,7 +1244,7 @@ class Font {
|
|||||||
getDingbatsGlyphsUnicode(),
|
getDingbatsGlyphsUnicode(),
|
||||||
this.differences
|
this.differences
|
||||||
);
|
);
|
||||||
} else if (isStandardFont) {
|
} else if (isStandardFont || isMappedToStandardFont) {
|
||||||
const map = buildToFontChar(
|
const map = buildToFontChar(
|
||||||
this.defaultEncoding,
|
this.defaultEncoding,
|
||||||
getGlyphsUnicode(),
|
getGlyphsUnicode(),
|
||||||
|
|||||||
1
test/pdfs/issue18208.pdf.link
Normal file
1
test/pdfs/issue18208.pdf.link
Normal file
@ -0,0 +1 @@
|
|||||||
|
https://github.com/user-attachments/files/15587595/d403d5d5-f3e1-411d-b289-9b497069b80e.pdf
|
||||||
@ -3012,6 +3012,15 @@
|
|||||||
"rounds": 1,
|
"rounds": 1,
|
||||||
"type": "text"
|
"type": "text"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "issue18208",
|
||||||
|
"file": "pdfs/issue18208.pdf",
|
||||||
|
"md5": "d07311117b5cc970159b09977898996b",
|
||||||
|
"link": true,
|
||||||
|
"rounds": 1,
|
||||||
|
"lastPage": 1,
|
||||||
|
"type": "eq"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "issue11139",
|
"id": "issue11139",
|
||||||
"file": "pdfs/issue11139.pdf",
|
"file": "pdfs/issue11139.pdf",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user