For value options see PDOptions.
typedef
ASUns8
PDFontStyle
;
| |
const char * name ; | The font name.
|
const char * encoding ; | The font encoding.
|
const char * cidFontName ; | CID font name.
|
Gothic or Mincho.
| |
Roman, Italic, Bold, or BoldItalic.
| |
Set to
true if glyphs from this component are used. | |
Set to
true if this component is emmitted. | |
Baseline adjustment.
| |
Flags bits.
| |
|
| |
The number of fonts in
arr . | |
Whether to use the Display CT Font.
| |
The font array.
| |
|
EmitGlyphsIncr
callback procedure for the PDPrintClient structure. ASBool
PDFontPSEmitGlyphsIncr(
ASStm
stm
,
PDFont
fontP
,
PDPrintStrP
srcStr
,
PDPrintStrP
dstStr
,
ASUns32
*
srcBytesUsedP
,
ASUns32
*
dstBytesUsedP
,
ASUns32
*
glyphCount
,
ASUns16
*
fontIndexP
,
PDPrintClient
printClient
);
stm | The stream.
|
fontP | The font.
|
srcStr | The source string.
|
dstStr | The destination string.
|
srcBytesUsedP | The source bytes used.
|
dstBytesUsedP | The destination bytes used.
|
glyphCount | The number of glyphs.
|
fontIndexP | The font index.
|
printClient | The control structure.
|
FlushIncrGlyphList
callback procedure for the PDPrintClient structure. void
PDFontPSFlushIncrGlyphList(
ASStm
stm
,
PDPrintClient
printClient
);
stm | The stream.
|
printClient | The control structure.
|
GetComponentFontList
callback procedure for the PDPrintClient structure. void
PDFontPSGetComponentFontList(
PDFont
fontP
,
PDPrintFontArrayP
pdFontArr
,
PDPrintClient
printClient
);
fontP | The font.
|
pdFontArr | The font array.
|
printClient | The control structure.
|
Emits a font into a specified stream. The font is in a format suitable for downloading to a PostScript VM. For example, a TrueType font is converted into a Type 1 or Type 42 font.
It is meant for use in the EmitFont
callback for PDDocPrintPages().
ASBool
PDFontStreamPS(
PDFont
fontP
,
ASStm
stm
,
PDFontDownloadContext
context
);
fontP | The font to emit.
|
stm | The ASStm into which the font is emitted.
|
context | A context created by PDFontDownloadContextCreate.
|
ASBool
PDFontWasExtracted(
PDFont
fontP
);
fontP | The font to test.
|
Tests whether the specified font is embedded in the PDF file or is installed in the user's system. If this is the case, the correct font can be used for display and printing.
If the font is not embedded or installed, the Acrobat viewer has used a Multiple Master font to create a substitute font, called a faux font.
ASBool
PDFontWasFauxed(
PDFont
font
);
font | The font to test.
|