Skip to content

Comments

add font loader#16

Open
CrazyHPi wants to merge 5 commits intoOrnitheMC:mainfrom
CrazyHPi:font-loader
Open

add font loader#16
CrazyHPi wants to merge 5 commits intoOrnitheMC:mainfrom
CrazyHPi:font-loader

Conversation

@CrazyHPi
Copy link

This will try to load fonts specified in res/font/fonts.json from the operating system.

For Mac and Windows, it will try to load from the system path.
For Linux, it uses fontconfig to find the font path and load it from there.

To add additional fonts, simply add the font name to fonts.json

@CrazyHPi
Copy link
Author

oops forgot about #14 commit, I'll force push it once.

@moehreag
Copy link
Member

I like the approach, but there are a few questions and potential improvements.

@moehreag
Copy link
Member

There are still a few warnings in the build logs, could you deal with them? After that I think this is ready to be merged.

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