Closed Bug 955959 Opened 12 years ago Closed 7 years ago

[Settings] [User Story] System font size setting

Categories

(Firefox OS Graveyard :: Gaia::Settings, enhancement)

ARM
Gonk (Firefox OS)
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: ecui, Unassigned)

References

Details

(Keywords: access, Whiteboard: [red-tai])

User Story: As a user, I would like to configure system font size with some choices like small/normal/large/huge. When I select a font size, it should take effect to all the system apps (like settings, homescreen, dialer, message, browser etc.).
Severity: normal → enhancement
Keywords: access
Whiteboard: [red-tai]
The mozbrowser API "zoom()" (see Bug 1044066) may be a reference to fulfill the user story. With this API the system app can simply zoom (and reflow) each app window according to the settings. We may also apply this feature to 3rd-party app since the system app is the only one who needs to react to the settings change. (Note that the UI within system app should be resized manually because you can't call mozbrowser API to an iframe itself. Otherwise, we may control it in "shell.js" via "mozContentEvent".) By default, this API is associated to "fullZoom" value in "docshell" [1] which means the images will be resized as well when zooming. Since we'd prefer to change font size only, we may need to invent a similar API associated to "textZoom" value [2] instead. [1] https://dxr.mozilla.org/mozilla-central/source/docshell/base/nsIContentViewer.idl#213 [2] https://dxr.mozilla.org/mozilla-central/source/docshell/base/nsIContentViewer.idl#210
See Also: → 1044066
For those who would like to take this bug: Due to the patch in bug 1044066 aims to v2.1 and we've moved mozbrowser API to webidl since v2.2, attachment #8552986 [details] [diff] [review] may be a better practice for v2.2 API implementation.
When we try using Commnet 2, the textZoom is more suitable than fullZoom. When I checked, only fullZoom interface is added to master. Could we add the textZoom API?
Flags: needinfo?(whuang)
(In reply to jongsoo.oh from comment #4) > When we try using Commnet 2, the textZoom is more suitable than fullZoom. > When I checked, only fullZoom interface is added to master. > Could we add the textZoom API? sounds good. Do you plan to land it to 2.2R?
Flags: needinfo?(zzongsoo)
feature-b2g: --- → 2.2r?
Flags: needinfo?(whuang)
The API can add. but the gaia also has a new set for large text because some structure is broken.
Flags: needinfo?(zzongsoo)
feature-b2g: 2.2r? → ---
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.