Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |
ideas:visual_novel [2025/06/27 03:10] – Add font information rainbowdash | ideas:visual_novel [2025/06/27 03:12] (current) – heading rainbowdash |
---|
11:19 < confusomu> it can be done on a pc and then i can port it | 11:19 < confusomu> it can be done on a pc and then i can port it |
</code> | </code> |
| |
| ===== Font ===== |
| |
The font used was "Sans-serif" (9 px size) in GIMP. It is visible here on the right: {{ :ideas:9px_visual_novel_font.png?direct|}} | The font used was "Sans-serif" (9 px size) in GIMP. It is visible here on the right: {{ :ideas:9px_visual_novel_font.png?direct|}} |
| |
I'll have to write a font renderer that does not place letters in a monospaced grid. Shouldn't be too hard: in the draw column loop: if ''num_continuous_fully_empty_col > 2'' then start drawing the next character. The ''2'' could change depending on the previous and current char for ligatures (have a table of them and the empty_cols space between them). | I'll have to write a font renderer that does not place letters in a monospaced grid. Shouldn't be too hard: in the draw column loop: if ''num_continuous_fully_empty_col > 2'' then start drawing the next character. The ''2'' could change depending on the previous and current char for ligatures (have a table of them and the empty_cols space between them). |