mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 08:09:22 +00:00
Shape arabic code when on UTF-8 visual
This commit is contained in:
1 parent
a6ab5fb2cf
commit
a82890fffc
3 files changed
+44
-3
No files matched your search
+6
-3
@@ -392,9 +392,12 @@ putglyph (const struct grub_unicode_glyph *c, struct grub_term_output *term)
|
||||
{
|
||||
code = c->base;
|
||||
if ((term->flags & GRUB_TERM_CODE_TYPE_MASK)
|
||||
== GRUB_TERM_CODE_TYPE_UTF8_VISUAL
|
||||
&& (c->attributes & GRUB_UNICODE_GLYPH_ATTRIBUTE_MIRROR))
|
||||
code = grub_unicode_mirror_code (code);
|
||||
== GRUB_TERM_CODE_TYPE_UTF8_VISUAL)
|
||||
{
|
||||
if ((c->attributes & GRUB_UNICODE_GLYPH_ATTRIBUTE_MIRROR))
|
||||
code = grub_unicode_mirror_code (code);
|
||||
code = grub_unicode_shape_code (code, c->attributes);
|
||||
}
|
||||
}
|
||||
else
|
||||
code = c->combining[i].code;
|
||||
|
||||
Reference in new issue
Block a user