mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-07-11 01:25:48 +02:00
Add basic support for non-embedded TrebuchetMS fonts (issue 21523)
This commit is contained in:
parent
d66bd324fa
commit
15969fbe19
@ -171,6 +171,10 @@ const getNonStdFontMap = getLookupTableFactory(function (t) {
|
|||||||
t["MS-PMincho-Italic"] = "MS PMincho-Italic";
|
t["MS-PMincho-Italic"] = "MS PMincho-Italic";
|
||||||
t.NuptialScript = "Times-Italic";
|
t.NuptialScript = "Times-Italic";
|
||||||
t.SegoeUISymbol = "Helvetica";
|
t.SegoeUISymbol = "Helvetica";
|
||||||
|
t.TrebuchetMS = "Helvetica";
|
||||||
|
t["TrebuchetMS-Bold"] = "Helvetica-Bold";
|
||||||
|
t["TrebuchetMS-BoldItalic"] = "Helvetica-BoldOblique";
|
||||||
|
t["TrebuchetMS-Italic"] = "Helvetica-Oblique";
|
||||||
});
|
});
|
||||||
|
|
||||||
const getSerifFonts = getLookupTableFactory(function (t) {
|
const getSerifFonts = getLookupTableFactory(function (t) {
|
||||||
|
|||||||
1
test/pdfs/issue21523.pdf.link
Normal file
1
test/pdfs/issue21523.pdf.link
Normal file
@ -0,0 +1 @@
|
|||||||
|
https://github.com/user-attachments/files/29594283/Zavrnitev.-.dopis.-.71634.-.SI_CL_26_001893.-.71634.-.331459.-.2026070113544.pdf
|
||||||
@ -12450,6 +12450,15 @@
|
|||||||
"disableFontFace": true,
|
"disableFontFace": true,
|
||||||
"type": "eq"
|
"type": "eq"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "issue21523",
|
||||||
|
"file": "pdfs/issue21523.pdf",
|
||||||
|
"md5": "7d21cf443ec7490b50089a1eb7d6e6a1",
|
||||||
|
"rounds": 1,
|
||||||
|
"link": true,
|
||||||
|
"lastPage": 1,
|
||||||
|
"type": "eq"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "issue19281",
|
"id": "issue19281",
|
||||||
"file": "pdfs/issue19281.pdf",
|
"file": "pdfs/issue19281.pdf",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user