Changing button font to match what is used in text objects?

  • Hey, everyone,

    I know we can change button styles with CSS, but text objects are using a font from the Font directory and bundling that with the .exe when exported. If we change the button font using CSS using the font-family property to the same font, when exported, is it going to reference the packaged font or still manually look it up from the system and become an incompatibility? I want to make my buttons match the rest of the text objects in the GUI. I know that I can technically just use sprites with the text in them and use any text colour changes as an animation frame, but I'd rather use the proper Button object to save processing and time.

    Many thanks!

    - inquiesco

  • Would using Webfonts solve your problem?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I was hoping to not have to use Webfonts, as if I can save calling a server, all the better. But I'll test an export build without Webfonts first and see if it packages it still and if not, will consider it.

    Cheers for the response, .

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