5
0
mirror of git://git.proxmox.com/git/vncterm.git synced 2024-12-22 21:33:49 +03:00
Commit Graph

3 Commits

Author SHA1 Message Date
Dominik Csapak
07a910f022 use unifont and add support for wide-characters and combining glyphs
this patch makes use of unifont with genfont2 and introduces support for
wide-characters and combining glyphs

for this we have to save the width and possible diacritic in the
textcell, which means we also have to reset them properly and give those
values also to draw_char_at

to determine the width we use the wcwidth provided by unifont
(because in unifont some characters are wide which normally are not)

we mmap the generated fontfile, and drop the glyphs.h, which reduces
the initial memory use, and shares the pages between processes

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-05-24 12:55:19 +02:00
Dominik Csapak
8392857fa7 fix bound checking on cursor move
changing most of the vt struct fields to unsigned, to avoid undefined
behaviour and use gotoxy for moving the cursor to correctly bound check
the cursor position

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-05-06 08:07:08 +02:00
Dietmar Maurer
e6d0212c1e imported from svn 'vncterm/pve2' 2011-08-23 07:52:28 +02:00