@embedpdf/models 2.0.2 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fonts.d.ts +29 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -1
- package/dist/pdf.d.ts +36 -0
- package/package.json +1 -1
package/dist/pdf.d.ts
CHANGED
|
@@ -1753,6 +1753,42 @@ export interface PdfAttachmentObject {
|
|
|
1753
1753
|
creationDate?: Date;
|
|
1754
1754
|
checksum: string;
|
|
1755
1755
|
}
|
|
1756
|
+
/**
|
|
1757
|
+
* Font charset constants from PDFium (fpdf_sysfontinfo.h)
|
|
1758
|
+
* Used for font fallback system when PDFs require fonts not embedded in the document.
|
|
1759
|
+
*
|
|
1760
|
+
* @public
|
|
1761
|
+
*/
|
|
1762
|
+
export declare enum FontCharset {
|
|
1763
|
+
/** ANSI charset (Western European) */
|
|
1764
|
+
ANSI = 0,
|
|
1765
|
+
/** Default charset */
|
|
1766
|
+
DEFAULT = 1,
|
|
1767
|
+
/** Symbol charset */
|
|
1768
|
+
SYMBOL = 2,
|
|
1769
|
+
/** Japanese (Shift-JIS) */
|
|
1770
|
+
SHIFTJIS = 128,
|
|
1771
|
+
/** Korean (Hangeul) */
|
|
1772
|
+
HANGEUL = 129,
|
|
1773
|
+
/** Simplified Chinese (GB2312) */
|
|
1774
|
+
GB2312 = 134,
|
|
1775
|
+
/** Traditional Chinese (Big5) */
|
|
1776
|
+
CHINESEBIG5 = 136,
|
|
1777
|
+
/** Greek */
|
|
1778
|
+
GREEK = 161,
|
|
1779
|
+
/** Vietnamese */
|
|
1780
|
+
VIETNAMESE = 163,
|
|
1781
|
+
/** Hebrew */
|
|
1782
|
+
HEBREW = 177,
|
|
1783
|
+
/** Arabic */
|
|
1784
|
+
ARABIC = 178,
|
|
1785
|
+
/** Cyrillic (Russian, etc.) */
|
|
1786
|
+
CYRILLIC = 204,
|
|
1787
|
+
/** Thai */
|
|
1788
|
+
THAI = 222,
|
|
1789
|
+
/** Eastern European */
|
|
1790
|
+
EASTERNEUROPEAN = 238
|
|
1791
|
+
}
|
|
1756
1792
|
/**
|
|
1757
1793
|
* Pdf engine features
|
|
1758
1794
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@embedpdf/models",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Shared type definitions, data models, and utility helpers (geometry, tasks, logging, PDF primitives) that underpin every package in the EmbedPDF ecosystem.",
|
|
6
6
|
"type": "module",
|