mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:17:35 +00:00
LibTTF: Address some minor TODOs in the font implementation
This commit is contained in:
parent
05d31cbeeb
commit
de811faf55
2 changed files with 10 additions and 10 deletions
|
@ -580,7 +580,7 @@ int ScaledFont::glyph_or_emoji_width(u32 code_point) const
|
|||
|
||||
u8 ScaledFont::glyph_fixed_width() const
|
||||
{
|
||||
return (u8)m_x_scale;
|
||||
return glyph_metrics(glyph_id_for_codepoint(' ')).advance_width;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue