]> git.ipfire.org Git - thirdparty/plymouth.git/commit
label-pango: Try to fix up remove_hexboxes_from_pango_layout
authorRay Strode <rstrode@redhat.com>
Tue, 2 Jan 2024 22:04:26 +0000 (17:04 -0500)
committerRay Strode <rstrode@redhat.com>
Wed, 3 Jan 2024 16:13:31 +0000 (11:13 -0500)
commit38e96ef9444c4bb5063f3a38fc5041d28ac3ebaf
tree601012718269eb5874b8a0e5fe96891345a16f9b
parent83486f89c1fd3afb40a769aba315999178b0423f
label-pango: Try to fix up remove_hexboxes_from_pango_layout

There are a few issues with the remove_hexboxes_from_pango_layout
function, where it's getting offsets wrong and things like that.

This commit changes the approach entirely. Rather than modifying
the text to remove characters without font converage, it just
changes out the glyphs for those characters to be white boxes.
src/plugins/controls/label-pango/plugin.c