Skip to content

Vanishing characters with TTF when using font size > 325 using Alloy / Poco #1631

@FeralFox

Description

@FeralFox

Build environment: Cloudpebble (Sorry I don't have much information here, probably Linux)

Description
I created a TTF font to draw shapes. This shape is an aperture consisting out of 8 segments. It works fine for font sizes < 324. However, when I change font size to 325, some segments start to vanish. When I increase the size further, more segments vanish, especially in the right lower section.
When I reduce the size to <324 and move the vanishing segments to the right, they are still shown.

The odd thing is, this does only happen if I draw single segments. When I draw the full picture (=All segments in a single TTF character), the full form is shown without any issues.

This behavior shown in the image below: The full shape is drawn in white as a single character. On top of that, using the same font size, there is each segment drawn in a different color. But some segments are not drawn, thus you can see the white "background" shape.

Image

Steps to Reproduce
If it helps I can provide the code used to draw the image. I cannot attach the font here unfortunately, but I can upload it if it helps.

Expected behavior
All segments are drawn

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