Page MenuHomePhabricator

Graphoid should handle font fallback/selection for all Unicode planes
Closed, DeclinedPublic

Description

Chinese characters are rendered as unicode hashes by Graphoid service, e.g. https://zh.wikipedia.org/wiki/User:Shizhao/%E6%B2%99%E7%9B%92

Graphoid needs to select a font, or multiple fonts, on the basis of the required characters. One library able to do so is pangocairo, as in this example: https://gist.github.com/santhoshtr/bea3da00651bcd18e282

See also: https://meta.wikimedia.org/wiki/Fonts

Event Timeline

Nemo_bis renamed this task from Graphoid should use international fonts to Graphoid should handle font fallback/selection for all Unicode planes.Feb 22 2016, 7:44 AM
Nemo_bis updated the task description. (Show Details)
Nemo_bis added a project: I18n.

@Nemo_bis, yeah, seems similar. Vega lib uses on-canvas drawing, and I suspect we need to connect various fonts to it, if they are available. We might also have a 'per-wiki' settings for choosing fonts.

We might also have a 'per-wiki' settings for choosing fonts.

Please don't... if you need to find special fonts, use those in the ULS repository.

T98836 (Chinese) and T136399 (Japanese) fixed, other Unicode planes don't understand

The problem is that available fonts are not used, not that the fonts are actually lacking.

debt added a subscriber: debt.

Moving off the sprint board - the Discovery team won't be able to finish this work at this time.

VulpesVulpes825 moved this task from Extensions/Skins to Closed on the Chinese-Sites board.
VulpesVulpes825 added a subscriber: VulpesVulpes825.

Due to the current un-deployment of Graphoid (See T242855), declining the task as won't be fixed.