mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48: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:
commit
e0fc1a341a
3 changed files with 11 additions and 1 deletions
|
@ -1244,7 +1244,7 @@ class Font {
|
|||
getDingbatsGlyphsUnicode(),
|
||||
this.differences
|
||||
);
|
||||
} else if (isStandardFont) {
|
||||
} else if (isStandardFont || isMappedToStandardFont) {
|
||||
const map = buildToFontChar(
|
||||
this.defaultEncoding,
|
||||
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,
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"id": "issue18208",
|
||||
"file": "pdfs/issue18208.pdf",
|
||||
"md5": "d07311117b5cc970159b09977898996b",
|
||||
"link": true,
|
||||
"rounds": 1,
|
||||
"lastPage": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{
|
||||
"id": "issue11139",
|
||||
"file": "pdfs/issue11139.pdf",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue