Sign in to follow this  
Followers 0
binhnx

Antialiasing Default GUI Font

2 posts in this topic

Hi, I'm using GUICtrlSetFont() to set the font of a label control in my GUI.

I only need to set it to bold font. All other font params should be OS default. So I am currently using :

GUICtrlSetFont(-1, 9, 600)

It's NOT WORK!!!

The font used is NOT the currently OS setting. Instead, it's the LAGACY FONT often used in LAGACY APPLICATION, without CommonControls!!! And this font is NOT ANTIALIASED definitely!!!
Set quality parameter to 4 ($ANTIALIASED_QUALITY), not works

Set quality parameter to every other possible, not works

So, I wonder how I can archive my goal. Do NOT tell me that I need to hard code the font used in the GUI!!!


99 little bugs in the code

99 little bugs!

Take one down, patch it around

117 little bugs in the code!

Share this post


Link to post
Share on other sites



OK, sorry about this post. It's my fault!!!

The font weight should be 700 (default bold), not 600. 


99 little bugs in the code

99 little bugs!

Take one down, patch it around

117 little bugs in the code!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0