Page MenuHomePhabricator

graphoid output looks blurry
Closed, DuplicatePublic

Description

To me graphoid output looks blurry. Especially the font-rendering of legends.

Here's an example: https://en.wikipedia.org/api/rest_v1/page/graph/png/User%3ABawolff%2Fsandbox/0/966bfb10e60fb463fe1885f50c259ba3b98b3139.png

Is there anything we can do about that? Render in high dpi? Adjust font hinting parameters? Add unsharp mask as a post-processing step?

I think part of the problem is the grey color used combined with the small size.

Event Timeline

Bawolff created this task.Mar 29 2020, 12:40 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 29 2020, 12:40 PM

No, I think there should be no poor-image in the end at all but a "true"
graph (ie interactive, tooltipable, etc).

Le dim. 29 mars 2020 à 14:40, Bawolff <no-reply@phabricator.wikimedia.org>
a écrit :

Bawolff created this task.
Bawolff added projects: Graphoid, MediaWiki-extensions-Graph.
Restricted Application added a subscriber: Aklapper. View Task
https://phabricator.wikimedia.org/T248783
*TASK DESCRIPTION*

To me graphoid output looks blurry. Especially the font-rendering of
legends.

Here's an example:
https://en.wikipedia.org/api/rest_v1/page/graph/png/User%3ABawolff%2Fsandbox/0/966bfb10e60fb463fe1885f50c259ba3b98b3139.png

Is there anything we can do about that? Render in high dpi? Adjust font
hinting parameters? Add unsharp mask as a post-processing step?

I think part of the problem is the grey color used combined with the small
size.

*TASK DETAIL*
https://phabricator.wikimedia.org/T248783

*EMAIL PREFERENCES*
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

*To: *Bawolff
*Cc: *Aklapper, Bawolff, Bouzinac, Lens0021, Capankajsmilyo, SongTake,
Base, Ricordisamoa, fbstj, Yurik, Jay8g

No, I think there should be no poor-image in the end at all but a "true"
graph (ie interactive, tooltipable, etc).

Perhaps, but that's kind of a separate discussion (See also back and forth on T211881#5509001). However, so long as we make the PNG static versions, they should at least look good.


This issue might be related to T156191