|
wxPdfDocument 0.9.2
|
Class representing TrueType Font Subsets. (For internal use only) More...
#include <pdffontsubsettruetype.h>
Public Member Functions | |
| wxPdfFontSubsetTrueType (const wxString &fileName, int fontIndex=0, bool isMacCoreText=false) | |
| Default constructor. | |
| virtual | ~wxPdfFontSubsetTrueType () |
| Default destructor. | |
| wxMemoryOutputStream * | CreateSubset (wxInputStream *inFont, wxPdfSortedArrayInt *glyphsUsed, bool includeCmap=false) |
| Create subset of a font. | |
Protected Member Functions | |
| bool | ReadLocaTable () |
| Read 'loca' table. | |
| bool | CheckGlyphs () |
| Check glyphs. | |
| void | FindGlyphComponents (int glyph) |
| Find the components of a glyph. | |
| void | CreateNewTables () |
| Create a new table. | |
| void | WriteSubsetFont () |
| Write the subset of the font. | |
| void | WriteShort (int n) |
| Write a short integer to the default output stream. | |
| void | WriteInt (int n) |
| Write an integer to the default output stream. | |
| void | WriteString (const wxString &s) |
| Write a stringto the default output stream. | |
| void | WriteShortToBuffer (int n, char buffer[2]) |
| Write a short integer to a buffer. | |
| void | WriteIntToBuffer (int n, char buffer[4]) |
| Write an integer to a buffer. | |
Class representing TrueType Font Subsets. (For internal use only)
| wxPdfFontSubsetTrueType::wxPdfFontSubsetTrueType | ( | const wxString & | fileName, |
| int | fontIndex = 0, |
||
| bool | isMacCoreText = false |
||
| ) |
Default constructor.
| virtual wxPdfFontSubsetTrueType::~wxPdfFontSubsetTrueType | ( | ) | [virtual] |
Default destructor.
| bool wxPdfFontSubsetTrueType::CheckGlyphs | ( | ) | [protected] |
Check glyphs.
| void wxPdfFontSubsetTrueType::CreateNewTables | ( | ) | [protected] |
Create a new table.
| wxMemoryOutputStream* wxPdfFontSubsetTrueType::CreateSubset | ( | wxInputStream * | inFont, |
| wxPdfSortedArrayInt * | glyphsUsed, | ||
| bool | includeCmap = false |
||
| ) |
Create subset of a font.
| inFont | stream containing the font data |
| glyphsUsed | a list of used glyphs |
| includeCmap | flag whether to include the CMap table |
| void wxPdfFontSubsetTrueType::FindGlyphComponents | ( | int | glyph | ) | [protected] |
Find the components of a glyph.
| bool wxPdfFontSubsetTrueType::ReadLocaTable | ( | ) | [protected] |
Read 'loca' table.
| void wxPdfFontSubsetTrueType::WriteInt | ( | int | n | ) | [protected] |
Write an integer to the default output stream.
| void wxPdfFontSubsetTrueType::WriteIntToBuffer | ( | int | n, |
| char | buffer[4] | ||
| ) | [protected] |
Write an integer to a buffer.
| void wxPdfFontSubsetTrueType::WriteShort | ( | int | n | ) | [protected] |
Write a short integer to the default output stream.
| void wxPdfFontSubsetTrueType::WriteShortToBuffer | ( | int | n, |
| char | buffer[2] | ||
| ) | [protected] |
Write a short integer to a buffer.
| void wxPdfFontSubsetTrueType::WriteString | ( | const wxString & | s | ) | [protected] |
Write a stringto the default output stream.
| void wxPdfFontSubsetTrueType::WriteSubsetFont | ( | ) | [protected] |
Write the subset of the font.
1.7.4