Page MenuHomePhabricator

SPIKE: investigate the default font-family in WebView and a proper way of setting it
Open, MediumPublicSpike

Description

Related to the tickets:
https://phabricator.wikimedia.org/T264445
https://phabricator.wikimedia.org/T263259

In the feed card redesign ticket, we set the article title font-family to serif, which works for every language.

But in WebView, we can notice that the article title is still set to a default font-family in Chinese, Japanese, or other non-Latin characters.

In English or other Latin characters, the title shows in the correct font-family, e.g. (serif or sans-serif).

It would be great to find out the default font-family for non-Latin characters and also find out a proper way of setting the font-family in Webview.

Event Timeline

cooltey created this task.Oct 22 2020, 9:50 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 22 2020, 9:50 PM
Restricted Application changed the subtype of this task from "Task" to "Spike". · View Herald TranscriptOct 26 2020, 4:08 PM
LGoto triaged this task as Medium priority.Oct 26 2020, 4:11 PM
LGoto moved this task from Needs Triage to UX Debt Backlog on the Wikipedia-Android-App-Backlog board.