LibreOffice Module vcl (master) 1
|
Sun Font Tools. More...
#include <vcl/dllapi.h>
#include <vcl/fontcapabilities.hxx>
#include <vcl/fontcharmap.hxx>
#include <i18nlangtag/lang.h>
#include <array>
#include <memory>
#include <vector>
#include <cstdint>
#include "font/PhysicalFontFace.hxx"
Go to the source code of this file.
Classes | |
struct | vcl::TTSimpleGlyphMetrics |
Structure used by GetTTSimpleCharMetrics() functions. More... | |
struct | vcl::GlyphData |
Structure used by the TrueType Creator and GetRawGlyphData() More... | |
struct | vcl::NameRecord |
Structure used by the TrueType Creator and CreateTTFromTTGlyphs() More... | |
struct | vcl::TTGlobalFontInfo_ |
Return value of GetTTGlobalFontInfo() More... | |
struct | vcl::ControlPoint |
ControlPoint structure used by GetTTGlyphPoints() More... | |
class | vcl::AbstractTrueTypeFont |
class | vcl::TrueTypeFont |
struct | vcl::TrueTypeFont::TTFontTable_ |
Namespaces | |
namespace | vcl |
Typedefs | |
typedef sal_Int32 | vcl::F16Dot16 |
fixed: 16.16 More... | |
Functions | |
int | vcl::CountTTCFonts (const char *fname) |
Get the number of fonts contained in a TrueType collection. More... | |
SFErrCodes | vcl::OpenTTFontBuffer (const void *pBuffer, sal_uInt32 nLen, sal_uInt32 facenum, TrueTypeFont **ttf, const FontCharMapRef xCharMap=nullptr) |
TrueTypeFont constructor. More... | |
SFErrCodes | vcl::OpenTTFontFile (const char *fname, sal_uInt32 facenum, TrueTypeFont **ttf, const FontCharMapRef xCharMap=nullptr) |
TrueTypeFont constructor. More... | |
bool | vcl::getTTCoverage (std::optional< std::bitset< UnicodeCoverage::MAX_UC_ENUM > > &rUnicodeRange, std::optional< std::bitset< CodePageCoverage::MAX_CP_ENUM > > &rCodePageRange, const unsigned char *pTable, size_t nLength) |
void | vcl::CloseTTFont (TrueTypeFont *) |
TrueTypeFont destructor. More... | |
int | vcl::GetTTGlyphPoints (AbstractTrueTypeFont *ttf, sal_uInt32 glyphID, std::vector< ControlPoint > &pointArray) |
Extracts TrueType control points, and stores them in an allocated array pointed to by *pointArray. More... | |
std::unique_ptr< GlyphData > | vcl::GetTTRawGlyphData (AbstractTrueTypeFont *ttf, sal_uInt32 glyphID) |
Extracts raw glyph data from the 'glyf' table and returns it in an allocated GlyphData structure. More... | |
int | vcl::GetTTGlyphComponents (AbstractTrueTypeFont *ttf, sal_uInt32 glyphID, std::vector< sal_uInt32 > &glyphlist) |
For a specified glyph adds all component glyphs IDs to the list and return their number. More... | |
void | vcl::GetTTNameRecords (AbstractTrueTypeFont const *ttf, std::vector< NameRecord > &nr) |
Extracts all Name Records from the font and stores them in an allocated array of NameRecord structs. More... | |
SFErrCodes | vcl::CreateT3FromTTGlyphs (TrueTypeFont *ttf, SvStream *outf, const char *fname, sal_uInt16 const *glyphArray, sal_uInt8 *encoding, int nGlyphs, int wmode) |
Generates a new PostScript Type 3 font and dumps it to outf file. More... | |
SFErrCodes | vcl::CreateTTFromTTGlyphs (AbstractTrueTypeFont *ttf, std::vector< sal_uInt8 > &rOutBuffer, sal_uInt16 const *glyphArray, sal_uInt8 const *encoding, int nGlyphs) |
Generates a new TrueType font and dumps it to outf file. More... | |
bool | vcl::CreateTTFfontSubset (vcl::AbstractTrueTypeFont &rTTF, std::vector< sal_uInt8 > &rOutBuffer, const sal_GlyphId *pGlyphIds, const sal_uInt8 *pEncoding, const int nOrigGlyphCount, FontSubsetInfo &rInfo) |
SFErrCodes | vcl::CreateT42FromTTGlyphs (TrueTypeFont *ttf, SvStream *outf, const char *psname, sal_uInt16 const *glyphArray, sal_uInt8 *encoding, int nGlyphs) |
Generates a new PostScript Type42 font and dumps it to outf file. More... | |
void | vcl::GetTTGlobalFontInfo (AbstractTrueTypeFont *ttf, TTGlobalFontInfo *info) |
Returns global font information about the TrueType font. More... | |
bool | vcl::GetTTGlobalFontHeadInfo (const AbstractTrueTypeFont *ttf, int &xMin, int &yMin, int &xMax, int &yMax, sal_uInt16 &macStyle) |
Returns part of the head table info, normally collected by GetTTGlobalFontInfo. More... | |
Sun Font Tools.
Definition in file sft.hxx.