MacDownApp / MacDownApp/macdown
Provide default font values
Open
Nobody has claimed this yet.
bug
- Dominant language
- Rich Text Format
- Stars
- 9.8k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
1. Should default to something sane if `editorBaseFontInfo` is `nil`.
2. Should default to a valid font if the specified font is not found (e.g. deleted) or invalid.
Ref: https://twitter.com/nicksalloum_/status/637288600355278848
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not name files or tests; start by locating the code that reads editorBaseFontInfo and initializes the editor font. Check the nil, missing-font, and invalid-font cases, then verify that each produces a valid default font.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, objective-c
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100