5 #ifndef PDFTRON_H_CPPPDFFont
6 #define PDFTRON_H_CPPPDFFont
14 #include <C/PDF/TRN_Font.h>
15 #include <C/SDF/TRN_SDFDoc.h>
105 bool embed=
true,
bool subset=
true);
123 bool embed=
true,
bool subset=
true);
152 bool embed =
true,
bool subset =
true,
174 bool embed =
true,
bool subset =
true,
196 bool embed =
true,
bool subset =
true,
461 Unicode* out_uni_arr,
const int in_uni_sz,
664 #include <Impl/Font.inl>
669 #endif // PDFTRON_H_CPPPDFFont
PathData GetGlyphPath(UInt32 char_code, bool conics2cubics, Common::Matrix2D *transform=0)
const char * GetFamilyName()
static Font CreateTrueTypeFont2(SDF::SDFDoc &doc, const void *logfont, bool embed=true, bool subset=true)
Common::Iterator< UInt32 > GetCharCodeIterator()
static Font CreateCIDTrueTypeFont(SDF::SDFDoc &doc, const UString &font_path, bool embed=true, bool subset=true, Encoding encoding=e_IdentityH, UInt32 ttc_font_index=0)
UString MapToUnicode(UInt32 char_code)
Font & operator=(const Font &c)
ShapedText GetShapedText(const UString &text_to_shape)
static Font CreateType1Font(SDF::SDFDoc &doc, const UString &font_path, bool embed=true)
int GetStandardType1FontType()
static Font CreateTrueTypeFont(SDF::SDFDoc &doc, const UString &font_path, bool embed=true, bool subset=true)
double GetWidth(UInt32 char_code) const
Common::Matrix2D GetType3FontMatrix()
static Font Create(SDF::SDFDoc &doc, StandardType1Font type, bool embed=false)
double GetVerticalAdvance(UInt32 char_code, double &out_pos_vect_x, double &out_pos_vect_y)
SDF::Obj GetEmbeddedFont()
static Font CreateCIDTrueTypeFont2(SDF::SDFDoc &doc, const void *logfonta, bool embed=true, bool subset=true, Encoding encoding=e_IdentityH)
UInt32 MapToCID(UInt32 char_code) const
const char * GetEmbeddedFontName()
const char ** GetEncoding()
int GetEmbeddedFontBufSize()
SDF::Obj GetType3GlyphStream(UInt32 char_code)
static Font CreateCIDTrueTypeFont2Unicode(SDF::SDFDoc &doc, const void *logfontw, bool embed=true, bool subset=true, Encoding encoding=e_IdentityH)
Font(SDF::Obj font_dict=0)