Skip to content

Label initalization very slow with bdf font #8

Closed
@rdagger

Description

@rdagger

Initializing a label takes about 10 seconds with a bitmap font. Here's my code:

font = bitmap_font.load_font('terminalpants.bdf')
text_area = label.Label(font, text='Hello world')  # VERY SLOW ~ 10 seconds
text_area.x = 10
text_area.y = 10
display.show(text_area)

Here's the bdf font: https://github.com/pixelmasochist/terminalpants

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions