LibGfx: Remove unused font code dealing with left-side bearing

This commit is contained in:
Andreas Kling 2024-08-19 18:05:29 +02:00 committed by Andreas Kling
commit 3ed0381a2a
Notes: github-actions[bot] 2024-08-20 07:37:16 +00:00
7 changed files with 4 additions and 28 deletions

View file

@ -201,7 +201,7 @@ Optional<InlineLevelIterator::Item> InlineLevelIterator::next_without_lookahead(
{ 0, 0 }, chunk.view, chunk.font, [&](Gfx::DrawGlyphOrEmoji const& glyph_or_emoji) {
glyph_run.append(glyph_or_emoji);
},
Gfx::IncludeLeftBearing::No, glyph_run_width);
glyph_run_width);
CSSPixels chunk_width = CSSPixels::nearest_value_for(glyph_run_width);