()
| 38913 | return this.xref.getNewPersistentRef(descendantFont); |
| 38914 | } |
| 38915 | get baseFontRef() { |
| 38916 | const baseFont = new Dict(this.xref); |
| 38917 | baseFont.set("BaseFont", this.fontName); |
| 38918 | baseFont.set("Type", Name.get("Font")); |
| 38919 | baseFont.set("Subtype", Name.get("Type0")); |
| 38920 | baseFont.set("Encoding", Name.get("Identity-H")); |
| 38921 | baseFont.set("DescendantFonts", [this.descendantFontRef]); |
| 38922 | baseFont.set("ToUnicode", Name.get("Identity-H")); |
| 38923 | return this.xref.getNewPersistentRef(baseFont); |
| 38924 | } |
| 38925 | get resources() { |
| 38926 | const resources = new Dict(this.xref); |
| 38927 | const font = new Dict(this.xref); |
nothing calls this directly
no test coverage detected