LibreOffice Module vcl (master) 1
|
#include <pdfbuildin_fonts.hxx>
Public Member Functions | |
BuildinFontFace (int nId) | |
const BuildinFont & | GetBuildinFont () const |
sal_IntPtr | GetFontId () const override |
FontCharMapRef | GetFontCharMap () const override |
bool | GetFontCapabilities (vcl::FontCapabilities &) const override |
Public Member Functions inherited from vcl::font::PhysicalFontFace | |
~PhysicalFontFace () | |
virtual rtl::Reference< LogicalFontInstance > | CreateFontInstance (const vcl::font::FontSelectPattern &) const =0 |
virtual sal_IntPtr | GetFontId () const =0 |
virtual FontCharMapRef | GetFontCharMap () const |
virtual bool | GetFontCapabilities (vcl::FontCapabilities &) const |
RawFontData | GetRawFontData (uint32_t) const |
bool | IsBetterMatch (const vcl::font::FontSelectPattern &, FontMatchStatus &) const |
sal_Int32 | CompareIgnoreSize (const PhysicalFontFace &) const |
bool | CreateFontSubset (std::vector< sal_uInt8 > &, const sal_GlyphId *, const sal_uInt8 *, const int, FontSubsetInfo &) const |
bool | IsColorFont () const |
bool | HasColorLayers () const |
std::vector< ColorLayer > | GetGlyphColorLayers (sal_GlyphId) const |
const std::vector< ColorPalette > & | GetColorPalettes () const |
bool | HasColorBitmaps () const |
RawFontData | GetGlyphColorBitmap (sal_GlyphId, tools::Rectangle &) const |
OString | GetGlyphName (sal_GlyphId, bool=false) const |
uint32_t | UnitsPerEm () const |
OUString | GetName (NameID, const LanguageTag &) const |
OUString | GetName (NameID aNameID) const |
virtual hb_face_t * | GetHbFace () const |
virtual hb_blob_t * | GetHbTable (hb_tag_t) const |
virtual const std::vector< hb_variation_t > & | GetVariations (const LogicalFontInstance &) const |
Public Member Functions inherited from FontAttributes | |
FontAttributes () | |
const OUString & | GetFamilyName () const |
FontFamily | GetFamilyType () const |
const OUString & | GetStyleName () const |
FontWeight | GetWeight () const |
FontItalic | GetItalic () const |
FontPitch | GetPitch () const |
FontWidth | GetWidthType () const |
bool | IsMicrosoftSymbolEncoded () const |
void | SetFamilyName (const OUString &sFamilyName) |
void | SetStyleName (const OUString &sStyleName) |
void | SetFamilyType (const FontFamily eFontFamily) |
void | SetPitch (const FontPitch ePitch) |
void | SetItalic (const FontItalic eItalic) |
void | SetWeight (const FontWeight eWeight) |
void | SetWidthType (const FontWidth eWidthType) |
void | SetMicrosoftSymbolEncoded (const bool) |
bool | CompareDeviceIndependentFontAttributes (const FontAttributes &rOther) const |
int | GetQuality () const |
const OUString & | GetMapNames () const |
void | SetQuality (int nQuality) |
void | IncreaseQualityBy (int nQualityAmount) |
void | AddMapName (std::u16string_view) |
Public Member Functions inherited from salhelper::SimpleReferenceObject | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Static Public Member Functions | |
static const BuildinFont & | Get (int nId) |
Static Public Member Functions inherited from salhelper::SimpleReferenceObject | |
static void * | operator new (std::size_t nSize) |
static void * | operator new (std::size_t nSize, std::nothrow_t const &rNothrow) |
static void | operator delete (void *pPtr) |
static void | operator delete (void *pPtr, std::nothrow_t const &rNothrow) |
Private Member Functions | |
rtl::Reference< LogicalFontInstance > | CreateFontInstance (const vcl::font::FontSelectPattern &rFSD) const override |
Private Attributes | |
const BuildinFont & | mrBuildin |
Static Private Attributes | |
static const BuildinFont | m_aBuildinFonts [14] |
Additional Inherited Members | |
Protected Member Functions inherited from vcl::font::PhysicalFontFace | |
PhysicalFontFace (const FontAttributes &) | |
hb_font_t * | GetHbUnscaledFont () const |
Protected Member Functions inherited from salhelper::SimpleReferenceObject | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
Protected Attributes inherited from vcl::font::PhysicalFontFace | |
hb_face_t * | mpHbFace |
hb_font_t * | mpHbUnscaledFont |
FontCharMapRef | mxCharMap |
std::optional< vcl::FontCapabilities > | mxFontCapabilities |
std::optional< std::vector< ColorPalette > > | mxColorPalettes |
std::optional< std::vector< hb_variation_t > > | mxVariations |
Protected Attributes inherited from salhelper::SimpleReferenceObject | |
oslInterlockedCount | m_nCount |
Definition at line 58 of file pdfbuildin_fonts.hxx.
|
explicit |
Definition at line 746 of file pdfbuildin_fonts.cxx.
References nId.
|
overrideprivatevirtual |
Implements vcl::font::PhysicalFontFace.
Definition at line 753 of file pdfbuildin_fonts.cxx.
|
inlinestatic |
Definition at line 74 of file pdfbuildin_fonts.hxx.
References m_aBuildinFonts, and nId.
Referenced by vcl::PDFWriterImpl::appendBuildinFontsToDict(), vcl::PDFWriterImpl::createDefaultEditAppearance(), and vcl::PDFWriterImpl::createDefaultPushButtonAppearance().
|
inline |
Definition at line 69 of file pdfbuildin_fonts.hxx.
References mrBuildin.
Referenced by vcl::PDFWriterImpl::emitBuildinFont().
|
inlineoverridevirtual |
Reimplemented from vcl::font::PhysicalFontFace.
Definition at line 72 of file pdfbuildin_fonts.hxx.
|
inlineoverridevirtual |
Reimplemented from vcl::font::PhysicalFontFace.
Definition at line 71 of file pdfbuildin_fonts.hxx.
References vcl::pdf::BuildinFont::GetFontCharMap(), and mrBuildin.
|
inlineoverridevirtual |
Implements vcl::font::PhysicalFontFace.
Definition at line 70 of file pdfbuildin_fonts.hxx.
References mrBuildin.
|
staticprivate |
Definition at line 60 of file pdfbuildin_fonts.hxx.
Referenced by Get().
|
private |
Definition at line 61 of file pdfbuildin_fonts.hxx.
Referenced by GetBuildinFont(), GetFontCharMap(), and GetFontId().