2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
Commit Graph

18 Commits

Author SHA1 Message Date
HW
ec905a5a13 fixed various bugs in pointer handling 2012-04-16 22:51:13 +02:00
traycold
02dd9b023f Merge remote branch 'hwhw/master'
* hwhw/master: (183 commits)
  show infomessage on document open
  use InfoMessage for empty TOC, jump history and highlights
  copy resources dir on customupdate
  add resource: info icon
  display document open error message
  added infomessage dialog implementation
  bugfix, removed old test constant
  Added widget abstraction framework
  added interface to get blitbuffers from JPEG/PNG files
  fix typo
  added reading of pan_margin settings
  fix full screen refresh command, close #99
  add: sleep and usleep in util module
  fix: add back KEY_FW{LEFT,RIGHT} commands to NumInputBox
  reverted removal of last-doc shortcut, introduced framework restart
  kill our own child process. not quite finished.
  added line spacing setting for crereader
  remove page:getPageText debug dump to improve performance on device
  remove page:getPageText debug dump to improve performance on device
  display crash.log on error
  ...

Conflicts:
	ft.c
	helppage.lua
	inputbox.lua
	rendertext.lua
	rendertext_example.lua
	unireader.lua
2012-04-16 00:08:19 +02:00
traycold
6c9ec8c896 refactoring for display help page 2012-04-15 16:07:39 +02:00
traycold
1ff6ee44ba Merge branch 'txt'
* txt:
  use font metric to better display help page (to exted to other pages in future)
  draft commit, test implementation
2012-04-15 16:02:21 +02:00
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
traycold
96894ec1a5 update mupdf submodule to commit bdb6b688a238df56b2cf47fa17a08a4dd4b7a122 and small modification to source code to adapt to mupdf modifications 2012-03-24 17:47:52 +01:00
traycold
ce30d9c652 use font metric to better display help page (to exted to other pages in future) 2012-03-20 23:28:49 +01:00
traycold
81f99e4921 Merge remote branch 'origin/master' into txt
* origin/master:
  using font module for getting fonts (commit f95231d789)
  Password input, handling for broken documents
  factored pages count out, better error and password handling
  factored pages counter out of document struct
  make muPDF cache size configurable from Lua
  add XPS and CBZ support (muPDF provides this)
  fixed bug for odd rendering widths
  refactored muPDF integration to use strictly the fitz.h API
  forgot Makefile change when factoring out drawcontext
  fix a Lua 5.0 syntax that was deprecated in 5.1
  separate DC out of pdf.c and djvu.c (cleanup)
  removed obsolete page rotation handling, closes #70
  allow easier customization of toolchain for libdjvu
  fix: remove page number checking in displaying TOC
  fix: handle LPGBCK and LPGFWD in selectmenu
2012-03-20 22:53:20 +01:00
traycold
c11ecce55a draft commit, test implementation 2012-03-19 19:41:09 +01: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