Skip to content

Pixelsize after exporting to BDF is too small (1.65625) #66

@kenranunderscore

Description

@kenranunderscore

Hey, this is a newbie question in all likelihood, as I'm trying to create a monospace bitmap font for the first time. I've read in #58 that I can set the colored lines for a blank glyph, then paste it over all the others. I've then filled out the numbers 0 and 1 (left the rest blank), then exported to BDF.

But doing fc-list Fooblubber family style pixelsize it shows me a pixelsize of 1.65625, and when trying to set my font in, for instance, Konsole, I see it only in size 2. (I'm using a 96 DPI display.)

These are the first few lines of my BDF file:

STARTFONT 2.1
FONT -Fooblubber-Regular-R-Regular--16-16-75-75-c-80-iso10646-1
SIZE 16 75 75
FONTBOUNDINGBOX 10 12 0 0
STARTPROPERTIES 9
FAMILY_NAME "Fooblubber"
WEIGHT_NAME "Regular"
FONT_VERSION "Version 1.0"
FOUNDRY "Made with Bits'n'Picas by Kreative Software"
FONT_ASCENT 14
FONT_DESCENT 2
POINT_SIZE 16
X_HEIGHT 11
CAP_HEIGHT 15

What am I doing wrong here? I've checked Unifont.bdf to compare against it, and this one also sets a POINT_SIZE 160, which might make the difference?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions