Skip to content

Comments

Unifont scale#275

Merged
kdj0c merged 4 commits intokmscon:mainfrom
kdj0c:unifont_scale
Feb 6, 2026
Merged

Unifont scale#275
kdj0c merged 4 commits intokmscon:mainfrom
kdj0c:unifont_scale

Conversation

@kdj0c
Copy link
Contributor

@kdj0c kdj0c commented Feb 5, 2026

Add integer scaling to unifont.

Jocelyn Falempe added 4 commits February 5, 2026 11:19
This breaks find_glyph in smaller chunks, easier to understand

Signed-off-by: Jocelyn Falempe <[email protected]>
Font caching should be done locally, which will allows to have
scaling support.

Signed-off-by: Jocelyn Falempe <[email protected]>
Basic integer scaling, to help read the terminal on HiDPI monitor.

Signed-off-by: Jocelyn Falempe <[email protected]>
As unifont only supports integer scaling, add a parameter so that
each press to increase font size, will increase scaling factor by 1
Otherwise you need to press 16x ctrl<+> to change the font size.

Signed-off-by: Jocelyn Falempe <[email protected]>
@kdj0c kdj0c merged commit 401df12 into kmscon:main Feb 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant