PDF::API2::Basic::TTF::Utils - Utility functions to save fingers


NAME

PDF::API2::Basic::TTF::Utils - Utility functions to save fingers


DESCRIPTION

Lots of useful functions to save my fingers, especially for trivial tables


FUNCTIONS

The following functions are exported

($val, $pos) = TTF_Init_Fields ($str, $pos)

Given a field description from the DATA section, creates an absolute entry in the fields associative array for the class

$f
Font to work with. This is required.

$cmap
A cmap table (not the 'val' sub-element of a cmap) to add the glyph too. Optional.

$dia
Optional diameter for the main circle. Defaults to 80% em

$sb
Side bearing. The left and right side-bearings are always the same. This value defaults to 10% em.

There are various options to control all sorts of interesting aspects of the circle

numDots
Number of dots in the circle

numPoints
Number of curve points to use to create each dot

uid
Unicode reference to store this glyph under in the cmap. Defaults to 0x25CC

pname
Postscript name to give the glyph. Defaults to uni25CC.

-dRadius
Radius of each dot.


BUGS

No known bugs


AUTHOR

Martin Hosken Martin_Hosken@sil.org. See the PDF::API2::Basic::TTF::Font manpage for copyright and licensing.

 PDF::API2::Basic::TTF::Utils - Utility functions to save fingers