Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated sizes of VGUI fonts #287

Merged
merged 4 commits into from
Sep 14, 2024
Merged

Updated sizes of VGUI fonts #287

merged 4 commits into from
Sep 14, 2024

Conversation

Kruphixx
Copy link
Contributor

@Kruphixx Kruphixx commented Sep 6, 2024

As per #286. You haven't specified if I should update the server browser font as well @CriticalFlaw so it's just this for now.

Before:
364529437-eff80df9-435a-4eb5-b469-b83e8b8433d0

After:
Screenshot 2024-09-06 114302

@CriticalFlaw
Copy link
Owner

Thanks. I took a look and think we'll probably need to scale more of that source window because it makes other elements look even smaller. Is there an existing mod we can reference?

@Kruphixx
Copy link
Contributor Author

Thanks. I took a look and think we'll probably need to scale more of that source window because it makes other elements look even smaller. Is there an existing mod we can reference?

I couldn't really find any mods that modify the font sizes specifically so a lot of stuff would have to be adjusted and tested manually. Shouldn't take very long, though

@Kruphixx
Copy link
Contributor Author

Kruphixx commented Sep 13, 2024

Okay I updated fonts for all other VGUI panels to be bigger. I adjusted following fonts to increase their sizes:

  • Default: 16 --> 17
  • DefaultSmall: 12 --> 14
  • DefaultBold: 16 --> 17
  • ServerBrowserSmall: 16/16/16/19/19 --> 17/17/17/20/20

I also updated some of the fonts (such as the ones above, and console text) to add antialiasing to them since they looked very pixelated after increasing the size. I think the final result is very nice.

sourcescheme

@Kruphixx Kruphixx changed the title Updated developer console font to be bigger Updated sizes of VGUI fonts Sep 13, 2024
@CriticalFlaw
Copy link
Owner

To be honest, I'm not seeing too much of a difference. I think you'll also need to add the sourcescheme.res file and modify that really increase the size of the console and browser. For sake of a test, I copied it and sourceschemebase.res from Open Fortress

20240913213518_1

@Kruphixx
Copy link
Contributor Author

I guess the difference will be more noticeable side-by-side. I don't think sourcescheme.res is needed, everything needed is in sourceschemebase.

Before:
20240914040609_1

After:
20240914041331_1

@CriticalFlaw
Copy link
Owner

Oh yeah now I see it. That actually looks quite good. Thank you again for adding this in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants