Skip to content

font issue or drawbot issue  #555

@jo-lang

Description

@jo-lang

Using the 'Hiragino Sans W1' typeface in a formatted String with a lineheight smaller than the font-size some of the text is cut off. Anyone has an idea if this is font related?

txt = 'ADABACAD\n'*10

lh = 7
fstr = FormattedString(txt, fontSize=25, font='Hiragino Sans W1', lineHeight = lh)
text(fstr, (100, 400))

fstr = FormattedString(txt, fontSize=25, lineHeight = lh)
text(fstr, (300, 400))
drawbot-cut-off-text

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