12#ifndef _PDF_FONT_DESCRIPTION_H_
13#define _PDF_FONT_DESCRIPTION_H_
52 const wxString& fontBBox,
int italicAngle,
int stemV,
53 int missingWidth,
int xHeight,
54 int underlinePosition,
int underlineThickness,
55 int hheaAscender = 0,
int hheaDescender = 0,
int hheaLineGap = 0,
56 int os2sTypoAscender = 0,
int os2sTypoDescender = 0,
int os2sTypoLineGap = 0,
57 int os2usWinAscent = 0,
int os2usWinDescent = 0);
126 void SetFontBBox(
const wxString& fontBBox) { m_fontBBox = fontBBox; };
218 void SetOpenTypeMetrics(
int hheaAscender,
int hheaDescender,
int hheaLineGap,
219 int os2sTypoAscender,
int os2sTypoDescender,
int os2sTypoLineGap,
220 int os2usWinAscent,
int os2usWinDescent);
234 void GetOpenTypeMetrics(
int* hheaAscender,
int* hheaDescender,
int* hheaLineGap,
235 int* os2sTypoAscender,
int* os2sTypoDescender,
int* os2sTypoLineGap,
236 int* os2usWinAscent,
int* os2usWinDescent);
272 int m_underlinePosition;
273 int m_underlineThickness;
278 int m_os2sTypoAscender;
279 int m_os2sTypoDescender;
280 int m_os2sTypoLineGap;
281 int m_os2usWinAscent;
282 int m_os2usWinDescent;
Class representing a font description.
Definition: pdffontdescription.h:24
int GetUnderlineThickness() const
Get underline thickness.
Definition: pdffontdescription.h:204
void SetDescent(int descent)
Set descender.
Definition: pdffontdescription.h:90
void SetUnderlineThickness(int underlineThickness)
Set underline thickness.
Definition: pdffontdescription.h:198
void SetFontWeight(wxPdfFontWeight fontWeight)
Set font weight.
Definition: pdffontdescription.h:254
void SetItalicAngle(int italicAngle)
Set italic angle.
Definition: pdffontdescription.h:138
void SetMissingWidth(int missingWidth)
Set missing character width.
Definition: pdffontdescription.h:162
void SetFlags(int flags)
Set font flags.
Definition: pdffontdescription.h:114
int GetDescent() const
Get descender.
Definition: pdffontdescription.h:96
int GetStemV() const
Get StemV.
Definition: pdffontdescription.h:156
int GetFontStyle() const
Get font style.
Definition: pdffontdescription.h:248
int GetAscent() const
Get ascender.
Definition: pdffontdescription.h:84
int GetUnderlinePosition() const
Get underline position.
Definition: pdffontdescription.h:192
int GetMissingWidth() const
Get missing character width.
Definition: pdffontdescription.h:168
void SetAscent(int ascent)
Set ascender.
Definition: pdffontdescription.h:78
wxString GetFontBBox() const
Get font bounding box.
Definition: pdffontdescription.h:132
void SetXHeight(int xHeight)
Set xHeight.
Definition: pdffontdescription.h:174
void SetStemV(int stemV)
Set StemV.
Definition: pdffontdescription.h:150
void SetFontBBox(const wxString &fontBBox)
Set font bounding box.
Definition: pdffontdescription.h:126
void SetFontStyle(int fontStyle)
Set font style.
Definition: pdffontdescription.h:242
void SetUnderlinePosition(int underlinePosition)
Set underline position.
Definition: pdffontdescription.h:186
int GetItalicAngle() const
Get italic angle.
Definition: pdffontdescription.h:144
void SetCapHeight(int capHeight)
Set CapHeight.
Definition: pdffontdescription.h:102
int GetCapHeight() const
Get CapHeight.
Definition: pdffontdescription.h:108
int GetXHeight() const
Get xHeight.
Definition: pdffontdescription.h:180
wxPdfFontWeight GetFontWeight() const
Get font weight.
Definition: pdffontdescription.h:260
int GetFlags() const
Get font flags.
Definition: pdffontdescription.h:120
Compile time switches for the wxPdfDocument component.
Interface of the several wxPdfDocument property classes.
wxPdfFontWeight
Font weights.
Definition: pdfproperties.h:105