mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:47:35 +00:00
LibTTF: Port width calculation changes from BitmapFont
This commit is contained in:
parent
c0f9adabd6
commit
99013ac3d5
2 changed files with 19 additions and 19 deletions
|
@ -151,6 +151,9 @@ private:
|
|||
float m_point_width { 0.0f };
|
||||
float m_point_height { 0.0f };
|
||||
mutable HashMap<u32, RefPtr<Gfx::Bitmap>> m_cached_glyph_bitmaps;
|
||||
|
||||
template<typename T>
|
||||
int unicode_view_width(T const& view) const;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue