mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibGfx+LibWeb: Use harfbuzz for text shaping
This replaces glyph positioning system with harfbuzz's shaping algorithm. Adding support for bidirectional encoded text.
This commit is contained in:
committed by
Alexander Kalenik
parent
0d05ab2ad0
commit
0d63269cb7
@@ -375,7 +375,7 @@ void InlineFormattingContext::generate_line_boxes(LayoutMode layout_mode)
|
||||
glyphs.remove(last_glyph_index - 1, remove_item_count);
|
||||
glyphs.append(Gfx::DrawGlyph {
|
||||
.position = last_glyph_position,
|
||||
.code_point = ellipsis_codepoint });
|
||||
.glyph_id = glyph_run->font().glyph_id_for_code_point(ellipsis_codepoint) });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user