- HOW TO CHECK FONT EMBEDDING IN PDF HOW TO
- HOW TO CHECK FONT EMBEDDING IN PDF PDF
- HOW TO CHECK FONT EMBEDDING IN PDF CODE
HOW TO CHECK FONT EMBEDDING IN PDF PDF
When a PDF document contains fonts, which are not available in the document itself and on the device, API replaces these fonts with the default font.A font can be embedded only if it contains a setting by the font vendor that permits it to be embedded.
![how to check font embedding in pdf how to check font embedding in pdf](https://i.ytimg.com/vi/CSfyBNxv6FA/maxresdefault.jpg)
Save ( dataDir ) Set Default Font Name while Saving PDF Add ( fragment ) dataDir = dataDir + "EmbedFontWhileDocCreation_out.pdf" // Save PDF Documentĭoc. TextSegment ( " This is a sample text using Custom font." ) Aspose. Document () // Create a section in the Pdf objectĪspose. GetDataDir_AsposePdf_WorkingDocuments () // Instantiate Pdf object by calling its empty constructorĪspose.
HOW TO CHECK FONT EMBEDDING IN PDF CODE
Following is the code snippet that can be used to embed the font information into Pdf. Setting the value of this property to ‘True’ will embed the complete font file into the Pdf, knowing the fact that it will increase the Pdf file size. We use the property IsEmbedded of Font class to embed the font information into Pdf file. in case of the following code ‘Univers Condensed’ font is installed over the system. Please note the embedded font must be installed on the host machine i.e. If font information is not embedded, Adobe Reader will take it from the Operating System if it’s installed over the system, or it will construct a substitute font according to the font descriptor in the Pdf. If you need to use any font other than the 14 core fonts supported by Adobe Reader, you must embed the font description while generating the Pdf file. Save ( dataDir + "EmbeddedFonts-updated_out.pdf" ) Embedding Fonts while creating PDF Position of document's window - Default: falseĬonsole. GetDataDir_AsposePdf_WorkingDocuments () // Open documentĭocument pdfDocument = new Document ( dataDir + "GetDocumentWindow.pdf" ) // Get different document properties For complete examples and data files, please go to
HOW TO CHECK FONT EMBEDDING IN PDF HOW TO
The following code snippet shows you how to get the properties using Document class. The options are show thumbnails, full-screen, show attachment panel.
![how to check font embedding in pdf how to check font embedding in pdf](https://live.staticflickr.com/65535/48322010132_b42aba8a37.jpg)
This determines how pages are laid out when displayed side by side.
![how to check font embedding in pdf how to check font embedding in pdf](https://print24.com/de/blog/wp-content/uploads/2012/01/03.jpg)
This topic helps you understand how to get properties of the document window, viewer application, and how pages are displayed.
![how to check font embedding in pdf how to check font embedding in pdf](https://print24.com/de/blog/wp-content/uploads/2012/01/01.jpg)