Even out Sans and Serif at the same text size (after #148) #150
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
schaefera/utStudyBIble#150
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Scheduled by the owner to follow the redesigned views: start after all of #148 is done.
From the phone check of #149: Sans looks much larger than Serif at the same text size.
Why
It isn't a bug. Both faces get the same pixel size (
Theme.textSize, 18 px at 100%), but the fonts fill it differently:Proposal
Scale Sans to about 85% of Serif's size, so 100% looks about the same in either face and switching doesn't jump. That sits between the height and width differences (81% and 88%); tune it from shots. Scaling Serif up instead would make the default text take more room and every chapter longer.
qml/theme/Theme.qml, used by the reading pane and the Text and layout sample.qml/pages/TextLayoutPage.qmlworks out its own size today, so it has to take the same factor.🤖 Generated with Claude Code