HPlogo HP Xlib Extensions: > Chapter 2 Font Extensions

Specifying a Character Subset

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

The user can specify that only certain characters from the character set be used in creating a font from the scalable typeface. The syntax for this extension is:

CharSetEncoding=value,value...

where:

Title not available (Specifying a Character Subset )

value

The character number, or range of character numbers, to be included in the font. A range of numbers is indicated by two numbers separated by a colon(:).

If an application requests a character not in the subset, then:

  • A space will be substituted for that character if space is in the subset.

  • The first character of the subset will be substituted if space is not in the subset.

NOTE: Subsetting will not work when specifying a Motif fontlist via resources.
© 1995 Hewlett-Packard Development Company, L.P.