LibreOffice Module vcl (master)
1
|
abstract base class for physical font faces More...
#include <PhysicalFontFace.hxx>
Protected Member Functions | |
PhysicalFontFace (const FontAttributes &) | |
void | SetBitmapSize (int nW, int nH) |
![]() | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
Protected Attributes | |
tools::Long | mnWidth |
tools::Long | mnHeight |
![]() | |
oslInterlockedCount | m_nCount |
Additional Inherited Members | |
![]() | |
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) |
abstract base class for physical font faces
It acts as a factory for its corresponding LogicalFontInstances and can be extended to cache device and font instance specific data.
Definition at line 61 of file PhysicalFontFace.hxx.
|
explicitprotected |
Definition at line 29 of file PhysicalFontFace.cxx.
References FontAttributes::GetFamilyName(), IsStarSymbol(), FontAttributes::IsSymbolFont(), mnHeight, mnWidth, and FontAttributes::SetSymbolFlag().
sal_Int32 PhysicalFontFace::CompareIgnoreSize | ( | const PhysicalFontFace & | rOther | ) | const |
Definition at line 40 of file PhysicalFontFace.cxx.
References FontAttributes::GetFamilyName(), FontAttributes::GetItalic(), FontAttributes::GetStyleName(), FontAttributes::GetWeight(), and FontAttributes::GetWidthType().
Referenced by CompareWithSize(), and PhysicalFontFamily::UpdateDevFontList().
sal_Int32 PhysicalFontFace::CompareWithSize | ( | const PhysicalFontFace & | rOther | ) | const |
Definition at line 68 of file PhysicalFontFace.cxx.
References CompareIgnoreSize(), mnHeight, and mnWidth.
Referenced by PhysicalFontFamily::AddFontFace().
|
pure virtual |
Implemented in FreetypeFontFace, CoreTextFontFace, WinFontFace, vcl::pdf::BuildinFontFace, and Qt5FontFace.
Referenced by ImplFontCache::GetFontInstance().
|
pure virtual |
Implemented in FreetypeFontFace, WinFontFace, vcl::pdf::BuildinFontFace, CoreTextFontFace, and Qt5FontFace.
|
pure virtual |
Implemented in FreetypeFontFace, WinFontFace, vcl::pdf::BuildinFontFace, CoreTextFontFace, and Qt5FontFace.
Referenced by SalGraphics::GetGlyphWidths().
|
pure virtual |
Implemented in FreetypeFontFace, vcl::pdf::BuildinFontFace, WinFontFace, CoreTextFontFace, and Qt5FontFace.
|
inline |
Definition at line 66 of file PhysicalFontFace.hxx.
References mnHeight.
Referenced by PhysicalFontFamily::GetFontHeights().
|
inline |
Definition at line 67 of file PhysicalFontFace.hxx.
References mnWidth.
bool PhysicalFontFace::IsBetterMatch | ( | const FontSelectPattern & | rFSD, |
FontMatchStatus & | rStatus | ||
) | const |
Definition at line 87 of file PhysicalFontFace.cxx.
References FontAttributes::GetFamilyName(), FontAttributes::GetItalic(), FontAttributes::GetPitch(), FontAttributes::GetStyleName(), FontAttributes::GetWeight(), FontAttributes::GetWidthType(), ITALIC_NONE, FontSelectPattern::maItalicMatrix, FontSelectPattern::maTargetName, FontSelectPattern::mbEmbolden, FontMatchStatus::mnFaceMatch, FontMatchStatus::mnHeightMatch, FontSelectPattern::mnOrientation, FontSelectPattern::mnWidth, FontMatchStatus::mnWidthMatch, FontMatchStatus::mpTargetStyleName, PITCH_DONTKNOW, WEIGHT_DONTKNOW, WEIGHT_LIGHT, WEIGHT_MEDIUM, WEIGHT_NORMAL, WEIGHT_SEMIBOLD, WEIGHT_SEMILIGHT, WIDTH_NORMAL, WIDTH_SEMI_CONDENSED, and WIDTH_SEMI_EXPANDED.
Referenced by PhysicalFontFamily::FindBestFontFace().
Definition at line 78 of file PhysicalFontFace.hxx.
|
protected |
Definition at line 81 of file PhysicalFontFace.hxx.
Referenced by CompareWithSize().
|
protected |
Definition at line 80 of file PhysicalFontFace.hxx.
Referenced by CompareWithSize().