LibGfx: Remove Bitmap::glyph_spacing()

This was only ever non-zero for SerenityOS bitmap fonts.
This commit is contained in:
Andreas Kling 2024-06-04 07:02:22 +02:00
commit 1a2a34fa43
Notes: sideshowbarker 2024-07-17 06:40:35 +09:00
9 changed files with 10 additions and 26 deletions

View file

@ -204,9 +204,6 @@ Optional<InlineLevelIterator::Item> InlineLevelIterator::next_without_lookahead(
},
Gfx::IncludeLeftBearing::No, glyph_run_width);
if (!m_text_node_context->is_last_chunk)
glyph_run_width += text_node.first_available_font().glyph_spacing();
CSSPixels chunk_width = CSSPixels::nearest_value_for(glyph_run_width);
// NOTE: We never consider `content: ""` to be collapsible whitespace.