How do I get my fonts to display correctly?

0 favourites
  • 4 posts
  • When I export to HTML5 the font style does not carryover. The game displays Ariel font instead of any font of my choosing.

  • First of all, a bit more info would be useful.

    • Do you export to a server?
    • With which browser are you viewing the page?
    • Does it work in the preview?
    • Which font are you trying to export?

    Also, a .capx is always helpful.

    Without the .capx, I can't assume really much.

    It might be the case that the font is not web-safe, but to tell, I'll have to know more about your project.

  • I am using Comic Sans MS.

    I have exported to to run the HTML.

    Firefox seems to work properly but the font placement is slightly shifted and does not display the same as it does in the preview.

    My C2 preview browser is Chrome but running the exported file through Chrome and the bitballoon hosting site, it reverts to Ariel font.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Again, I will need the .capx to see what's going on.

    Or maybe at least a screenshot of the text properties and the text events in the event sheet, if any existing.

    Maybe you are using a non-websafe font style.

    Also, try to change Comic Sans to other web-safe fonts like Tahoma or Courier/Courier New and see what happens.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)