chiark / gitweb /
terminal: add unifont_get_width/height()
authorDavid Herrmann <dh.herrmann@gmail.com>
Wed, 1 Oct 2014 09:24:08 +0000 (11:24 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Thu, 2 Oct 2014 06:40:43 +0000 (08:40 +0200)
commitfa9653457302c106f8d47060ef3dda2b4c8038a8
treedc9e6d240de9153717b63c77b661baf58892c5ee
parentc2977e5cb874e696994bcb93b8148f52c315b901
terminal: add unifont_get_width/height()

Allow unifont users to retrieve the width and height of unifont glyphs. In
version 1 this is hard-coded as 8/16, but may be changed in the future.
src/libsystemd-terminal/unifont.c
src/libsystemd-terminal/unifont.h