korlibs / korlibs/korge

Support constructing Bitmap fonts on the fly by updating an atlas based on a TTF font

Open
#1,112 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Kotlin
Stars
3k
Forks
148
Avg merge
13h 44m
Merged PRs (30d)
1

Description

We can include unicode ranges as long as one item in that range is requested. For example: if a leter is requested, we can include all the english leters, the same for numbers and for accented chars.
We should be able to construct plain BitmapFonts and BitmapFonts with MSDF or SDF.

Related issues:
* https://github.com/korlibs/korge/pull/1109
* https://github.com/korlibs/korge/issues/1107

The idea is to convert the default TTF font into a default lazy-computed MSDF font for quickly render text, but only compute glyphs on demand.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading related PR #1109 and issue #1107 to understand the existing font work. Done means supporting on-demand atlas updates from a default TTF font, including requested Unicode ranges and plain, MSDF, and SDF BitmapFonts.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.