PoDoFo 0.9.20
|
#include <PdfFontMetricsStandard14.h>
Inherits PoDoFo::PdfFontMetricsBase.
Public Member Functions | |
bool | HasUnicodeMapping () const override |
bool | TryGetGID (char32_t codePoint, unsigned &gid) const override |
double | GetLineSpacing () const override |
double | GetUnderlineThickness () const override |
double | GetUnderlinePosition () const override |
double | GetStrikeThroughPosition () const override |
double | GetStrikeThroughThickness () const override |
std::string_view | GetFontName () const override |
std::string_view | GetBaseFontName () const override |
std::string_view | GetFontFamilyName () const override |
void | GetBoundingBox (std::vector< double > &bbox) const override |
double | GetItalicAngle () const override |
double | GetAscent () const override |
double | GetDescent () const override |
double | GetCapHeight () const override |
double | GetStemV () const override |
unsigned | GetFontFileLength1 () const override |
unsigned | GetFontFileLength2 () const override |
unsigned | GetFontFileLength3 () const override |
Static Public Member Functions | |
static std::unique_ptr< PdfFontMetricsStandard14 > | Create (PdfStandard14FontType fontType) |
This is the main class to handle the Standard14 metric data.
|
static |
Create a Standard14 font metrics
fontObj | optionally try to read a /Widths entry from the supplied |
|
overridevirtual |
Get the ascent of this font in PDF units for the current font size.
Implements PoDoFo::PdfFontMetrics.
|
overridevirtual |
Get a semantical base name for the font that can be used to compose the final name, eg. from "AAAAAA+Arial,Bold" to "Arial"
Implements PoDoFo::PdfFontMetrics.
|
overridevirtual |
Create the bounding box vector in PDF units
bbox | write the bounding box to this vector |
Implements PoDoFo::PdfFontMetrics.
|
overridevirtual |
The vertical coordinate of the top of flat capital letters, measured from the baseline
Implements PoDoFo::PdfFontMetrics.
|
overridevirtual |
Get the descent of this font in PDF units for the current font size. This value is usually negative!
Implements PoDoFo::PdfFontMetrics.
|
overridevirtual |
Get the actual /FontFamily, eg. "Times", if available
Implements PoDoFo::PdfFontMetrics.
|
overridevirtual |
Get /Length1 value for the font file, if available
Implements PoDoFo::PdfFontMetrics.
|
overridevirtual |
Get /Length2 value for the font file, if available
Implements PoDoFo::PdfFontMetrics.
|
overridevirtual |
Get /Length3 value for the font file, if available
Implements PoDoFo::PdfFontMetrics.
|
overridevirtual |
Get the actual /FontName, eg. "AAAAAA+Arial,Bold", if available
By default returns empty string
Implements PoDoFo::PdfFontMetrics.
|
overridevirtual |
Get the italic angle of this font. Used to build the font dictionay
Implements PoDoFo::PdfFontMetrics.
|
overridevirtual |
Retrieve the line spacing for this font
Implements PoDoFo::PdfFontMetrics.
|
overridevirtual |
The thickness, measured horizontally, of the dominant vertical stems of glyphs in the font
Implements PoDoFo::PdfFontMetrics.
|
overridevirtual |
Return the position of the strikethrough for the current font size in PDF units
Implements PoDoFo::PdfFontMetrics.
|
overridevirtual |
Get the width of the strikethrough for the current font size in PDF units
Implements PoDoFo::PdfFontMetrics.
|
overridevirtual |
Return the position of the underline for the current font size in PDF units
Implements PoDoFo::PdfFontMetrics.
|
overridevirtual |
Get the width of the underline for the current font size in PDF units
Implements PoDoFo::PdfFontMetrics.
|
overridevirtual |
Determines if the metrics has a valid Unicode code point to gid map
Implements PoDoFo::PdfFontMetrics.
|
overridevirtual |
Try to retrieve the mapped gid from Unicode code point
Implements PoDoFo::PdfFontMetrics.