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

Document how to get custom fonts to work when targeting macOS #349

Open
dfabulich opened this issue Feb 19, 2025 · 0 comments
Open

Document how to get custom fonts to work when targeting macOS #349

dfabulich opened this issue Feb 19, 2025 · 0 comments

Comments

@dfabulich
Copy link

On macOS, you have to set ATSApplicationFontsPath.

https://developer.apple.com/documentation/BundleResources/Information-Property-List/ATSApplicationFontsPath

If you set this key, the system allows the app in the bundle to use the fonts at the specified path. Set this key to the path relative to the bundle’s Resources folder. For example, if the fonts are in .../Resources/MyFonts, set this key to MyFonts/.

It seems to work for me to set it to ./. I applied this change to the Showcase app in skiptools/skipapp-showcase#23 and it fixed custom fonts in that app.

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

No branches or pull requests

1 participant