Skip to content

horiz-adv-x property is missing from all-vertical glyphs (i,I,|) in SVG Font #6

@golanlevin

Description

@golanlevin

Hello,

Thanks for your lovely work on the Relief single-line font. I have been developing a project to load/display single-line SVG fonts in p5.js, a popular toolkit for creative coding: https://editor.p5js.org/golan/sketches/T-Vf4vvaR

While developing this I noticed that the glyphs i, I, and | had no horiz-adv-x property in the SVG Font file, ReliefSingleLine-Regular.svg. As a result, typesetting with these characters was broken.

You can see this here:

Related characters (Iacute, Ibreve, Icircumflex, etc.) also have this problem.
I added horiz-adv-x="340" to those glyph definitions in my local copy, and that fixed the problem.

Best wishes,
Golan

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