JBMod / jbmod

Official bug tracker and request tracker for JBMod
https://www.jbmod.com/
14 stars 1 forks source link

Better readability for the Linux client #31

Open 0x5066 opened 1 year ago

0x5066 commented 1 year ago

Is your feature request related to a problem? Please describe. On the Linux build of JBMod, the overall fonts on a stock install of EndeavourOS (and presumably other distros) are less than ideal, making the scoreboard, serverbrowser and more harder to read.

Describe the solution you'd like Including this patch I've been working on that improves readability tenfold by using the same font defines for Windows (with tiny creative liberties on some font sizes), and also including the same fonts from a Windows 10 installation, and it has been tested to not affect Windows installations at all.

https://cdn.discordapp.com/attachments/1033565198159716464/1050505299380932639/Better_Fonts_for_JBLinux.7z

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

TEAMJBMOD commented 1 year ago

I can't ship Microsoft fonts with the game. There's a reason Linux distros don't come with them. Commercial licenses for Microsoft fonts are billed annually and per device. Redistribution licenses can cost tens to hundreds of thousands of dollars per font.

While it's likely nobody would notice a couple of fonts in a niche meme game, I'm not risking copyright issues over this.

If you can find open source alternatives for those that allow redistribution (ie pretty much anything on https://fonts.google.com/) I'd be happy to include those but I can't do commercial fonts.

0x5066 commented 1 year ago

That's understandable, I'll sort out replacements for all of those, ones that look similar would be good. I'll have a look around!

0x5066 commented 1 year ago

I've gotten around to replace all fonts with ones that look somewhat similar and/or have the same typeface (sans serif and whatnot) or whatever you call it, interestingly enough the "weight" parameter has no effect, so stuff that is supposed to be fatter looking isn't (HUD labels, chat, and probably some more)

https://cdn.discordapp.com/attachments/1044447795341443103/1056381094674571334/Better_Fonts_for_JBLinux.7z

TEAMJBMOD commented 1 year ago

Thanks! These will be merged in as part of a larger effort to refresh the UI. Leaving this open for now until that's done