Font handling

All fonts referenced in the RTF string must be available in the font map file of the default catalog or the current image catalog, otherwise an error is returned.

Best quality for italic and bold-face text is achieved by registering the corresponding font files. If not available, the server can synthesize bold and/or italic font faces from the standard face. (See attribute::SynthesizeFontStyles.

The font face specified with attribute::DefaultFont is used when none are specified explicitly in the RTF string.

Image Serving supports TrueType, OpenType, Adobe Type 1 (Windows only) fonts.

Photofont® font support

textPs= supports Photofont® fonts, with the following restrictions:

  • \cf is ignored in text spans that specify a Photofont font; Photofont font faces have predefined colors

  • Synthesized font styles are not supported; use of \b and \irequire corresponding font map entries, otherwise an error is returned

  • Vertical text flow is not supported

  • Photofont fonts with 16 bit images are not supported

  • Photofont fonts with multiple glyphs per image are not supported

  • Naïve color conversion is applied unless the Photofont glyph images embed color profiles; in this case, relative colorimetric render intent and blackpoint compensation are always applied

Refer to for additional information.

See also

Font Map Reference, attribute::SynthesizeFontStyles, attribute::DefaultFont,

On this page