LibreOffice Module vcl (master) 1
|
#include <FontMetricData.hxx>
Private Member Functions | |
bool | ShouldNotUseUnderlineMetrics () const |
bool | ImplInitTextLineSizeHarfBuzz (LogicalFontInstance *pFontInstance) |
bool | ShouldUseWinMetrics (int, int, int, int, int, int) const |
Additional Inherited Members | |
Protected Member Functions inherited from SvRefBase | |
virtual | ~SvRefBase () COVERITY_NOEXCEPT_FALSE |
Definition at line 41 of file FontMetricData.hxx.
|
explicit |
Definition at line 133 of file fontmetric.cxx.
References FontAttributes::GetFamilyName(), GetNextFontToken(), FontAttributes::GetStyleName(), mnHeight, mnWidth, FontAttributes::SetFamilyName(), and FontAttributes::SetStyleName().
|
inline |
Definition at line 84 of file FontMetricData.hxx.
|
inline |
Definition at line 83 of file FontMetricData.hxx.
|
inline |
Definition at line 86 of file FontMetricData.hxx.
|
inline |
Definition at line 87 of file FontMetricData.hxx.
|
inline |
Definition at line 85 of file FontMetricData.hxx.
|
inline |
Definition at line 82 of file FontMetricData.hxx.
|
inline |
Definition at line 81 of file FontMetricData.hxx.
|
inline |
Definition at line 89 of file FontMetricData.hxx.
|
inline |
Definition at line 88 of file FontMetricData.hxx.
|
inline |
Definition at line 54 of file FontMetricData.hxx.
|
inline |
Definition at line 93 of file FontMetricData.hxx.
|
inline |
Definition at line 92 of file FontMetricData.hxx.
|
inline |
Definition at line 75 of file FontMetricData.hxx.
|
inline |
Definition at line 74 of file FontMetricData.hxx.
|
inline |
Definition at line 67 of file FontMetricData.hxx.
|
inline |
Definition at line 55 of file FontMetricData.hxx.
|
inline |
Definition at line 95 of file FontMetricData.hxx.
|
inline |
Definition at line 96 of file FontMetricData.hxx.
|
inline |
Definition at line 94 of file FontMetricData.hxx.
|
inline |
Definition at line 77 of file FontMetricData.hxx.
|
inline |
Definition at line 78 of file FontMetricData.hxx.
|
inline |
Definition at line 76 of file FontMetricData.hxx.
|
inline |
Definition at line 57 of file FontMetricData.hxx.
|
inline |
Definition at line 60 of file FontMetricData.hxx.
|
inline |
Definition at line 56 of file FontMetricData.hxx.
|
inline |
Definition at line 59 of file FontMetricData.hxx.
|
inline |
Definition at line 48 of file FontMetricData.hxx.
|
inline |
Definition at line 58 of file FontMetricData.hxx.
|
inline |
Definition at line 91 of file FontMetricData.hxx.
|
inline |
Definition at line 90 of file FontMetricData.hxx.
|
inline |
Definition at line 73 of file FontMetricData.hxx.
|
inline |
Definition at line 72 of file FontMetricData.hxx.
|
inline |
Definition at line 80 of file FontMetricData.hxx.
|
inline |
Definition at line 79 of file FontMetricData.hxx.
|
inline |
Definition at line 47 of file FontMetricData.hxx.
References mnWidth.
void FontMetricData::ImplCalcLineSpacing | ( | LogicalFontInstance * | pFontInstance | ) |
Definition at line 428 of file fontmetric.cxx.
References ASCENT_HHEA, ASCENT_OS2, DESCENT_HHEA, DESCENT_OS2, LogicalFontInstance::GetFontFace(), LogicalFontInstance::GetHbFont(), LogicalFontInstance::GetScale(), LINEGAP_HHEA, LINEGAP_OS2, mnAscent, mnDescent, mnExtLeading, mnHeight, mnIntLeading, vcl::OS2_fsSelection_offset, SvStream::ReadUInt16(), round, SvStream::Seek(), SvStream::SetEndian(), and ShouldUseWinMetrics().
void FontMetricData::ImplInitAboveTextLineSize | ( | const OutputDevice * | pDev | ) |
Definition at line 348 of file fontmetric.cxx.
References ImplInitTextLineSize(), mnAboveBUnderlineOffset, mnAboveBUnderlineSize, mnAboveDUnderlineOffset1, mnAboveDUnderlineOffset2, mnAboveDUnderlineSize, mnAboveUnderlineOffset, mnAboveUnderlineSize, mnAboveWUnderlineOffset, mnAboveWUnderlineSize, mnAscent, mnBUnderlineSize, mnDUnderlineSize, mnIntLeading, mnUnderlineSize, and mnWUnderlineSize.
void FontMetricData::ImplInitBaselines | ( | LogicalFontInstance * | pFontInstance | ) |
Definition at line 541 of file fontmetric.cxx.
References LogicalFontInstance::GetHbFont(), LogicalFontInstance::GetScale(), and mnHangingBaseline.
void FontMetricData::ImplInitFlags | ( | const OutputDevice * | pDev | ) |
Definition at line 378 of file fontmetric.cxx.
References OutputDevice::GetFont(), vcl::Font::GetFontSize(), vcl::Font::GetLanguage(), OutputDevice::GetTextBoundRect(), Size::Height(), MsLangId::isCJK(), tools::Rectangle::Left(), SetFullstopCenteredFlag(), and u.
void FontMetricData::ImplInitTextLineSize | ( | const OutputDevice * | pDev | ) |
Definition at line 255 of file fontmetric.cxx.
References OutputDevice::GetDPIY(), OutputDevice::GetFont(), OutputDevice::GetFontInstance(), vcl::Font::GetLanguage(), OutputDevice::GetTextWidth(), ImplInitTextLineSizeHarfBuzz(), MsLangId::isCJK(), vcl::Font::IsVertical(), mnAscent, mnBStrikeoutOffset, mnBStrikeoutSize, mnBulletOffset, mnBUnderlineOffset, mnBUnderlineSize, mnDescent, mnDStrikeoutOffset1, mnDStrikeoutOffset2, mnDStrikeoutSize, mnDUnderlineOffset1, mnDUnderlineOffset2, mnDUnderlineSize, mnIntLeading, mnStrikeoutOffset, mnStrikeoutSize, mnUnderlineOffset, mnUnderlineSize, mnWUnderlineOffset, mnWUnderlineSize, and u.
Referenced by ImplInitAboveTextLineSize().
|
private |
Definition at line 194 of file fontmetric.cxx.
References LogicalFontInstance::GetHbFont(), LogicalFontInstance::GetScale(), mnBStrikeoutOffset, mnBStrikeoutSize, mnBUnderlineOffset, mnBUnderlineSize, mnDStrikeoutOffset1, mnDStrikeoutOffset2, mnDStrikeoutSize, mnDUnderlineOffset1, mnDUnderlineOffset2, mnDUnderlineSize, mnStrikeoutOffset, mnStrikeoutSize, mnUnderlineOffset, mnUnderlineSize, mnWUnderlineOffset, mnWUnderlineSize, and ShouldNotUseUnderlineMetrics().
Referenced by ImplInitTextLineSize().
|
inline |
Definition at line 66 of file FontMetricData.hxx.
|
inline |
Definition at line 69 of file FontMetricData.hxx.
Referenced by ImplInitFlags().
|
inline |
Definition at line 63 of file FontMetricData.hxx.
|
inline |
Definition at line 51 of file FontMetricData.hxx.
|
inline |
Definition at line 62 of file FontMetricData.hxx.
|
inline |
Definition at line 50 of file FontMetricData.hxx.
References mnWidth.
|
private |
Definition at line 179 of file fontmetric.cxx.
References comphelper::findValue(), FontAttributes::GetFamilyName(), utl::ConfigManager::IsFuzzing(), and SAL_INFO.
Referenced by ImplInitTextLineSizeHarfBuzz().
|
private |
Definition at line 395 of file fontmetric.cxx.
References comphelper::findValue(), FontAttributes::GetFamilyName(), utl::ConfigManager::IsFuzzing(), and SAL_INFO.
Referenced by ImplCalcLineSpacing().
|
private |
Definition at line 124 of file FontMetricData.hxx.
|
private |
Definition at line 140 of file FontMetricData.hxx.
Referenced by ImplInitAboveTextLineSize().
|
private |
Definition at line 139 of file FontMetricData.hxx.
Referenced by ImplInitAboveTextLineSize().
|
private |
Definition at line 142 of file FontMetricData.hxx.
Referenced by ImplInitAboveTextLineSize().
|
private |
Definition at line 143 of file FontMetricData.hxx.
Referenced by ImplInitAboveTextLineSize().
|
private |
Definition at line 141 of file FontMetricData.hxx.
Referenced by ImplInitAboveTextLineSize().
|
private |
Definition at line 138 of file FontMetricData.hxx.
Referenced by ImplInitAboveTextLineSize().
|
private |
Definition at line 137 of file FontMetricData.hxx.
Referenced by ImplInitAboveTextLineSize().
|
private |
Definition at line 145 of file FontMetricData.hxx.
Referenced by ImplInitAboveTextLineSize().
|
private |
Definition at line 144 of file FontMetricData.hxx.
Referenced by ImplInitAboveTextLineSize().
|
private |
Definition at line 115 of file FontMetricData.hxx.
Referenced by ImplCalcLineSpacing(), ImplInitAboveTextLineSize(), and ImplInitTextLineSize().
|
private |
Definition at line 149 of file FontMetricData.hxx.
Referenced by ImplInitTextLineSize(), and ImplInitTextLineSizeHarfBuzz().
|
private |
Definition at line 148 of file FontMetricData.hxx.
Referenced by ImplInitTextLineSize(), and ImplInitTextLineSizeHarfBuzz().
|
private |
Definition at line 125 of file FontMetricData.hxx.
Referenced by ImplInitTextLineSize().
|
private |
Definition at line 131 of file FontMetricData.hxx.
Referenced by ImplInitTextLineSize(), and ImplInitTextLineSizeHarfBuzz().
|
private |
Definition at line 130 of file FontMetricData.hxx.
Referenced by ImplInitAboveTextLineSize(), ImplInitTextLineSize(), and ImplInitTextLineSizeHarfBuzz().
|
private |
Definition at line 116 of file FontMetricData.hxx.
Referenced by ImplCalcLineSpacing(), and ImplInitTextLineSize().
|
private |
Definition at line 151 of file FontMetricData.hxx.
Referenced by ImplInitTextLineSize(), and ImplInitTextLineSizeHarfBuzz().
|
private |
Definition at line 152 of file FontMetricData.hxx.
Referenced by ImplInitTextLineSize(), and ImplInitTextLineSizeHarfBuzz().
|
private |
Definition at line 150 of file FontMetricData.hxx.
Referenced by ImplInitTextLineSize(), and ImplInitTextLineSizeHarfBuzz().
|
private |
Definition at line 133 of file FontMetricData.hxx.
Referenced by ImplInitTextLineSize(), and ImplInitTextLineSizeHarfBuzz().
|
private |
Definition at line 134 of file FontMetricData.hxx.
Referenced by ImplInitTextLineSize(), and ImplInitTextLineSizeHarfBuzz().
|
private |
Definition at line 132 of file FontMetricData.hxx.
Referenced by ImplInitAboveTextLineSize(), ImplInitTextLineSize(), and ImplInitTextLineSizeHarfBuzz().
|
private |
Definition at line 118 of file FontMetricData.hxx.
Referenced by ImplCalcLineSpacing().
|
private |
Definition at line 121 of file FontMetricData.hxx.
Referenced by ImplInitBaselines().
|
private |
Definition at line 110 of file FontMetricData.hxx.
Referenced by ImplCalcLineSpacing().
|
private |
Definition at line 117 of file FontMetricData.hxx.
Referenced by ImplCalcLineSpacing(), ImplInitAboveTextLineSize(), and ImplInitTextLineSize().
|
private |
Definition at line 120 of file FontMetricData.hxx.
|
private |
Definition at line 112 of file FontMetricData.hxx.
|
private |
Definition at line 119 of file FontMetricData.hxx.
|
private |
Definition at line 147 of file FontMetricData.hxx.
Referenced by ImplInitTextLineSize(), and ImplInitTextLineSizeHarfBuzz().
|
private |
Definition at line 146 of file FontMetricData.hxx.
Referenced by ImplInitTextLineSize(), and ImplInitTextLineSizeHarfBuzz().
|
private |
Definition at line 129 of file FontMetricData.hxx.
Referenced by ImplInitTextLineSize(), and ImplInitTextLineSizeHarfBuzz().
|
private |
Definition at line 128 of file FontMetricData.hxx.
Referenced by ImplInitAboveTextLineSize(), ImplInitTextLineSize(), and ImplInitTextLineSizeHarfBuzz().
|
private |
Definition at line 111 of file FontMetricData.hxx.
|
private |
Definition at line 136 of file FontMetricData.hxx.
Referenced by ImplInitTextLineSize(), and ImplInitTextLineSizeHarfBuzz().
|
private |
Definition at line 135 of file FontMetricData.hxx.
Referenced by ImplInitAboveTextLineSize(), ImplInitTextLineSize(), and ImplInitTextLineSizeHarfBuzz().