Add kmscon_font type
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 26 Nov 2011 15:33:06 +0000 (16:33 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 26 Nov 2011 15:33:06 +0000 (16:33 +0100)
commit27807e913e8d1a87c5663c0eebad46a783a8faa5
tree593db38cbe103f1eaabed05e9701ca47722ea459
parenta33f9f589c5d8a652496778257dabcc8c9b6a83a
Add kmscon_font type

A kmscon_font object is used to store the current font information. It allows to
draw any kind of UTF-8 string to the screen. Internally, it uses kmscon_glyph to
store glyph information for every character that has been drawn so redrawing it
is much faster.

Currently, we only support GLYPH_LAYOUT as caching method which is quite slow.
However, it supports any kind of input and always works. Better and faster
caching algorithms like cairo_scaled_font_t will be added later.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/console.h
src/console_char.c