./setfont



       setfont


SYNOPSIS

       #include <panda.h>

       void setfont(pdf *, char *name);


DESCRIPTION

       The  function setfont sets the current font to be used for
       textboxes et cetera within the PDF file. The default  font
       is  Helvetica.  The  font  which  is  used is 'sticky' and
       therefore used for all subsequent text boxes until a  dif-
       ferent  font  is  selected. Please note that fonts are not
       normally embedded into the PDF document, so the display of
       the slected font relies on the font being available on the
       target system. There is also a  list  of  supported  fonts
       available from Adobe at http://www.adobe.com.


EXAMPLE

       Simply use:
              #include <panda.h>

              pdf *document;

              document = openpdf("filename", "w");
              setfont(document, "Helvetica");


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













Man(1) output converted with man2html