1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:07:34 +00:00

LibGfx: Use east-mutable style in OpenType font class

No intended behavior change.
This commit is contained in:
Aliaksandr Kalenik 2023-12-09 17:37:37 +01:00 committed by Andreas Kling
parent 7ae229ead7
commit 8634820e73

View file

@ -132,11 +132,11 @@ private:
}; };
// Fast cache for GlyphPage #0 (code points 0-255) to avoid hash lookups for all of ASCII and Latin-1. // Fast cache for GlyphPage #0 (code points 0-255) to avoid hash lookups for all of ASCII and Latin-1.
mutable OwnPtr<GlyphPage> m_glyph_page_zero; OwnPtr<GlyphPage> mutable m_glyph_page_zero;
mutable HashMap<size_t, NonnullOwnPtr<GlyphPage>> m_glyph_pages; HashMap<size_t, NonnullOwnPtr<GlyphPage>> mutable m_glyph_pages;
mutable HashMap<u32, i16> m_kerning_cache; HashMap<u32, i16> mutable m_kerning_cache;
Optional<String> mutable m_family; Optional<String> mutable m_family;
Optional<u16> mutable m_width; Optional<u16> mutable m_width;