Skip to content

Disable font hinting for manuscript print #2640

@vkbo

Description

@vkbo

The Build Manuscript dialog should also disable font hinting when preparing the document for print. This implies it needs to be regenerated before sendt to the print dialog.

See: https://doc.qt.io/qt-6/qfont.html#HintingPreference-enum

The "Print" function produces the wrong kerning though(*), both in the "Print Preview" and in the pdf built with "Microsoft Print to PDF". Maybe it's not caught by the if self._printer: conditional?

(*) for higher font sizes of Times New Roman, the kerning is fine. For TNR 12 and below, it's bad.

Originally posted by @HeyMyian in #2637

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue: Something isn't workingbuild toolComponent: Exports or the build toolformattingIssue: Output formatting

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions