Fonts
DynamicPDF Cloud API supports several core fonts and also allows adding custom fonts to your DynamicPDF cloud storage space. DynamicPDF Cloud API supports the 14 core fonts present in all PDF readers and supports embedding OpenType (TrueType), Type 1 fonts, Web Fonts (WOFF) version 1.0 and TrueType Collections (TTC) in a PDF document. DynamicPDF Cloud API also supports Google Fonts.
Core Fonts
Designer supports the following core fonts.
- Courier, Courier Bold, Courier Oblique, Courier Bold-Oblique
- Helvetica, Helvetica Bold, Helvetica Oblique, Helvetica Bold-Oblique
- Times Roman, Times Bold, Times Italic, Times Bold-Italic
- Symbol
- Zapf Dingbats
- Hanyang Systems Gothic Medium
- Heisei Mincho W3
- Monotype Hei Medium
- Monotype Sung Light
- Sino Type Song Light
For more on using Fonts on the web, refer to CSS Web Safe Fonts by W3 Schools. For more on using Adobe fonts, refer to Font embedding and substitution.
Google Fonts
Designer supports Google Fonts.
Adding Google Font Example
Designer supports adding a Google Font through the font property. To add a Google Font,
- click ... to open the Font Selector dialog,
- select
Google
from the Type dropdown, - select the particular font from the Subset list,
- select the desired style from the Styles list,
- click Select to select the font.
Embedding Fonts
Although Designer supports numerous fonts, the following fonts Requiring Embedding.
- OpenType (TrueType)
- Type1
- Web Open Font Format v1 (WOFF)
- TrueType Collections (TTC)
Adding Font Example
Designer supports adding custom fonts to a DLEX through the top-level Document.
- Select anywhere outside the page or report (the grey area).
- In the Document Properties you can change the fontFamilies or openTypeFonts property.
Add a font by performing the following steps.
- Add the font to your desired location in your DynamicPDF Cloud API cloud storage.
- Select Edit... from the openTypeFonts property to open the Fonts Editor.
- Provide a name and the relative path to the font.
- Select the Add Font button to add the font, and then select Close.
The font can now be used anywhere within the document. For example, to use the font in a Label layout element, you would select myFont
(or the font name you provided for your custom font) from the font property list.
Upon creating the report, the label's text will be in the custom font.