HPlogo HP Xlib Extensions: > Chapter 2 Font Extensions

Changing Font Boldness

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

The user can specify that the font be bolder (darker) or less bold (lighter) than the normal for that typeface. The syntax for this extension is:

Weight_Name±horiz_value±vert_value

where:

Title not available (Changing Font Boldness )

horiz_value

The increase(+) or decrease(_) in boldness in the horizontal direction, specified in 1/100 of a percent.

vert_value

The increase(+) or decrease(_) in boldness in the vertical direction, specified in 1/100 of a percent.

If only one delta and value are supplied, they apply to both directions.

The ability to change font boldness is currently supported only for Agfa Intellifont scalable fonts. This enhancement is ignored for Type 1 fonts and scaled bitmaps.

© 1995 Hewlett-Packard Development Company, L.P.