android - Custom font in WebView using CSS intermittently disappearing on Galaxy Tab -


i got problem similar one

in case, i'm using css declare font in css file:

@font-face {     font-family: myriadpro;     font-weight: bold;     src: url('../resources/myriadpro-bold.otf'); } 

use in style:

.ueberschrift {     font-family: myriadpro, sans-serif;     font-size: 2.4em;     font-weight: bold;     line-height: 100% !important;     margin: 0 0 0.4em 0; } 

which displays fine on samsung smartphone, acer- or motorola tablet. however, on samsumg galaxy tab, font disappears lot of time. space font allocated, nothing rendered. make matters worse, bug appear 3 out of 4 times, 1 in 4 times font rendered. check following screenshots:

font rendered

font not rendered

any ideas?

try declaring full path of url. had issue similar when using webink, managed resolve when used full path.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -