PDFlib
PDFlib

Fonts and Encodings

barcode_font

Output text in a barcode font.

character_references

Demonstrate the usefulness of character references, using a suitable font.

escape_sequences

Use escape sequences in text lines to output octal or hexadecimal values.

font_info

Get various properties of a font such as font name, font style, or encoding.

font_metrics_info

Get various font related metrics such as the ascender or descender.

font_resources

Configure font resources and search for fonts.

glyph_availability

Check the availability of glyphs in a font.

glyph_replacement

Show the effects of glyph substitution in case of glyphs missing in the font.

opentype_features_for_cjk

Demonstrate the use of OpenType features for CJK fonts and text.

opentype feature tester

Demonstrate all supported typographic OpenType features after checking whether a particular feature is supported in a font.

retain_font

Performance benefits of keeping a font open across multiple documents.

simulated_fontstyles

Create simulated italic or bold text output.

starter_fallback

Starter sample for fallback fonts

starter_opentype

Demonstrate various typographic OpenType features

starter_type3font

Create a simple Type 3 font from vector data.

type3_bitmaptext

Create a simple Type 3 font from image data.

type3_rasterlogo

Create a Type 3 font which contains a single logo derived from an image.

type3_subsetting

Demonstrate Type 3 font definition, use, and subsetting.

type3_turkish_character

Create a Type 3 font by cloning another font and adding a further glyph

type3_vectorlogo

Create a Type 3 font which contains a single logo derived from a vector based PDF page.