Request: Improved PCF (bitmap) font support #740

Open
opened 2022-07-19 16:46:53 +02:00 by ali1234 · 0 comments
ali1234 commented 2022-07-19 16:46:53 +02:00 (Migrated from github.com)

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
        }
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](https://user-images.githubusercontent.com/651970/179778421-fbb6ad8f-8273-466a-a23a-cad01dfce44c.png) ``` ListElement{ name: "SAA5243" text: "SAA5243 (1991)" source: "fonts/1991-saa5243/teletext1.pcf" lineSpacing: 0 pixelSize: 10 baseScaling: 3 fontWidth: 0.666 } ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: seeseemelk/cool-retro-term#740
No description provided.