HPlogo HP Xlib Extensions: > Chapter 2 Font Extensions

Changing Horizontal Size

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

The horizontal size of a font can be changed to make it wider or narrower than normal for that font. Either PixelSize or PointSize can be used for this purpose. But using both PixelSize and PointSize is likely to result in an error because of a conflict between the two specifications.

The user can expand the horizontal size (pixel width) to make a font wider or narrower than normal for that font. The syntax for this extension is:

PixelSize+pixelwidth

where

Title not available (Changing Horizontal Size )

pixelwidth

The design width of the font, in pixels. If pixelwidth is not specified, the design width is assumed to be the same as PixelSize.

The user can expand the horizontal size (set size) to make a font wider or narrower than normal for that font. The syntax for this extension is:

PointSize+setsize

where:

Title not available (Changing Horizontal Size )

setsize

The set size in decipoints. If setsize is not specified, the set size is assumed to be the same as PointSize.

If neither PixelSize nor PointSize is specified, 12-point is used. If both are specified and they conflict, an error is returned. Use either PixelSize or PointSize, but not both.

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