Details
-
Task
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
-
None
Description
Accessibility configuration options commonly include a setting for overriding the font size. The setting can either be a numerical DPI value, or a font size category (e.g. "larger fonts"). Qt should respect this setting in order to be usable for users who require a font size overrides.
Technical tasks:
- Determine which native font size settings exists on the various platforms, and how Qt should read/access the settings.
- Determine how the font size override should be applied to the Qt UI. Can we use a global DPI override, or should we introduce a new font size property?
Determining the native font size setting
This is platform dependent:
macOS: The user can configure text size in System Settings -> Accessibility -> Display -> Text (size). However, the dialog states that this setting applies to a limited list of apps only, so it is unclear if Qt apps should react to this setting.
The setting is readable from com.apple.univeralaccessm using e.g. the CFPreferences API.
Attachments
Issue Links
- depends on
-
QTBUG-136682 Accessibility: Test adjustable font sizes with Qt Creator
-
- Reported
-
- is required for
-
QTBUG-133595 Accessibility: Respect System Appearance and Theme
-
- Open
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-134670 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
633159,1 | WIP: prototype font scaling via logicalBaseDpi(). | dev | qt/qtbase | Status: NEW | -2 | 0 |