Skip to content

Commit

Permalink
* vt_ot_layout.c: Skip pictures in layouting characters in vt_ot_layo…
Browse files Browse the repository at this point in the history
…ut().
  • Loading branch information
arakiken committed Feb 5, 2024
1 parent 4f404a6 commit 4fdf36e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
2024-02-05 Araki Ken <arakiken@users.sf.net>

* vt_ot_layout.c: Skip pictures in layouting characters in vt_ot_layout().

* Fix pull request #83.
- Add "use_locked_title" to OSC 5379-5383.
- --locktitle/use_locked_title option ignores not only OSC 0 and 2
Expand Down
2 changes: 1 addition & 1 deletion vtemu/vt_ot_layout.c
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ int vt_ot_layout(vt_ot_layout_state_t state, vt_char_t *src, u_int src_len) {
font = vt_char_font(src + src_pos);
code = vt_char_code(src + src_pos);

if (FONT_CS(font) == US_ASCII) {
if (FONT_CS(font) == US_ASCII && !vt_get_picture_char(src + src_pos)) {
font &= ~US_ASCII;
font |= ISO10646_UCS4_1;
}
Expand Down

0 comments on commit 4fdf36e

Please sign in to comment.