Skip to content

Missing spacing in fons__getQuad() ? #43

@ghost

Description

When calculating the advance in fons__getQuad(), on line 1244:

*x += (int)(glyph->xadv / 10.0f + 0.5f);

Shouldn't the spacing be added somewhere like it is on line 1203:

*x += (int)(adv + spacing + 0.5f);

When you set -1 as letter spacing in nanovg, the result looks as if it set to 0.

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