cginternals / cginternals/openll-asset-generator

No fallback when font not found

Open
#77 0 comments 1 reaction 0 assignees View on GitHub

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

  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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.