2
0
mirror of https://github.com/koreader/koreader synced 2024-11-16 06:12:56 +00:00
Commit Graph

10 Commits

Author SHA1 Message Date
HW
ec2eda0c05 switched font handling to only work with external fonts
now you can use a environment variable, FONTDIR, to point
to a font dir. Otherwise, "./fonts" is used by default.
Subdirectories are indexed.
2012-04-09 19:04:26 +02:00
HW
8869c52c31 fix a Lua 5.0 syntax that was deprecated in 5.1
luaL_reg is now renamed to luaL_Reg. Lua 5.2 does not know about
the old name anymore, Lua 5.1.x had backward compatibility.
2012-03-19 19:11:32 +01:00
HW
6582ad8f95 restructured glyph blitting a bit and fixed bug 2011-12-08 00:39:40 +01:00
HW
c9ab02084f refactored code a bit to avoid duplication 2011-12-02 22:28:48 +01:00
HW
f739baff5f moved blitting over to blitbuffer API
the framebuffer "object" now has a "member" that exposes the blitbuffer
API for the framebuffer pixmap. This allows to reuse blitting & Co for
blitbuffer-to-blitbuffer operations
2011-12-02 01:31:13 +01:00
HW
003fe05725 added support for (more) compiled-in fonts 2011-12-01 16:31:40 +01:00
HW
a02ae3a460 Added kerning for rendering text 2011-12-01 16:11:43 +01:00
HW
04772ea3ee enable garbage collection for pdfpage and ft_face 2011-12-01 14:33:17 +01:00
HW
b38b75298a fixed blitting for uneven horizontal offsets/dests 2011-12-01 14:28:10 +01:00
HW
f307264fb6 added freetype text rendering (still buggy)
this allows to render glyphs and also brings a simple
engine for rendering UTF-8 strings onto the framebuffer.
blitting to uneven offset is implemented here, too, but
needs more work and is still buggy.

In the end, this will allow for a simple GUI.
2011-12-01 01:35:53 +01:00