Skip to content

Framebuffer text approach #25

@tiger12506

Description

@tiger12506

This is merely an idea, not a complaint.

I notice that you write text to the framebuffer by having bitmap descriptions of the letters and then drawing them pixel by pixel with the DrawPixel function.

Surely it would be faster to represent the font in the Hicolor format, and locate text by character index? You could straight buffer copy then, since you have DMA to your framebuffer.

Each approach has advantages and disadvantages, but I'm surprised that this didn't even get a mention, say as an "exercise for the reader"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions