Font disappear after lost focus on Android using Ogre3D

Discussion of features and help with problems encountered while using libRocket

Font disappear after lost focus on Android using Ogre3D

Postby technique on Wed Nov 20, 2013 1:09 pm

Hi folks!

I m using libRocket on Ogre3D (1.9. RC1&2) and after resolving a few bugs (original Thread: http://www.ogre3d.org/forums/viewtopic.php?f=21&t=79435 ) - its working fine. But i got a serious problem if the android application lost the focus (moving to the homescreen) and gain it again (back to the app). All fonts disappear after showing up the app again. If i reset a font programmatically (set text using SetInnerRML()) its shown up right. so i think its not a rendering problem.

i tried also to close a document and reload the rml file (which contains text) - directly on the gained focus event but the text stays invisible. this might be a bug of libRocket or the ogre-render-interface but i dont know much about the libRocket internals so hopefully someone with more knowledge might help here?
technique
 
Posts: 2
Joined: Tue Jul 30, 2013 7:19 pm

Return to Using libRocket