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

Loading system fonts #20

Open
KyrietS opened this issue Aug 24, 2022 · 0 comments
Open

Loading system fonts #20

KyrietS opened this issue Aug 24, 2022 · 0 comments
Labels
feature New feature

Comments

@KyrietS
Copy link
Owner

KyrietS commented Aug 24, 2022

https://stackoverflow.com/questions/3954223/platform-independent-way-to-get-font-directory/3955069#3955069

Create a separate library that will use:

#include <Windows.h>
TCHAR windir[MAX_PATH];
GetWindowsDirectory(windir, MAX_PATH);

on Windows and some hardcoded paths on Linux for finding fonts.

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

No branches or pull requests

1 participant