Commit Graph

20 Commits (26e2435fc6a32bb0c1084819ed6065ef20a1fcee)

Author SHA1 Message Date
chrox 26e2435fc6 render text with background and foreground 'color' 11 years ago
Qingping Hou 97cd1e79a5 add pitch argument to newBlitBufferNative 12 years ago
HW ec905a5a13 fixed various bugs in pointer handling 12 years ago
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
12 years ago
traycold 6c9ec8c896 refactoring for display help page 12 years ago
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
12 years ago
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.
12 years ago
traycold 96894ec1a5 update mupdf submodule to commit bdb6b688a238df56b2cf47fa17a08a4dd4b7a122 and small modification to source code to adapt to mupdf modifications 12 years ago
traycold ce30d9c652 use font metric to better display help page (to exted to other pages in future) 12 years ago
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
12 years ago
traycold c11ecce55a draft commit, test implementation 12 years ago
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.
12 years ago
HW 6582ad8f95 restructured glyph blitting a bit and fixed bug 13 years ago
HW c9ab02084f refactored code a bit to avoid duplication 13 years ago
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
13 years ago
HW 003fe05725 added support for (more) compiled-in fonts 13 years ago
HW a02ae3a460 Added kerning for rendering text 13 years ago
HW 04772ea3ee enable garbage collection for pdfpage and ft_face 13 years ago
HW b38b75298a fixed blitting for uneven horizontal offsets/dests 13 years ago
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.
13 years ago