Skip to content

scale text width and height so that substitute fonts fit in with expected parameters #12

@olivetthered

Description

@olivetthered

Use QFontMatricies to calculate the size and height of lines of text
Update the text scaling for each line so that it fits in with the position of the last character on the line +dx . Scale up if the font isn't big enough
Set the text height scaling, throughout based on the maximum text height and the line spacing that's been calculated as another feature.

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