The Adobe C/C++ EmbedFonts sample illustrates both embedding and subsetting a font. The difficult part is creating the font. You must use one of the font creation methods that include the PDEFontCreateFlags: PDEFontCreateFromSysFont()... Read More
APDFL: Fonts and CMAPS
The Adobe C/C++ Interface has a function called PDDocReplaceUnembeddedSimpleFonts(). This method, declared in the header file DLExtrasCalls.h, allows you to replace an unembedded simple font (Type 1, TrueType, and OpenType, not OCF) referenced in a... Read More
When your APDFL Adobe C/C++ application starts, it will call the PDFLInitHFT() method to begin the initialization process for the Library. When the Library initializes it compiles a list of all its available resources. In particular it identifies the... Read More
The last parameter of DLI's dlpdffontcreateembedded or dlpdffontcreatewithmetricsembedded calls, both used to embed fonts in a PDF document, is the Subset flag. This flag specifies whether you want the entire font embedded in the PDF document,... Read More
The PDF format includes a set of 14 standard fonts that can be used without prior definition. APDFL can set text using the base 14 fonts, even if the fonts do not exist on the local system. For the Adobe C/C++ interface, don't use... Read More
On Unix based machines, the Adobe PDF Library looks for font resources in a few default directories: /usr/lib/X11/fonts /usr/local/X11R6/lib/X11/fonts /usr/share/X11/fonts /usr/share/fonts When using the Adobe C/C++ interface: To specify a... Read More
A bookmark in a PDF document labels a place within the PDF document to serve as a destination, usually a heading or a graphic. After you add a bookmark, you can create a hyperlink elsewhere in the same PDF document and connect it to that bookmark.... Read More
When using a function or object to print PDF files, you might sometimes see the print job fail, where some or all of the fonts are missing. If you embed all of the fonts in a PDF document, it can be sent to any printer, on any system. The speed of... Read More
If you want to use a font that only offers a normal typeface—not bold, not italic—you can simulate bold by setting the same string several times at almost the same location, offset slightly such that the character would be imprinted twice... Read More
A QR code can be generated with APDFL Adobe C/C++ interface from a string using the PDPageAddQRBarcode() function. This functionality is exposed in the modern C++ interface as add_qr_barcode(), and in the .Net and Java interfaces as the AddQRCode... Read More