SL(3)

NAME
setfontsize

SYNOPSIS
#include <panda.h>

void setfontsize(pdf *, int size);

DESCRIPTION
The function setfontsize sets the text size, which is expressed in points. The font size, once set, is 'sticky' and therefore apply to all text boxes created after the text size is set. You will therefore need to change the text size back (possibly to the default) if you no longer want to draw with that leading. The default value is 16 points.

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

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