diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2013-02-06 15:16:09 +0100 |
---|---|---|
committer | David Herrmann <dh.herrmann@googlemail.com> | 2013-02-06 15:16:09 +0100 |
commit | fc4865ed038578b659d2971f74b39ce2c73b6a99 (patch) | |
tree | 935f1685e57455a346fe2031e9f1fb8407f48b45 /.gitignore | |
parent | aad2715cf4ee8178930650e3ba61f9b60594abdd (diff) |
font: unifont: compress binary data and link via ld directly
Instead of using the blown up UTERM_FORMAT_GREY binary data, we now use an
A1 1bit alpha channel and extract the data during runtime. This guarantees
that only used characters will be extracted into the full alpha channel.
We should add support for A1 formats in uterm to avoid this problem
entirely.
We also now link the binary file directly into the module via ld. This
avoids the long compile times for the huge C-array that we previously
generated. As a side effect, you no longer run out of memory linking this
file on small machines.
With this change we could even start making unifont a default font-backend
as it now works pretty well.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ genunifont src/static_shaders.c src/genshader.c src/githead.h -src/text_font_unifont_data.c +src/font_unifont_data.bin docs/reference/*.txt docs/reference/*.bak docs/reference/kmscon.????* |