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

Create Wiki page, or documentation in code, describing how to test custom fonts #1174

Open
benlk opened this issue Oct 7, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@benlk
Copy link

benlk commented Oct 7, 2024

Description of the documentation inaccuracy

Brief description:

  • write full description of how to specify custom font files, gathering bits and pieces from previous comments in issues
  • write description of how to test custom fonts in Apple News without access to upload new fonts to the News Publisher backend, or without channel ID that matches
  • document requirements for font files in local testing

This will help fill some gaps in the official Apple News docs regarding custom fonts.

Additional Information

Parts of this:

Outstanding questions:

  • is it possible within ANF to specify a URL to load a font from?
@benlk benlk added the documentation Improvements or additions to documentation label Oct 7, 2024
@kevinfodness
Copy link
Member

With the most recent version of Publish to Apple News, any custom font files that are associated with your channel will automatically show up in the list of selectable fonts in the theme editor, which makes this process significantly easier. You won't be able to use custom fonts on your articles unless they are uploaded to your channel in any case, so it's a good idea to start by getting the custom fonts added to your channel.

@benlk
Copy link
Author

benlk commented Oct 12, 2024

The issue that we've encountered is that, though the fonts are uploaded to the channel, they are not available in News Preview.app, unless the fonts are either 1) installed via Font Book.app or 2) placed in the same folder as article.json.

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

No branches or pull requests

2 participants