logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

PS_symbol_width — Get width of a glyph

Author

       This manual page was written by Uwe Steinmann uwe@steinmann.cx.

                                                                                              PS_symbol_width(3)

Description

       Retrieves  the width of a glyph which is at position c in the font encoding vector. The font encoding for
       a font can be set when loading the font with PS_findfont().

       fontid and size are optional and can be set to zero. In such a case the current font  and  size  will  be
       used.

Name

       PS_symbol_width — Get width of a glyph

Return Value

       The width of the symbol in points.

See Also

PS_findfont(3), PS_symbol(3), PS_symbol_name(3)

Synopsis

       #include <pslib.h>

       float PS_symbol_width(PSDoc *psdoc, unsigned char c, int fontid, float size)

See Also