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

Text Chat font looks weird through Wine on Mac #579

Closed
jeffzyliu opened this issue Jan 18, 2025 · 8 comments
Closed

Text Chat font looks weird through Wine on Mac #579

jeffzyliu opened this issue Jan 18, 2025 · 8 comments
Assignees
Labels

Comments

@jeffzyliu
Copy link

jeffzyliu commented Jan 18, 2025

I'm running tf2 through CrossOver/Wine on a MacBook Pro M4 Pro. I'm using Mastercomfig medium settings with minimal changes.

The new font changes as of release 2501_01 are great in most places, but the text chat window looks bad and difficult to read:

Image

Also, the same issue appears for the scoreboard:

Image

The past release, 2412_01, looked better:

Image

Image

Could this be fixed?

@rbjaxter
Copy link
Owner

Would you be willing to test something for me? If so, I'll have a small change that should result in the default font being used on Mac for these specific instances. I'm not sure what's causing the behavior, it's rather bizarre

@rbjaxter
Copy link
Owner

If you are willing, try moving your current version of budhud to your desktop (or wherever as a backup) and downloading this version of the hud: https://github.com/rbjaxter/budhud/tree/font-issues

It only makes changes to two files, and should help narrow down for me if it's the font itself or something else (font weight or something). I'm guessing it has to do with the font itself, and only in specific instances (for some reason).

@jeffzyliu
Copy link
Author

I was just messing around with almost the same thing! (didn't know about the POSIX thing; I just replaced the font back to Verdana)

I changed ChatFont and Default (not DefaultSmall or DefaultVerySmall) and it seems to have fixed it for me. I didn't notice bad side effects.

I will now try your patch with ChatFont, DefaultSmall, and DefaultVerySmall fixed, and let you know shortly.

@jeffzyliu
Copy link
Author

I'm on font-issues branch now. Unfortunately, none of the POSIX switches are working. I think this is because Wine is pretending to be a windows system to the game.

I also found clipped font here on the store.
Image

@jeffzyliu
Copy link
Author

jeffzyliu commented Jan 18, 2025

Hardcoding exactly ChatFont, DefaultSmall, and DefaultVerySmall to Verdana fixes the chat issue, but not the scoreboard or store issues.

Hardcoding ChatFont and Default to Verdana fixes chat and scoreboard, but not the store font.

The POSIX check will not be useful for me, but may be useful for Linux users.

Another thought--maybe this could be related to font height/weight for me instead?

@rbjaxter
Copy link
Owner

rbjaxter commented Jan 18, 2025 via email

rbjaxter added a commit that referenced this issue Jan 20, 2025
@rbjaxter
Copy link
Owner

I posted in the Discord but I should probably comment it here as well. I'm not sure if there are any other Mac OS users that could test out this branch of the hud to see if their problems go away. If TF2 treats your OS as though it's Windows it won't make a difference of course, but otherwise I could definitely use someone else testing it

@rbjaxter rbjaxter added the Need Help Used for issues that I'm struggling to resolve. Help's appreciated if you have potential solutions! label Jan 28, 2025
@rbjaxter rbjaxter self-assigned this Feb 1, 2025
@rbjaxter
Copy link
Owner

rbjaxter commented Feb 1, 2025

I've merged my changes for now since I haven't heard back from anyone, so I guess we'll see if anyone runs into any issues

@rbjaxter rbjaxter closed this as completed Feb 1, 2025
@rbjaxter rbjaxter removed the Need Help Used for issues that I'm struggling to resolve. Help's appreciated if you have potential solutions! label Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants