SFM(3)

NAME
setfontmode

SYNOPSIS
#include <panda.h>

void setfontmode(pdf *, int mode);

DESCRIPTION
The function setfontmode sets the text drawing method to be used for text within text boxes. The default mode is gTextModeNormal, and possible modes are: gTextModeNormal
gTextModeOutline
gTextModeFilledOutline
gTextModeInvisible
gTextModeFillClipped
gTextModeStrokeClipped
gTextModeFillStrokeClipped
gTextModeClipped Modes once set are 'sticky' and therefore apply to all text boxes created after the mode is set. You will therefore need to change mode back (possibly to the default) if you no longer want to draw in that mode.

MODES
To be completed
    Definitions of each mode and what it looks like on paper should be added here.

EXAMPLE
Simply use:
    #include <panda.h>
    pdf *document;
    document = openpdf("filename", "w");
    setfontmode(document, gTextModeNormal);

AUTHOR
Panda is under development by Michael Still (mikal@stillhq.com). All code is Copyright Michael Still 2000, and is released under the GPL. Code submissions are welcomed. Contact Michael at the address above if you have something you would like to contribute.

BUGS
There are no known bugs in Panda. If you find one, please contact mikal@stillhq.com and let me know.

VERSION
This information relates to version 0.2 of Panda