Font Embedding

<< Click to Display Table of Contents >>

Navigation:  Reference > Project Configuration Settings > Publishing Options > Adobe PDF >

Font Embedding

If the fonts you use in your PDF document are not installed on the user's computer your document may not be displayed correctly, because substitute fonts will be used. You can solve this problem by embedding the fonts in your PDF document, but this can increase the size of your document considerably, particularly if you are using Unicode-based languages like Asian languages.

If you need to keep your PDF files as small as possible it is advisable to only use standard fonts like Arial and Times Roman that will be installed on all users' computers. You can then reduce the PDF file size by adding these fonts to the exclusion list and by embedding only font subsets of the characters used in your project (see below). This is often not possible for languages with special character sets, particularly Asian languages.

Problems in font rendering: check the PDF printer driver!

If your fonts are rendered with strange spacing and seemingly incorrect characters the problem is generally the reference printer driver used for generating PDFs. See here for information.

Recommendation for Asian languages and other languages with special character sets

In general you should always embed fonts for languages with special character sets, like Russian, Greek and Asian languages in particular. If you experience problems with the normal embedding modes, try the option for Type 3 fonts, even if you are not using Type 3 fonts in your project. Help+Manual will then embed the fonts in Type 3 mode, and this often solves problems, particularly in documents where Asian languages are mixed with text using the English alphabet.

It is generally best not to use CID font embedding for these languages. See CID font embedding in the PDF chapter for more details.


Embedding fonts:

If you must embed fonts you can reduce the size of your PDF files by selecting the right embedding option.

Embed TrueType fonts embeds all TrueType fonts except the fonts you add to the exclusion list (see below).

Embed symbol fonts only embeds fonts like Symbol and Wingdings. This ensures that special characters that depend on these fonts will be displayed correctly. Other fonts not found on the user's computers will be substituted with available similar fonts.

Use Base 14 Type1 fonts tells Acrobat to substitute its own built-in fonts. This switches off font embedding and will work adequately if your fonts are similar enough to the Base 14 fonts (Times/Mac or Times New Roman PS MT /Win; Helvetica/Mac or Arial MT/Win; Courier, Symbol, and Zapf Dingbats, each with regular, bold, italic or oblique, and bold italic styles).

Embed TrueType subset only embeds the code pages of the TrueType fonts that are actually used in your project.

Embed TrueType subset (used characters only) saves even more space by only embedding the characters that are actually used in your project. Note that this can slow down publishing considerably with larger projects.

Embed Type 3 Fonts is fur using Adobe Type 3 fonts instead of TrueType.

Embed CID Fonts generates virtual fonts in the PDF that are encoded with CIDs (Character IDs). In some documents this can provide better rendering. However, this option may not be optimal for special character sets like Russian, Greek and Asian languages. With these fonts, you will often find that CID fonts look good but the PDF file is very large and the text cannot be selected or searched. See CID font embedding in the PDF chapter for more details.

Do not embed these fonts:

If you choose Embed TrueType fonts you can reduce the size of your output file by excluding all the common fonts that all users are likely to have installed on their computers.

All the fonts you add to this list will not be embedded in your output file.

Optimize embedded fonts for cross-platform:

This option can improve the rendering of fonts in different PDF readers on multiple platforms.

Export text as glyphs:

This converts every character in the PDF to a tiny graphic. This will produce accurate character rendering but the PDF file will be much larger. Also, text will not be selectable or searchable because the content is graphics, not text.

Generally, this is a last-ditch option when you urgently need to produce a presentable PDF document and don't have time to deal with other issues.

About CID font embedding:

The Embed CID Fonts option in Configuration > Publishing Options > Adobe PDF > Font Embedding is a rather esoteric technology that can reduce the size of your PDF and improve font rendering.

When you activate Embed CID Fonts the characters actually used in the project are embedded in the PDF file as "virtual" fonts, using a special internal format and CID (Character ID) encoding of the characters.

This only works with fonts that actually contain all the characters you need to display. If you select a normal western font like Trebuchet that does not contain the characters for the language you are using you will have problems. The text will automatically be rendered as graphical glyphs because the characters are not available, which will make your PDF files huge. Also, it will not be possible to select or copy text from the PDF, because it does not contain text, only graphics.

Effectively, this means that Embed CID Fonts only works with Unicode fonts that contain the full Unicode character set!

See CID font embedding in the PDF chapter for more details.

See also:

Customize - PDF Export

CID Font embedding

PDF and Printed Manuals