Show Menu
TOPICS×

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](../../../../../is-api/image-catalog/image-serving-api-ref/c-image-catalog-reference/c-attributes-reference/r-synthesizefontstyles.md#reference-1b12ba881b9146c793bcb07407cacb15) .)
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 \i require 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 [www.photofont.com](http://www.photofont.com) for additional information.