LibreOffice Module vcl (master)  1
Classes | Typedefs | Functions | Variables
cff.cxx File Reference
#include <cstdio>
#include <cstring>
#include <vector>
#include <assert.h>
#include <fontsubset.hxx>
#include <vcl/strhelper.hxx>
#include <sal/log.hxx>
Include dependency graph for cff.cxx:

Go to the source code of this file.

Classes

struct  TYPE1OP
 
struct  TYPE2OP
 
struct  CffGlobal
 
struct  CffLocal
 
class  CffSubsetterContext
 
class  Type1Emitter
 

Typedefs

typedef sal_uInt8 U8
 
typedef sal_uInt16 U16
 
typedef sal_Int64 S64
 
typedef double RealType
 
typedef RealType ValType
 

Functions

static int dbl2str (char *pOut, double fVal)
 

Variables

static const char * pStringIds []
 
static const char * pDictOps []
 
static const char * pDictEscs []
 
static const int MAX_T1OPS_SIZE = 81920
 

Typedef Documentation

typedef double RealType

Definition at line 34 of file cff.cxx.

typedef sal_Int64 S64

Definition at line 32 of file cff.cxx.

typedef sal_uInt16 U16

Definition at line 31 of file cff.cxx.

typedef sal_uInt8 U8

Definition at line 30 of file cff.cxx.

typedef RealType ValType

Definition at line 35 of file cff.cxx.

Function Documentation

static int dbl2str ( char *  pOut,
double  fVal 
)
static

Definition at line 1711 of file cff.cxx.

References psp::getValueOfDouble().

Referenced by CffSubsetterContext::emitAsType1(), and Type1Emitter::emitValVector().

Variable Documentation

const int MAX_T1OPS_SIZE = 81920
static
const char* pDictEscs[]
static
Initial value:
= {
"sCopyright", "bIsFixedPitch", "nItalicAngle", "nUnderlinePosition",
"nUnderlineThickness", "nPaintType", "tCharstringType", "aFontMatrix",
"nStrokeWidth", "nBlueScale", "nBlueShift", "nBlueFuzz",
"dStemSnapH", "dStemSnapV", "bForceBold", nullptr,
nullptr, "nLanguageGroup", "nExpansionFactor", "nInitialRandomSeed",
"nSyntheticBase", "sPostScript", "sBaseFontName", "dBaseFontBlend",
nullptr, nullptr, nullptr, nullptr,
nullptr, nullptr, "rROS", "nCIDFontVersion",
"nCIDFontRevision", "nCIDFontType", "nCIDCount", "nUIDBase",
"nFDArray", "nFDSelect", "sFontName"
}

Definition at line 151 of file cff.cxx.

Referenced by CffSubsetterContext::readDictOp().

const char* pDictOps[]
static
Initial value:
= {
"sVersion", "sNotice", "sFullName", "sFamilyName",
"sWeight", "aFontBBox", "dBlueValues", "dOtherBlues",
"dFamilyBlues", "dFamilyOtherBlues", "nStdHW", "nStdVW",
"xESC", "nUniqueID", "aXUID", "nCharset",
"nEncoding", "nCharStrings", "PPrivate", "nSubrs",
"nDefaultWidthX", "nNominalWidthX", nullptr, nullptr,
nullptr, nullptr, nullptr, nullptr,
"shortint", "longint", "BCD", nullptr
}

Definition at line 139 of file cff.cxx.

Referenced by CffSubsetterContext::readDictOp().

const char* pStringIds[]
static

Definition at line 37 of file cff.cxx.

Referenced by CffSubsetterContext::getString().