skiptools / skiptools/skip

Document how to get custom fonts to work when targeting macOS

Open
#349 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
Swift
Stars
3.2k
Forks
106
Avg merge
6d 13h
Merged PRs (30d)
1

Description

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 https://github.com/skiptools/skipapp-showcase/pull/23 and it fixed custom fonts in that app.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No target documentation file is named. Start by locating the repository's existing macOS or font documentation and reviewing the linked skipapp-showcase PR #23 alongside Apple's ATSApplicationFontsPath guidance. Done when the repository explains the required setting and its relative path for custom fonts on macOS.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, swift
Domain
desktop-dev, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.