.TH "PS_BEGIN_FONT" "3" .SH "NAME" PS_begin_font \(em Starts a new Type3 font .SH "SYNOPSIS" .PP #include .PP int PS_begin_font(PSDoc *psdoc, const char *fontname, int reserverd, double a, double b, double c, double d, double e, double f, const char *optlist) .SH "DESCRIPTION" .PP PostScript supports various kinds of fonts. Type3 fonts are fonts whose glyphs are created with a subset of regular PostScript commands. This function starts a new Type3 font embedded into the document which must be closed with \fBPS_end_font\fP. Each glyph is created with consecutive calls of \fBPS_end_glyph\fP and \fBPS_end_glyph\fP. Once the new font is created, it can be used like any other font loaded with \fBPS_findfont\fP. The passed floating point numbers are used to set the font matrix. \fBa\fR and \fBd\fR are usually set to 0.001. The remaining numbers can be left zero. .PP Each call of \fBPS_begin_font\fP must be accompanied by a call to \fBPS_end_pattern(3)\fP. .PP \fBPS_begin_font\fP has been introduced in version 0.4.0 of pslib. .SH "RETURN VALUE" .PP Returns identifier of the font or zero in case of an error. The identifier is a positiv number greater 0. .SH "SEE ALSO" .PP PS_end_font(3), PS_begin_glyph(3), PS_end_glyph(3) .SH "AUTHOR" .PP This manual page was written by Uwe Steinmann uwe@steinmann.cx. .\" created by instant / docbook-to-man