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

Custom Fonts. #52

Open
Wafelowski opened this issue Feb 16, 2019 · 6 comments
Open

Custom Fonts. #52

Wafelowski opened this issue Feb 16, 2019 · 6 comments

Comments

@Wafelowski
Copy link

Maybe a option to install Custom Fonts using URL or pasting them in addons? Something like this: https://steamcommunity.com/sharedfiles/filedetails/?id=1602122798&searchtext=Font

@Cherry
Copy link
Owner

Cherry commented Feb 16, 2019

Thanks for the feature request! This is an unlikely addition as I want to keep the addon as lightweight as possible, but I'll consider it in a future update.

Licensing with fonts can be tricky too, and some require an additional license to distribute - I'm unlikely to ever include any fonts that aren't public domain, or have very flexible licenses.

@wciesialka
Copy link

If there's no possible support for custom addons, what about adding a serif font? All the current fonts are sans serif and, while they look nice, sometimes a serif font would be nice.

@Cherry
Copy link
Owner

Cherry commented Jun 30, 2019

@wciesialka I'd be open to it. I don't see a serif font that's shipped by default in GMod though? https://wiki.garrysmod.com/page/Default_Fonts

So I'd have to ship a font (with applicable license) with the addon, inflating its filesize. I'm open to it. Do you have a font in mind?

PS. You can technically add your own fonts to the addon via the "internal" textscreensFonts table: https://github.com/Cherry/3D2D-Textscreens/blob/master/lua/textscreens_config.lua. This is completely and intentionally undocumented though because I use indexes to determine which font to use, and manipulation of this table could cause issues between versions if I change it.

@wciesialka
Copy link

wciesialka commented Jul 2, 2019

I'm not a graphical artist, so I've not really got a favorite Serif font, so ultimately I'd trust your word over anything. I've found a few fonts with licenses to embed in software or applications, which I'd assume covers Garry's Mod addons, over at Fontsquirrel. One font that stood out to me, however, was Latin Modern Roman. It seems to fit the bill of being a clean, regular Serif font. Abhaya Libre also caught my eye.

@Cherry
Copy link
Owner

Cherry commented Jul 2, 2019

The "GUST Font License" license looks good for distribution. Thanks for taking a look.

I'll review things and update this when I can. I'm heading out of the country this weekend, so it may towards the end of the month before I can look at this again.

@Cherry Cherry added the fonts label Jul 29, 2019
@AliceDTRH
Copy link

Before adding custom fonts, please make sure they work on MacOS and Linux as I've had issues with custom fonts on those operating systems in the past.

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

No branches or pull requests

4 participants