cool-retro-term icon indicating copy to clipboard operation
cool-retro-term copied to clipboard

Request: Improved PCF (bitmap) font support

Open ali1234 opened this issue 1 year ago • 0 comments

CRT already supports these if you add them to the QML and resources. Bitmap fonts have the benefit of being pixel-perfect by default, so they work with the low-resolution rasterization methods without requiring hinting/alignment tweaks. It would be nice if there was a way to use them like this without having to recompile the program. pixelSize can be automatically derived, but the other options would need to be configurable.

Here is an example of using teletext1.pcf font from Debian tvfonts package (also a custom colour scheme):

image

        ListElement{
            name: "SAA5243"
            text: "SAA5243 (1991)"
            source: "fonts/1991-saa5243/teletext1.pcf"
            lineSpacing: 0
            pixelSize: 10
            baseScaling: 3
            fontWidth: 0.666
        }

ali1234 avatar Jul 19 '22 14:07 ali1234