


PDFKIT ITALIC PDF
This indicates which font file to use when no explicit entry has been found for a particular PDF font name. Next to a number of explicit font mapping, the font substitution map contains a DefaultSubstitutionFont property.
PDFKIT ITALIC WINDOWS
This means that we will first look in the current folder and then in the Windows fonts folder. The default value for the search path is “. If a relative file name is specified for a font name, the specified folders are searched from left to right until the font file is found. It contains a list of folders that are separated by semi-colons. This path is stored in the FontSearchPath property of the TextRenderSettings class. Font search pathĪs a convenience, font files can be specified relative to a font search path. The PDF font name is the first line of each entry above. If you open the PDF document using the Adobe PDF Reader and hit CTRL+D and then go to the Fonts tab, you may see the following fonts listed: The font substitution map contains entries that map PDF font names to font files. It is also possible to refer to files that are located elsewhere. Often, one will refer to font files that are installed in the fonts folder of the system, but this is not mandatory.

This property applies to non-embedded fonts only and it allows PDF font names to be mapped to font definition files on your file system. The TextSettings contain a FontSubstitutionMap property. Central to controlling the rendering of text is the TextRenderSettings class which can be accessed through the RenderSettings.TextSettings property, which is present as a property on all viewers. Note that this technique also applies to fonts that are embedded in the document.īelow, we will have a look at the mechanisms that PDFControls.NET offers for dealing with this. To deal with this, it is advisable to substitute the referenced fonts by system fonts. This often works well on screen, but during printing it may lead to large spool files and (consequently) slow printing. Rendering a font as a collection of curved lines leads to a large number of low level GDI drawing instructions. This approach will give reasonable results in many common cases, but this will not always suffice. PDFControls.NET has its own default substitution scheme that is based on the font name. This process is called font substitution. In general this is done by selecting a font that is available on the system and that approximates the properties of the referenced font.
PDFKIT ITALIC HOW TO
In that case, the application will have to decide how to render the text. Fonts are sometimes not embedded, because they can add significantly to the file size. The PDF format does not require fonts to be embedded. There are two issues however that may need to be addressed by the application programmer. This leads to graphical output of high quality. The PDF format allows fonts to be embedded in a document, so that text can be reproduced faithfully on any machine independently of which fonts are installed on the client machine.īy default, PDFControls.NET will interpret these definitions and use this to render text as a number of (curved) lines that are filled with a particular color. The appearance of text in a PDF document is defined by its font.
