#include <PdfFontTrueTypeSubset.h>
This class is able to build a new TTF font with only certain glyphs from an existing font.
◆ BuildFont()
| void PdfFontTrueTypeSubset::BuildFont |
( |
std::string & | output, |
|
|
const PdfFontMetrics & | metrics, |
|
|
const GIDList & | gidList ) |
|
static |
Actually generate the subsetted font Create a new PdfFontTrueTypeSubset from an existing TTF font file retrived from a font metrics
- Parameters
-
| output | write the font to this buffer |
| metrics | font metrics object for this font |
| gidList | a list of gids to load |
The documentation for this class was generated from the following files:
- PdfFontTrueTypeSubset.h
- PdfFontTrueTypeSubset.cpp