Small font should be at most 6 pixels tall with no descender.

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Domain
design, game-dev

Research direction

Start by reviewing the small sprite-font assets in OpenGFX and the linked OpenTTD#8905 report. Identify the asset used for the small font, then adjust it so the font is at most 6 pixels tall and has no descenders by removing lowercase letters. Done means the updated font fits the window bounds and matches the stated sprite-size constraint.

Written by the indexing model from the issue text.

Description

As seen in OpenTTD/OpenTTD#8905, the OpenGFX's small font is too large for window bounds. Sprite fonts are expected to be a specific size.

img

The only real solution to this is to remove lowercase letters so that no descenders are necessary.

Dominant language
JavaScript
Stars
64
Forks
27
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from OpenTTD/OpenGFX

All issues in OpenTTD/OpenGFX

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.