adaptions to koreader-base framework

This is not yet perfect, rendering text doesn't seem to "add" the values
correctly.