Skip to content

Text rendering/shaping with FreeType+HarfBuzz to pixel buffers. #4

@Demonstrandum

Description

@Demonstrandum

Text is not a rectangle with a texture (although it actually is), that would be misleading to conventional fill and stroke functions, which would behave like this is a rectangle, and not stroke/fill the actual text.

Text is handled separately, and is regarded as a primitive geometry.

Handle alignment, shaping, styling, sizing, fonts, hinting, option, all within a big record which can be translated to what harfbuzz understands.
functions like text should be incredibly simple (in contrast) however.

text :: Font -> String -> Shape

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions