]> git.proxmox.com Git - vncterm.git/commit - Makefile
use unifont and add support for wide-characters and combining glyphs
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 24 May 2017 09:37:51 +0000 (11:37 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 24 May 2017 10:55:19 +0000 (12:55 +0200)
commit07a910f022130194e5e3a762351d5613211e814d
tree14cdfe5752883e22afe34a3ab72337b5e0d971e9
parentebe1002c3d877aae90628636c7c7dc79e5f86653
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>
Makefile
vncterm.c
vncterm.h