Make box drawing line thickness depend on cell/font size #281

Closed
opened 10 months ago by dnkl · 0 comments
dnkl commented 10 months ago
Owner

The box drawing characters' line thickness is currently based on DPI only. I.e. their point sizes is hardcoded (to 1.0 for LIGHT characters, and 2.0 for HEAVY).

But, this means the thickness doesn't change with the font.

People tend to increase the font size as the viewing distance increases. It would make sense to increase the line thickness in the same way.

See #276 initial discussion.

@sv

The box drawing characters' line thickness is currently based on DPI **only**. I.e. their point sizes is hardcoded (to 1.0 for `LIGHT` characters, and 2.0 for `HEAVY`). But, this means the thickness doesn't change with the font. People tend to increase the font size as the viewing distance increases. It would make sense to increase the line thickness in the same way. See https://codeberg.org/dnkl/foot/issues/276#issuecomment-168246 for initial discussion. @sv
dnkl added the
enhancement
label 10 months ago
dnkl referenced this issue from a commit 9 months ago
dnkl closed this issue 9 months ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.