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

Just started using Construct 2? Post your questions here

Post » Sat Sep 13, 2014 12:32 pm

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
Founder of Jadelight Studio, Developer of Libertas Aedifex, regular C2 Help contributor and fan of ambient music and Star Wars.
B
12
S
4
Posts: 255
Reputation: 2,008

Post » Sun Sep 14, 2014 5:07 pm

Would using Webfonts solve your problem?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Mon Sep 15, 2014 1:04 am

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, :).
Founder of Jadelight Studio, Developer of Libertas Aedifex, regular C2 Help contributor and fan of ambient music and Star Wars.
B
12
S
4
Posts: 255
Reputation: 2,008


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest