View Single Post
Old 05-08-2012, 10:22 AM   #366
NuPogodi
Connoisseur
NuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the end
 
Posts: 58
Karma: 31942
Join Date: Feb 2012
Device: Kindle 3, Tolino Shine, Kobo Glo
Quote:
Originally Posted by hawhill View Post
The muPDF and the djvulibre engines already have such a feature, it is needed to implement highlighting (eventually, commenting etc.). So expect it to be present at some point.
As the rough alternative for crengine-based docs, i can try to implement autoscrolling feature with the refresh time estimated, as the first approximation, from the font size.
Quote:
Originally Posted by hawhill View Post
Do you have experiences on how the TTS engine interfaces with the framework?
Not at all. But I've used standard os-function
Quote:
function say(text)
os.execute("say " .. "\"" .. text .. "\"")
end
to replace, for example, yours showInfoMsgWithDelay(any_text,delay_ms,1) by say(any_text). And it works properly. Well, i know, i know... it's not enough to run the reading process, one has also to control the time point when it disappears from the running processes and, then, to feed the next text portion (and probably to display next page).
NuPogodi is offline   Reply With Quote