20#ifndef INCLUDED_VCL_GLYPHITEMCACHE_HXX
21#define INCLUDED_VCL_GLYPHITEMCACHE_HXX
52 return GetLayoutGlyphs(outputDevice,
text, 0,
text.getLength(), 0, layoutCache);
55 const OUString& text, sal_Int32 nIndex, sal_Int32 nLen,
64 void SetCacheGlyphsWhenDoingFallbackFonts(
bool bOK);
111 bool mbCacheGlyphsWhenDoingFallbackFonts =
false;
A cache for SalLayoutGlyphs objects.
std::optional< CachedGlyphsKey > mLastTemporaryKey
SalLayoutGlyphs mLastTemporaryGlyphs
o3tl::lru_map< CachedGlyphsKey, SalLayoutGlyphs, CachedGlyphsHash, std::equal_to< CachedGlyphsKey >, GlyphsCost > GlyphsCache
std::optional< CachedGlyphsKey > mLastSubstringKey
SalLayoutGlyphsCache & operator=(const SalLayoutGlyphsCache &)=delete
SalLayoutGlyphsCache(const SalLayoutGlyphsCache &)=delete
const SalLayoutGlyphs * GetLayoutGlyphs(VclPtr< const OutputDevice > outputDevice, const OUString &text, const vcl::text::TextLayoutCache *layoutCache=nullptr)
GlyphsCache mCachedGlyphs
SalLayoutGlyphsCache(int size)
size_t operator()(const CachedGlyphsKey &key) const
vcl::text::ComplexTextLayoutFlags layoutMode
LanguageType digitLanguage
bool operator==(const ItalicMatrix &a, const ItalicMatrix &b)