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.

Figure 1. DynamicPDF Cloud API supported fonts.

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.

Figure 2. Google Fonts support in Designer.

Adding Google Font Example

Designer supports adding a Google Font through the font property. To add a Google Font,

Figure 3. Adding a Google Font to a cover page in Designer.

Embedding Fonts

Although Designer supports numerous fonts, the following fonts Requiring Embedding.

Adding Font Example

Designer supports adding custom fonts to a DLEX through the top-level Document.

Figure 4. Modify fontFamilies or openTypeFonts properties for a Document.

Add a font by performing the following steps.

Figure 2. Adding the Getaway-voaA.otf font (an opensource font found on the web) to the creating-a-page-designer sample project.

Figure 5. Adding a font to a Document.

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.

Figure 6. Adding a custom font to a Label layout element.

Upon creating the report, the label's text will be in the custom font.

In this topic