Re: Wasted a day on an Android bug...

2012-06-05 Thread Tor Lillqvist
> What I'm doing now is to combine this code with DocumentLoader to > render actual LibreOffice documents. Great! Note that I am working on a more "permanent" API for the document loading and rendering, one that can be used both from Android Java code, and from iOS code (C++ (or Objective-C++)). B

Re: Wasted a day on an Android bug...

2012-06-05 Thread Iain Billett
Just a quick update of where I'm at. I've implemented an OpenGL graphics surface and can render a resource bitmap onto a plane. I've also got pinch-to-zoom and scrolling the "document" working but that still needs some work. What I'm doing now is to combine this code with DocumentLoader to render a

Wasted a day on an Android bug...

2012-06-02 Thread Tor Lillqvist
Spent most of yesterday wondering what the heck is wrong with my code and desperately trying one thing after another; after some enhancements to the DocumentLoader test code, the bitmap of LO-rendered text I was displaying had all the text in a light green colour (and not black). After all, it's mo