Main Menu

News:

LINKS: Website | Steam | Wiki

a Font Atlas Generator

Started by Lucide, August 17, 2020, 08:38:57 AM

Previous topic - Next topic

Lucide

Hey @Kyzrati, I'd like to ask you a detail about the charset file specs: the manual states:
QuoteIndices start from 0 and proceed in row-major order, as displayed in the font bitmap, and any index not specified in the file will produce a "?" where an imagine using that glyph is exported.
The indices guaranteed to be in crescent order, right? All they can do is skip some indices?

Kyzrati

Quote from: Lucide on January 11, 2021, 11:04:24 AM
The indices guaranteed to be in crescent order, right? All they can do is skip some indices?
I'm not sure what you mean by "crescent order" (I'm guessing this is a typo for ascending order? or is it something else?).

In any case, the order does not matter at all. The sample default file just proceeds in ascending order (and skips unrelated characters) purely for convenience, but it is simply a list of matching pairs that can be provided in any order you want, one pair per line.

The "indices start from 0" part is referring to the source bitmap's layout and how to reference each glyph.
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

Lucide

Ahahah, my bad, it looks like a brain fart between ascending and increasing.
Thank you for the info