MacDownApp / MacDownApp/macdown

Provide default font values

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

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.