Unified font metrics utilities
Open
difficulty: intermediate
Feature
toolkit: Qt
toolkit: Wx
type: enhancement
- Dominant language
- Python
- Stars
- 115
- Forks
- 54
- PR merge metrics
- No merged PRs in 30d
Description
In a few places Pyface needs to query font metrics for sizes (how big is this text when rendered, so I can size this widget? etc.). There is currently no unified way of doing this, and this is exacerbated by Qt 5.11+ having a new API for some of these metrics.
There should be a nice way of asking "how big is this piece of text in this font"?
See also Enable's font metric objects.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.