Commit Graph

263 Commits (master)

Author SHA1 Message Date
Qingping Hou efa37c97ab bug fix in readerfont
After set font in ReaderFont:onReadSettings, we have to send UpdatePos
event in order to set m_is_rendered(member of LVDocView) to true.

Otherwise position inside document will be reset to 0 on first view
render, this makes the first page of document is always displayed on
document open.

So far, I don't know why this call will alter the value of m_is_rendered.
It just works...
12 years ago
Qingping Hou 5d1c98e90a add setFontSize to credocument.lua 12 years ago
Qingping Hou 1675d8667b add cre view mode support in frontend 12 years ago
Qingping Hou e3617676a1 fix deprecated debug call in credocument.lua 12 years ago
Tigran Aivazian d551e7fb63 Cleanup crereader fonts initialization.
Don't try to register the two fonts Dingbats.cff and StandardSymL.cff
with crengine because it will reject them anyway. But we cannot simply
remove these two fonts because they are used internally by mupdf to
emulate "builtin" fonts which are mandated by Adobe PDF specification to
be present in every valid implementation.
12 years ago
Qingping Hou 25af917170 call cre.initCache() in CreDocument:engineInit() 12 years ago
Qingping Hou bad329811d add line space control feature for credocument 12 years ago
Qingping Hou b3cdbeee19 add font size control feature for credocument
also rename getFont to getFontFace
12 years ago
Qingping Hou acaf8d660e font menu for readerui 12 years ago
Qingping Hou 77761554d9 add CreDocument:engineInit() method 12 years ago
Qingping Hou 2b39ba8b83 register all the supported formats for crengine 12 years ago
HW ce5614ef6f cleanup, also removal of G_* constants
a bit of cleanup, switched width/height combo over to use
Geom() objects, moved framebuffer handling to Screen object,
callback syntax sanitizing, lots of small changes
12 years ago
Qingping Hou e7d16de4e2 first demo for credocument 12 years ago