Add setter for some FontFaceObject properties
This commit is contained in:
parent
0a2680bca6
commit
7743d11594
@ -457,6 +457,10 @@ class FontFaceObject {
|
||||
return this.#fontData.disableFontFace ?? false;
|
||||
}
|
||||
|
||||
set disableFontFace(value) {
|
||||
shadow(this, "disableFontFace", !!value);
|
||||
}
|
||||
|
||||
get fontExtraProperties() {
|
||||
return this.#fontData.fontExtraProperties ?? false;
|
||||
}
|
||||
@ -501,6 +505,10 @@ class FontFaceObject {
|
||||
return this.#fontData.bbox;
|
||||
}
|
||||
|
||||
set bbox(bbox) {
|
||||
shadow(this, "bbox", bbox);
|
||||
}
|
||||
|
||||
get fontMatrix() {
|
||||
return this.#fontData.fontMatrix;
|
||||
}
|
||||
|
||||
1
test/pdfs/issue20426.pdf.link
Normal file
1
test/pdfs/issue20426.pdf.link
Normal file
@ -0,0 +1 @@
|
||||
https://github.com/user-attachments/files/23383534/test.1.pdf
|
||||
@ -1948,6 +1948,14 @@
|
||||
"type": "eq",
|
||||
"forms": true
|
||||
},
|
||||
{
|
||||
"id": "issue20426",
|
||||
"file": "pdfs/issue20426.pdf",
|
||||
"md5": "b9a753df595f1dd30505a67c96373dd8",
|
||||
"link": true,
|
||||
"rounds": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{
|
||||
"id": "issue13845",
|
||||
"file": "pdfs/issue13845.pdf",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user