mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-06-28 02:55:49 +02:00
Add callout line informations to FreeTextAnnotation
This commit is contained in:
parent
fe2680fa9b
commit
edfad112da
@ -3919,8 +3919,12 @@ class FreeTextAnnotation extends MarkupAnnotation {
|
|||||||
this._hasAppearance = !!this.appearance;
|
this._hasAppearance = !!this.appearance;
|
||||||
|
|
||||||
if (typeof PDFJSDev === "undefined" || !PDFJSDev.test("MOZCENTRAL")) {
|
if (typeof PDFJSDev === "undefined" || !PDFJSDev.test("MOZCENTRAL")) {
|
||||||
this.setLineEnding(dict.getArray("LE"));
|
if (dict.has("CL")) {
|
||||||
this.data.lineEnding = this.lineEnding;
|
this.setLineEnding(dict.getArray("LE"));
|
||||||
|
this.data.calloutLine = dict.getArray("CL");
|
||||||
|
this.data.rectDifference = dict.getArray("RD");
|
||||||
|
this.data.lineEnding = this.lineEnding;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this._hasAppearance) {
|
if (this._hasAppearance) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user