zhuowei / Xenologer

#notglass #untilnow
261 stars 57 forks source link

Problems with HTML content #25

Closed artps closed 11 years ago

artps commented 11 years ago

The text comes fine

screen shot 2013-06-21 at 11 28 04

But HTML… screen shot 2013-06-21 at 11 16 06

Anyone knows where the problem is?

// Android 4.2

zhuowei commented 11 years ago

Do you have a LogCat of the output?

artps commented 11 years ago

Yeah, I have logs: https://gist.github.com/arsemyonov/c3fb192f9db7ee1e9f53

artps commented 11 years ago

I tried to decrease resolution to 420x320, 120dpi, but got the same result. screen shot 2013-06-21 at 23 40 33

Some icons with <img> was loaded, but text — no. It's strange

zhuowei commented 11 years ago

I'll try to reproduce it on my Nexus 7. Thanks for your help.

zhuowei commented 11 years ago

Confirmed: Nexus 7 running Xenologer APKs, CNN Glassware

zhuowei commented 11 years ago

Basically, the renderer was looking for fonts where Glass stores them, in /system/glass_fonts/, and was confused when it couldn't find it. I modified the paths in the stylesheet, but then it turns out Google automatically wipes the stylesheet and replaces it with a brand new copy from the Cloud, so I disabled that updater. As a consequence, though, you need to reinstall, then clear the data associated with GlassHome.

artps commented 11 years ago

Amazing, it's working. Thanks a lot!