Page MenuHomePhabricator

Check versions of dependencies for complicated non-latin scripts
Open, LowPublic

Description

The OpenStreetMap Carto installation instructions have documentation on what Mapnik needs to properly render some scripts and they recommend

For proper rendering of non-latin scripts, particularly those with complicated diacritics and tone marks the requirements are

  • FreeType 2.6.2 or later for CJK characters
  • A recent enough version of Noto with coverage for the scripts needed.

Looking on maps1001, we have FreeType 2 2.5.2-3+deb8u2 which is known to have bugs with CJK.

I wonder why we're not having really obvious problems hitting this bug. Perhaps we're using an ancient version of the Noto CJK fonts?

Event Timeline

Pnorman created this task.Apr 21 2018, 12:14 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 21 2018, 12:14 AM
Restricted Application added a project: Maps. · View Herald TranscriptApr 25 2018, 3:07 PM
Restricted Application added a project: Discovery. · View Herald TranscriptApr 25 2018, 3:08 PM

Looking on maps1001, we have FreeType 2 2.5.2-3+deb8u2 which is known to have bugs with CJK.

Any reference to the bugs in question? We can test for those specifically.

Pnorman added a comment.EditedMay 29 2018, 8:45 PM

Any reference to the bugs in question? We can test for those specifically.

FreeType 2.5 to 2.6.1 has stem darkening turned on which causes problems with incorrect gamma correction. vholten did an investigation for openstreetmap carto. I *suspect* that we either have a version of Noto so old that it doesn't have hinting or we're not using system libraries but have freetype in a binary blob somewhere.

I'd be inclined to leave this, since updating to stretch will boost freetype to 2.6.3, and we're not getting any complaints right now. My worry was that we would tweak something unrelated and start triggering this bug.

Leaving as open until we move to stretch

Pnorman triaged this task as Low priority.Jul 3 2018, 4:08 PM
SBisson removed a subscriber: SBisson.Jul 3 2018, 4:13 PM
Mholloway moved this task from Backlog to To-do on the Maps-Sprint board.Jul 3 2018, 4:56 PM