PoDoFo 1.2.0
Loading...
Searching...
No Matches
PdfDeclarations.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2005 Dominik Seichter <domseichter@web.de>
2// SPDX-FileCopyrightText: 2020 Francesco Pretto <ceztko@gmail.com>
3// SPDX-License-Identifier: LGPL-2.0-or-later OR MPL-2.0
4
5#ifndef PDF_DECLARATIONS_H
6#define PDF_DECLARATIONS_H
7
13
14 // Include some base macro definitions
15#include <podofo/auxiliary/basedefs.h>
16
17// Include common system headers
18#include <podofo/auxiliary/baseincludes.h>
19
20#include <podofo/auxiliary/Version.h>
21
22#define FORWARD_DECLARE_FCONFIG()\
23extern "C" {\
24 struct _FcConfig;\
25 typedef struct _FcConfig FcConfig;\
26}
27
28#define FORWARD_DECLARE_FREETYPE()\
29extern "C"\
30{\
31 struct FT_FaceRec_;\
32 typedef struct FT_FaceRec_* FT_Face;\
33}
34
43namespace PoDoFo {
44
49{
50 None = 0,
51 Error,
52 Warning,
54 Debug,
55};
56
57// Enums
58
60enum class PdfVersion : uint8_t
61{
62 Unknown = 0,
63 V1_0 = 10,
64 V1_1 = 11,
65 V1_2 = 12,
66 V1_3 = 13,
67 V1_4 = 14,
68 V1_5 = 15,
69 V1_6 = 16,
70 V1_7 = 17,
71 V2_0 = 20,
72};
73
77
78enum class PdfALevel : uint8_t
79{
80 Unknown = 0,
81 // ISO 19005-1:2005
82 L1B,
83 L1A,
84 // ISO 19005-2:2011
85 L2B,
86 L2A,
87 L2U,
88 // ISO 19005-3:2012
89 L3B,
90 L3A,
91 L3U,
92 // ISO 19005-4:2020
93 L4,
94 L4E,
95 L4F,
96};
97
98enum class PdfUALevel : uint8_t
99{
100 Unknown = 0,
101 L1, // ISO 14289-1:2014
102 L2, // ISO 14289-2:2024
103};
104
106{
107 Unknown = 0,
108 Ascii,
110 Unicode,
111};
112
114{
115 Indeterminate = 0,
116 Simple,
117 CMap
118};
119
127
128enum class PdfWModeKind : uint8_t
129{
130 Horizontal = 0,
131 Vertical = 1,
132};
133
136{
137 None = 0,
138 Clean = 1,
139 NoInlineLiteral = 2,
140 NoFlateCompress = 4,
141 PdfAPreserve = 8,
142 SkipDelimiters = 16,
143};
144
152{
153 Unknown = 0,
154 Bool,
155 Number,
156 Real,
157 String,
158 Name,
159 Array,
160 Dictionary,
161 Null,
162 Reference,
163 RawData,
164};
165
166enum class PdfTokenType : uint8_t
167{
168 Unknown = 0,
169 Literal,
170 ParenthesisLeft,
171 ParenthesisRight,
172 BraceLeft,
173 BraceRight,
174 AngleBracketLeft,
175 AngleBracketRight,
176 DoubleAngleBracketsLeft,
177 DoubleAngleBracketsRight,
178 SquareBracketLeft,
179 SquareBracketRight,
180 Slash,
181};
182
184{
185 None = 0,
186 IgnoreCase = 1,
187 KeepWhiteTokens = 2,
188 TokenizeWords = 4,
189 MatchWholeWord = 8,
190 RegexPattern = 16,
191 ComputeBoundingBox = 32,
192 RawCoordinates = 64,
193 ExtractSubstring = 128,
194};
195
196enum class PdfXObjectType : uint8_t
197{
198 Unknown = 0,
199 Form,
200 Image,
201 PostScript,
202};
203
209{
210 None = 0,
213 LZWDecode,
216 CCITTFaxDecode,
217 JBIG2Decode,
218 DCTDecode,
219 JPXDecode,
220 Crypt
221};
222
224{
225 Png = 1,
226 Jpeg = 2,
227};
228
233{
234 None = 0,
235 FixedPitch = 1 << 0,
236 Serif = 1 << 1,
237 Symbolic = 1 << 2,
238 Script = 1 << 3,
239 NonSymbolic = 1 << 5,
240 Italic = 1 << 6,
241 AllCap = 1 << 16,
242 SmallCap = 1 << 17,
243 ForceBold = 1 << 18,
244};
245
246enum class PdfFontStretch : uint8_t
247{
248 Unknown = 0,
249 UltraCondensed,
250 ExtraCondensed,
251 Condensed,
252 SemiCondensed,
253 Normal,
254 SemiExpanded,
255 Expanded,
256 ExtraExpanded,
257 UltraExpanded,
258};
259
266{
267 Unknown = 0,
268 Type1,
269 Type3,
270 TrueType,
271 CIDCFF,
273};
274
276{
277 // Table 126 – Embedded font organization for various font types
278 Unknown = 0,
279 Type1,
280 Type1CFF,
282 Type3,
283 TrueType,
285};
286
289{
290 None = 0,
291 Italic = 1,
292 Bold = 2,
293 // Alias to represent a font with regular style
294 Regular = None,
295};
296
301{
302 ReadMetrics = 1,
303 FontProgram = 2
304};
305
308{
309 None = 0,
310 Standard14 = 1,
311 Standard14Alt = 2,
312};
313
316{
317 None = 0,
318 DontEmbed = 1,
319 DontSubset = 2,
320 PreferNonCID = 4,
321};
322
329
333{
334 Unknown = 0,
335 DeviceGray,
336 DeviceRGB,
337 DeviceCMYK,
338 CalGray,
339 CalRGB,
340 Lab,
341 ICCBased,
342 Indexed,
343 Pattern,
344 Separation,
345 DeviceN
346};
347
349{
350 Unknown = 0,
351 Grayscale,
352 RGB24,
353 BGR24,
354 RGBA,
355 BGRA,
356 ARGB,
357 ABGR,
358};
359
374
378{
379 Solid = 1,
380 Dash,
381 Dot,
382 DashDot,
383 DashDotDot
384};
385
389{
390 None = 0,
393 WriteProducer = 4,
394};
395
398{
399 Butt = 0,
400 Round = 1,
401 Square = 2
402};
403
406{
407 Miter = 0,
408 Round = 1,
409 Bevel = 2
410};
411
414{
415 Top = 0,
416 Center = 1,
417 Bottom = 2
418};
419
422{
423 Left = 0,
424 Center = 1,
425 Right = 2
426};
427
429{
430 None = 0,
431
435 ForceXRefTable = 1,
436
440 ForceXRefStream = 2,
441
444 NoFlateCompress = 4,
445 NoCollectGarbage = 8,
452 NoMetadataUpdate = 16,
453 Clean = 32,
457 SaveOnSigning = 64,
458
461 IgnoreXRefErrors = 128,
462
465};
466
468{
469 None = 0,
471 StrictParsing = 1,
475 SkipXRefRecovery = 4,
476};
477
478enum class PdfAdditionalMetadata : uint8_t
479{
480 PdfAIdAmd = 1,
481 PdfAIdCorr,
482 PdfAIdRev,
483 PdfUAIdAmd,
484 PdfUAIdCorr,
485 PdfUAIdRev,
486};
487
494{
495 Unknown = 0,
496 A0,
497 A1,
498 A2,
499 A3,
500 A4,
501 A5,
502 A6,
503 Letter,
504 Legal,
505 Tabloid,
506};
507
514{
515 UseNone = 1,
516 UseThumbs,
517 UseOutlines,
518 FullScreen,
519 UseOC,
520 UseAttachments
521};
522
529{
530 SinglePage = 1,
531 OneColumn,
532 TwoColumnLeft,
533 TwoColumnRight,
534 TwoPageLeft,
535 TwoPageRight
536};
537
538enum class PdfStandard14FontType : uint8_t
539{
540 Unknown = 0,
541 TimesRoman,
542 TimesItalic,
543 TimesBold,
544 TimesBoldItalic,
545 Helvetica,
546 HelveticaOblique,
547 HelveticaBold,
548 HelveticaBoldOblique,
549 Courier,
550 CourierOblique,
551 CourierBold,
552 CourierBoldOblique,
553 Symbol,
554 ZapfDingbats,
555};
556
566{
567 Unknown = 0,
568 Text, // - supported
569 Link, // - supported
570 FreeText, // PDF 1.3 // - supported
571 Line, // PDF 1.3 // - supported
572 Square, // PDF 1.3
573 Circle, // PDF 1.3
574 Polygon, // PDF 1.5
575 PolyLine, // PDF 1.5
576 Highlight, // PDF 1.3
577 Underline, // PDF 1.3
578 Squiggly, // PDF 1.4
579 StrikeOut, // PDF 1.3
580 Stamp, // PDF 1.3
581 Caret, // PDF 1.5
582 Ink, // PDF 1.3
583 Popup, // PDF 1.3 // - supported
584 FileAttachement,// PDF 1.3
585 Sound, // PDF 1.2
586 Movie, // PDF 1.2
587 Widget, // PDF 1.2 // - supported
588 Screen, // PDF 1.5
589 PrinterMark, // PDF 1.4
590 TrapNet, // PDF 1.3
591 Watermark, // PDF 1.6
592 Model3D, // PDF 1.6
593 RichMedia, // PDF 1.7 ADBE ExtensionLevel 3 ALX: Petr P. Petrov
594 WebMedia, // PDF 1.7 IPDF ExtensionLevel 3
595 Redact, // PDF 1.7
596 Projection, // PDF 2.0
597};
598
603{
604 None = 0x0000,
605 Invisible = 0x0001,
606 Hidden = 0x0002,
607 Print = 0x0004,
608 NoZoom = 0x0008,
609 NoRotate = 0x0010,
610 NoView = 0x0020,
611 ReadOnly = 0x0040,
612 Locked = 0x0080,
613 ToggleNoView = 0x0100,
614 LockedContents = 0x0200,
615};
616
619{
620 Unknown = 0,
621 PushButton,
622 CheckBox,
623 RadioButton,
624 TextBox,
625 ComboBox,
626 ListBox,
627 Signature,
628};
629
638{
639 Unknown = 0,
640 None,
641 Invert,
643 Push,
644};
645
646enum class PdfFieldFlags : uint8_t
647{
648 ReadOnly = 1,
649 Required = 2,
650 NoExport = 4
651};
652
655{
656 Normal = 0,
657 Rollover,
658 Down
659};
660
661enum class PdfResourceType : uint8_t
662{
663 Unknown = 0,
664 ExtGState,
665 ColorSpace,
666 Pattern,
667 Shading,
668 XObject,
669 Font,
670 Properties
671};
672
673enum class PdfKnownNameTree : uint8_t
674{
675 Unknown = 0,
676 Dests,
677 AP,
678 JavaScript,
679 Pages,
680 Templates,
681 IDS,
682 URLS,
683 EmbeddedFiles,
684 AlternatePresentations,
685 Renditions,
686};
687
690{
691 Unknown = 0,
692 // ISO 32008-1:2008 Table 51 – Operator Categories
693 // General graphics state
694 w,
695 J,
696 j,
697 M,
698 d,
699 ri,
700 i,
701 gs,
702 // Special graphics state
703 q,
704 Q,
705 cm,
706 // Path construction
707 m,
708 l,
709 c,
710 v,
711 y,
712 h,
713 re,
714 // Path painting
715 S,
716 s,
717 f,
718 F,
719 f_Star,
720 B,
721 B_Star,
722 b,
723 b_Star,
724 n,
725 // Clipping paths
726 W,
727 W_Star,
728 // Text objects
729 BT,
730 ET,
731 // Text state
732 Tc,
733 Tw,
734 Tz,
735 TL,
736 Tf,
737 Tr,
738 Ts,
739 // Text positioning
740 Td,
741 TD,
742 Tm,
743 T_Star,
744 // Text showing
745 Tj,
746 TJ,
747 Quote,
748 DoubleQuote,
749 // Type 3 fonts
750 d0,
751 d1,
752 // Color
753 CS,
754 cs,
755 SC,
756 SCN,
757 sc,
758 scn,
759 G,
760 g,
761 RG,
762 rg,
763 K,
764 k,
765 // Shading patterns
766 sh,
767 // Inline images
768 BI,
769 ID,
770 EI,
771 // XObjects
772 Do,
773 // Marked content
774 MP,
775 DP,
776 BMC,
777 BDC,
778 EMC,
779 // Compatibility
780 BX,
781 EX,
782};
783
786{
787 Unknown = 0,
788 AbsoluteColorimetric,
789 RelativeColorimetric,
790 Perceptual,
791 Saturation,
792};
793
796{
797 Unknown = 0,
798 Normal,
799 Multiply,
800 Screen,
801 Overlay,
802 Darken,
803 Lighten,
804 ColorDodge,
805 ColorBurn,
806 HardLight,
807 SoftLight,
808 Difference,
809 Exclusion,
810 Hue,
811 Saturation,
812 Color,
813 Luminosity,
814};
815
816enum class PdfSignatureType : uint8_t
817{
818 Unknown = 0,
819 PAdES_B = 1,
820 Pkcs7 = 2,
821};
822
824enum class [[deprecated("Use PdfSigningAlgorithm instead")]] PdfSignatureEncryption : uint8_t
825{
826 Unknown = 0,
827 RSA,
828 ECDSA,
829};
830
831enum class PdfSigningAlgorithm : uint8_t
832{
833 Unknown = 0,
834 RSA,
835 DSA,
836 ECDSA,
837 ML_DSA,
838 SLH_DSA,
839};
840
841enum class PdfHashingAlgorithm : uint8_t
842{
843 Unknown = 0,
844 SHA256,
845 SHA384,
846 SHA512,
847};
848
849using PdfFilterList = std::vector<PdfFilterType>;
850
851};
852
853ENABLE_BITMASK_OPERATORS(PoDoFo::PdfSaveOptions);
854ENABLE_BITMASK_OPERATORS(PoDoFo::PdfLoadOptions);
855ENABLE_BITMASK_OPERATORS(PoDoFo::PdfWriteFlags);
856ENABLE_BITMASK_OPERATORS(PoDoFo::PdfInfoInitial);
857ENABLE_BITMASK_OPERATORS(PoDoFo::PdfFontStyle);
858ENABLE_BITMASK_OPERATORS(PoDoFo::PdfFontCreateFlags);
859ENABLE_BITMASK_OPERATORS(PoDoFo::PdfFontAutoSelectBehavior);
860ENABLE_BITMASK_OPERATORS(PoDoFo::PdfFontMatchBehaviorFlags);
861ENABLE_BITMASK_OPERATORS(PoDoFo::PdfFontDescriptorFlags);
862ENABLE_BITMASK_OPERATORS(PoDoFo::PdfGlyphAccess);
863ENABLE_BITMASK_OPERATORS(PoDoFo::PdfTextExtractFlags);
864ENABLE_BITMASK_OPERATORS(PoDoFo::PdfAnnotationFlags);
865
893
894#endif // PDF_DECLARATIONS_H
Convenient type for char array storage and/or buffer with std::string compatibility.
Definition basetypes.h:30
All classes, functions, types and enums of PoDoFo are members of these namespace.
Definition basetypes.h:13
PdfLineJoinStyle
Enum for line join styles when drawing.
Definition PdfDeclarations.h:406
PdfPageLayout
Enum holding the supported of types of "PageLayouts" that define how Acrobat will display the pages i...
Definition PdfDeclarations.h:529
PdfAnnotationType
The type of the annotation.
Definition PdfDeclarations.h:566
PdfPageSize
Enum holding the supported page sizes by PoDoFo.
Definition PdfDeclarations.h:494
PdfPixelFormat
Definition PdfDeclarations.h:349
@ BGRA
This is known to be used in Windows GDI Bitmap.
@ ABGR
This is known to be used in JDK BufferedImage.TYPE_4BYTE_ABGR.
@ RGBA
This is known to be working in Apple CGImage created with rgb colorspace and kCGBitmapByteOrder32Big ...
PdfInfoInitial
Enum to specify the initial information of the info dictionary.
Definition PdfDeclarations.h:389
@ WriteCreationTime
Write the creation time (current time). Default for new documents.
@ WriteModificationTime
Write the modification time (current time). Default for loaded documents.
@ WriteProducer
Write producer key. Default for new documents.
PdfPageMode
Enum holding the supported of types of "PageModes" that define which (if any) of the "panels" are ope...
Definition PdfDeclarations.h:514
PdfGlyphAccess
When accessing a glyph, there may be a difference in the glyph ID to retrieve the widths or to index ...
Definition PdfDeclarations.h:301
@ ReadMetrics
The glyph is accessed in the PDF metrics arrays (/Widths, /W keys)
@ FontProgram
The glyph is accessed in the font program.
PdfBlendMode
List of defined transparency blending modes.
Definition PdfDeclarations.h:796
PdfFontFileType
Definition PdfDeclarations.h:276
@ Type1CFF
Compact Font representation for a Type1 font, as described by Adobe Technical Note #5176 "The Compact...
@ CIDKeyedCFF
A Compact Font representation of a CID keyed font, as described by Adobe Technical Note #5176 "The Co...
@ OpenTypeCFF
OpenType font with a "CFF"/"CFF2" table, as described in ISO/IEC 14496-22.
PdfLoadOptions
Definition PdfDeclarations.h:468
@ LoadStreamsEagerly
Skip rebuilding object index on cross reference sections parsing failing.
@ StrictParsing
Load object streams immediately after parsing cross references sections.
PdfSignatureEncryption
Definition PdfDeclarations.h:825
PdfStrokeStyle
Enum for the different stroke styles that can be set when drawing to a PDF file (mostly for line draw...
Definition PdfDeclarations.h:378
PdfDataType
Every PDF datatype that can occur in a PDF file is referenced by an own enum (e.g.
Definition PdfDeclarations.h:152
@ String
String datatype in PDF file. Strings have the form (Hallo World!) in PDF files.
@ Dictionary
A dictionary associates keys with values. A key can have another dictionary as value.
@ Array
An array of other PDF data types.
@ Name
Name datatype. Names are used as keys in dictionary to reference values.
@ Reference
The reference datatype contains references to PDF objects in the PDF file of the form 4 0 R.
@ Real
Real datatype for floating point numbers.
@ Number
Number datatype for integer values.
@ Null
The null datatype is always null.
@ Bool
Boolean datatype: Accepts the values "true" and "false".
@ RawData
Raw PDF data.
PdfRenderingIntent
List of defined Rendering intents.
Definition PdfDeclarations.h:786
PdfStringCharset
Definition PdfDeclarations.h:106
@ PdfDocEncoding
UTF-8 string that have characters that are in the whole PdfDocEncoding charset.
@ Ascii
UTF-8 string that have characters that are in both Ascii and PdfDocEncoding charsets.
@ Unicode
UTF-8 string that have characters that are in the whole Unicode charset.
PdfFieldType
The type of PDF field.
Definition PdfDeclarations.h:619
constexpr PdfVersion PdfVersionDefault
The default PDF Version used by new PDF documents in PoDoFo.
Definition PdfDeclarations.h:76
PdfHorizontalAlignment
Enum for text alignment.
Definition PdfDeclarations.h:422
@ None
Do not add a default appearance.
PdfExportFormat
Definition PdfDeclarations.h:224
@ Png
NOTE: Not yet supported.
PdfFontAutoSelectBehavior
Flags to control font creation.
Definition PdfDeclarations.h:308
@ Standard14Alt
Automatically select a Standard14 font if the fontname matches one of them (standard and alternative ...
@ Standard14
Automatically select a Standard14 font if the fontname matches one of them.
PdfAppearanceType
Type of the annotation appearance.
Definition PdfDeclarations.h:655
@ Down
Down appearance; the default is PdfAnnotationAppearance::Normal.
@ Rollover
Rollover appearance; the default is PdfAnnotationAppearance::Normal.
PdfWriteFlags
Specify additional options for writing the PDF.
Definition PdfDeclarations.h:136
@ Clean
Create a PDF that is readable in a text editor, i.e. insert spaces and linebreaks between tokens.
@ NoInlineLiteral
Don't write spaces before literal types (numerical, references, null)
@ PdfAPreserve
Preserve PDFA compliance during writing (NOTE: it does not itself convert the document to PDF/A)
@ SkipDelimiters
Skip delimiters in serialization of strings and outer dictionaries/arrays.
PdfLineCapStyle
Enum for line cap styles when drawing.
Definition PdfDeclarations.h:398
PdfHighlightingMode
The possible highlighting modes for a PdfField.
Definition PdfDeclarations.h:638
@ InvertOutline
Invert the fields border.
@ Invert
Invert the PdfField.
@ Push
Display the fields down appearance (requires an additional appearance stream to be set)
PdfTextExtractFlags
Definition PdfDeclarations.h:184
@ ComputeBoundingBox
NOTE: Currently the bounding is inaccurate.
@ ExtractSubstring
NOTE: Extract the matched substring.
PdfFontCreateFlags
Font init flags.
Definition PdfDeclarations.h:316
@ DontEmbed
Do not embed font data. Not embedding Standard14 fonts implies non CID.
@ DontSubset
Don't subset font data (includes all the font glyphs)
@ PreferNonCID
Prefer non CID, simple fonts (/Type1, /TrueType)
PdfEncodingMapType
Definition PdfDeclarations.h:114
@ Simple
A legacy encoding, such as predefined, Type1 font built-in, or difference.
@ Indeterminate
Indeterminate map type, such as non standard identity encodings.
@ CMap
A proper CMap encoding or pre-defined CMap names.
PdfAnnotationFlags
Flags that control the appearance of a PdfAnnotation.
Definition PdfDeclarations.h:603
PdfFilterType
Every filter that can be used to encode a stream in a PDF file is referenced by an own enum value.
Definition PdfDeclarations.h:209
@ RunLengthDecode
Run length decode data.
@ ASCII85Decode
Converts to and from Ascii85 encoding.
@ ASCIIHexDecode
Converts data from and to hexadecimal. Increases size of the data by a factor of 2!
@ FlateDecode
Compress data using the Flate algorithm of ZLib. This filter is recommended to be used always.
PdfSaveOptions
Definition PdfDeclarations.h:429
@ NoMetadataUpdate
Don't update the trailer "/Info/ModDate" with current time and synchronize XMP metadata "/Catalog/Met...
@ ForceXRefTable
Force writing a legacy XRef table.
@ SaveOnSigning
Save the document on a signing operation, instead of performing an incremental update.
@ ForceXRefStream
Force writing an XRef stream, which requires PDF 1.5.
@ IgnoreXRefErrors
This currently applies only during singing, and allows to sign documents with broken xref sections.
PdfOperator
List of PDF stream content operators.
Definition PdfDeclarations.h:690
PdfFontStyle
Font style flags used during searches.
Definition PdfDeclarations.h:289
PdfTextRenderingMode
Enum for text rendering mode (Tr)
Definition PdfDeclarations.h:364
@ StrokeAddToClipPath
Stroke text and add to path for clipping.
@ AddToClipPath
Add text to path for clipping.
@ Invisible
Neither fill nor stroke text (invisible)
@ FillStroke
Fill, then stroke text.
@ Fill
Default mode, fill text.
@ FillAddToClipPath
Fill text and add to path for clipping.
@ FillStrokeAddToClipPath
Fill, then stroke text and add to path for clipping.
PdfFontType
Enum specifying the type of the font.
Definition PdfDeclarations.h:266
@ CIDCFF
This is a "/CIDFontType0" font.
@ CIDTrueType
This is a "/CIDFontType2" font.
PdfColorSpaceType
Enum for the colorspaces supported by PDF.
Definition PdfDeclarations.h:333
PdfVerticalAlignment
Enum for vertical text alignment.
Definition PdfDeclarations.h:414
PdfFontDescriptorFlags
Enum for the font descriptor flags.
Definition PdfDeclarations.h:233
@ NonSymbolic
Font uses the Standard Latin character set or a subset of it. It does not mean the font uses only tex...
@ Italic
Glyphs have dominant vertical strokes that are slanted.
@ ForceBold
Determine whether bold glyphs shall be painted with extra pixels even.
@ Symbolic
Font contains glyphs outside the Standard Latin character set. It does not mean the font is a symbol ...
@ FixedPitch
Also known as monospaced.
PdfLogSeverity
Used in PoDoFo::LogMessage to specify the log level.
Definition PdfDeclarations.h:49
@ Debug
Debug information.
@ Information
Information message.
PdfPredefinedEncodingType
Definition PdfDeclarations.h:121
@ PredefinedCMap
A predefined CMap, see ISO 32000-2:2020 "9.7.5.2 Predefined CMaps".
@ IdentityCMap
A predefined identity CMap that is either "Identity-H" or "Identity-V".
@ LegacyPredefined
A legacy predefined encoding, such as "WinAnsiEncoding", "MacRomanEncoding" or "MacExpertEncoding".
PdfFontMatchBehaviorFlags
Definition PdfDeclarations.h:324
@ NormalizePattern
Normalize search pattern, removing subset prefixes like "ABCDEF+" and extract flags from it (like ",...
@ SkipMatchPostScriptName
Skip matching postscript font name.
PdfVersion
Enum to identify different versions of the PDF file format.
Definition PdfDeclarations.h:61