Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Andy_D_
Beginner
73 Views

Font-size is bigger in build than in Intel App Preview

Jump to solution

Hi everyone,

i'm working on a HTML-5 game with Pixi.js The problem is that when i preview my game with the Intel App Preview the font-size is smaller than when i build an Anroid Crosswalk APK. I have also noticed that the font size with the build APK is the same as when i preview my game in Google Chrome.

This is a bit anoying because i primarily use Intel App Preview in my workflow.

Does anyone know if this is a known problem and maybe how to fix it so that the font-size is the same in Intel App Preview as in the build APK? Or maybe is this a Pixi.js problem? 

Thanks!

p.s. i am using IntelXDK 3088

Tags (2)
0 Kudos
1 Solution
PaulF_IntelCorp
Employee
73 Views

There are some inconsistencies between the Crosswalk webview and the native Android webviews regarding font sizes. I have an inquiry into the Crosswalk team for clarification, but have not heard anything back. The problem is that App Preview currently uses the native Android webview, not the Crosswalk webview. If you use the Debug tab you will be debugging in a Crosswalk webview. I recommend you use this technique (Debug tab), it is also a better debug environment than App Preview.

View solution in original post

2 Replies
PaulF_IntelCorp
Employee
74 Views

There are some inconsistencies between the Crosswalk webview and the native Android webviews regarding font sizes. I have an inquiry into the Crosswalk team for clarification, but have not heard anything back. The problem is that App Preview currently uses the native Android webview, not the Crosswalk webview. If you use the Debug tab you will be debugging in a Crosswalk webview. I recommend you use this technique (Debug tab), it is also a better debug environment than App Preview.

View solution in original post

Andy_D_
Beginner
73 Views

Paul thanks for clearing this up! Never knew the debug tab used Crosswalk, i'm now using it and it's exactly what i needed!

Reply