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

Abnormally large numbers #7

Open
Nadpher opened this issue Sep 10, 2021 · 3 comments
Open

Abnormally large numbers #7

Nadpher opened this issue Sep 10, 2021 · 3 comments

Comments

@Nadpher
Copy link

Nadpher commented Sep 10, 2021

Everything else about the hud is fine but the numbers on my hud show up like this
20210910100937_1

I'm on linux 16:9

@sbritorodr
Copy link
Contributor

Hello, Is the minmade enabled?

@Hypnootize
Copy link
Owner

Hey, I forgot to answer this before my bad. Linux renders fonts differently from windows so most fonts will look noticeably bigger then they should, in this case it looks way bigger than I expected tho, that said I'm not sure when I'll be able to properly fix that so for the meantime I would suggest to manually tune a couple of font sizes.

You can head to hexhud/resource/scheme/alternative_fonts/lexend.res and inside the file you can find a list of fonts and their "tall" value (which would be the size) and what you could do is reducing that value of about 20-30% their current value.

@sbritorodr
Copy link
Contributor

sbritorodr commented May 16, 2022

Speaking again about the topic. Maybe it's okay to add property selectors for different OS.

"tall"		"13"	[$WIN32] // windows
"tall"		"20"	[!$WIN32] // all but windows
"tall"		"20"	[$X360] // xbox 360
"tall"		"13"	[$DEMO] // watching a demo
"tall"		"36"	[$OSX] // mac
"tall"		"27"	[$LINUX] // linux

Example taken from this website: http://doodlesstuff.com/?p=tf2hud&section=publish
Will not be easy to change all display fonts to mach every bug for linux though. Maybe I could give a try in July or August in my free time.

Edit: Found it's already implemented in the code. In theory it will work by just adding the linux tag.

Edit part 2: Found also this MarkDown file. It explains some recommendations for linux support and explains that the tag is [$LINUX]

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

No branches or pull requests

3 participants