cginternals / cginternals/openll-asset-generator
No fallback when font not found
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 8
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Currently, if the given font is not found, a fallback font is used.
This means that a user might not notice that the given font name has a typo (e.g., `Verana` instead of `Verdana`), until (s)he opens the fnt-file and examine the font name in the first line.
Proposal: if font is not found, return with an appropriate error code and don't create the font asset at all.
Contributor guide
No contributing guide indexed for this repository
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
Start by tracing the font lookup and asset-generation flow to find where a missing font is replaced by a fallback. Confirm how errors are reported and how creation is skipped; done means an appropriate error code is returned and no font asset is created when the requested font is unavailable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100