I want to display the text in the size of the first image but when I package my game to html5, the text size shrinks.
I used a widget blueprint to display the text using horizontal box with simple text inside.
font size for In-editor view and windows 64 export has no problem:
![101948-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/e/2/ce2eed4f293e876924b35458f5875753513b8391.png)
but packaged html5 font size becomes tiny:
![101949-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/6/7/b67b5822cfe95b64a119fd168b1354e22001d979.png)
not sure how to fix this.
UEv4.12.5
Hey Glboom,
I have created a sample project, and imported a font in. I then created a widget blueprint with text in it. I packaged for Development as well as Shipping and ran it in HTML5. I did not have an issue with my font.
Could you provide me a sample project where this is occurring, or at least show me your blueprint set up and a link to your font?
Thanks!
I got something similar to this. package on pc worked fine. package for android and the text renderer displayed as HUGE as opposed to your tiny.
The culprit for us was the ‘world size’ setting. we were increasing from 26 → 120. After trying a few things, I fixed it by resetting world size to default, and using the x/y scale (~6.0 in both) : font size in game is now the same on both PC and mobile.