Page MenuHomePhabricator

Add Javanese font to WebFonts
Closed, ResolvedPublic

Description

Hi, I'm requesting to activate WebFonts for Javanese script in Javanese Wikipedia.

The font can be obtained in:

http://sites.google.com/site/jawaunicode/download
http://en.wikipedia.org/wiki/Help:Multilingual_support#Javanese

A discussion is currently being held at http://jv.wikipedia.org/wiki/Dhiskusi:Kaca_Utama and I will update the bug after a week or so.


Version: unspecified
Severity: enhancement
See Also:
http://code.google.com/p/chromium/issues/detail?id=144135
https://bugzilla.wikimedia.org/show_bug.cgi?id=45779

Details

Reference
bz39381

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:51 AM
bzimport set Reference to bz39381.
bzimport added a subscriber: Unknown Object (MLST).

I tested the font from the link on my Ubuntu machine. It seems to work in Firefox Aurora 16, although I suspect that the rendering is not perfect. It doesn't seem to work in Chromium at all. I reported an upstream bug: https://code.google.com/p/chromium/issues/detail?id=144135 .

It does work in Firefox, Chrome and IE on Windows XP.

(In reply to comment #2)

I tested the font from the link on my Ubuntu machine. It seems to work in
Firefox Aurora 16, although I suspect that the rendering is not perfect. It
doesn't seem to work in Chromium at all. I reported an upstream bug:
https://code.google.com/p/chromium/issues/detail?id=144135 .

It does work in Firefox, Chrome and IE on Windows XP.

Can you confirm that the sample text in http://jv.wikipedia.org/wiki/Cithakan:J looks like http://jv.wikipedia.org/wiki/Gambar:Ajisaka.jpg? Because unfortunately only Firefox support Graphite (smart) rendering. I tried Chrome 21 and IE 9 on Windows 7 and it didn't show up properly (the vowels didn't set up properly, and the text without font family enclosing it shows as mojibake).

Firefox (11 and above) users also need to change the config first to see it rendered properly (about:config, then change gfx.font_rendering.graphite.enabled to true). This is due to the complexity of Javanese script is still not supported by OpenType/Uniscribe (more about this on https://sites.google.com/site/jawaunicode/main-page).

Even with all that obstacles, several users have tested it and agreed to install WebFont to Javanese Wikipedia
http://jv.wikipedia.org/wiki/Dhiskusi:Kaca_Utama#Usul:_pasang_font_Jawa_ing_Wikipedia_Basa_Jawa

Created attachment 11044
correct rendering using Firefox with graphite enabled

correct rendering of the page http://jv.wikipedia.org/wiki/Cithakan:J

Attached:

correct.jpg (518×1 px, 156 KB)

Created attachment 11045
wrong rendering using Chrome (and IE)

wrong rendering of the page http://jv.wikipedia.org/w/index.php?title=Cithakan:J

The bottom part still shows correctly because it's an image http://jv.wikipedia.org/wiki/Gambar:Ajisaka.jpg

Attached:

wrong.jpg (513×1 px, 146 KB)

Confirmed, looks good in Firefox on Linux after enabling Graphite in about:config.

(In reply to comment #0)

Hi, I'm requesting to activate WebFonts for Javanese script in Javanese
Wikipedia.

The font can be obtained in:

http://sites.google.com/site/jawaunicode/download
http://en.wikipedia.org/wiki/Help:Multilingual_support#Javanese

A discussion is currently being held at
http://jv.wikipedia.org/wiki/Dhiskusi:Kaca_Utama and I will update the bug
after a week or so.

I'm extending the request for all Javanese project: jv.wp, jv.wkt, jv.wb, and map-bms.wp since a Narayam extension is currently being worked on and making it possible to write the script using standard keyboard. Thanks.

(In reply to comment #9)

Any update on this bug?

We have to fix the configuration and we'll be able to update WebFonts.

It seems that Translatewiki has deployed the latest Narayam that enable Javanese input method. What's missing is the ability to _display_ it using this extension.

No, the Chrome bug is still unanswered, and there is no solution offered in IE.

To better understand the issue, I would recommend this security review about Graphite:
https://wiki.mozilla.org/Security/Reviews/Firefox/Graphite#Introduce_Feature

Here the relevant feature summary:

"[S]mart font / font shaping technology; similiarity to opentype

  • key diff: opentype assumption is a piece of code somewhere understands the rules of the script and layout to render properly
  • this is especially true of asian script type fonts
  • opentype does not have all that is needed for these script type languages, thus support for font designers is limited
  • instead of getting additions to the OS to support a font, graphite can support it at an application level to support the font/language"

So, to have a good Javanese support, what would be needed:

  • Chrome implements Graphite engine or adds Javanese script support.
  • Firefox enables Graphite engine by default.
  • IE/Windows (I don't know at what level this is precisely done) adds support for Javanese script and layout rules.

To enable it by default, it would seem reasonable for me we would need support in two of the three browsers -or- demonstrated evidence the Javanese visitors use at 75%+ one browser.

Meanwhile, to enable it, turned off by default, would be acceptable.

Okay, I prepared the config change (note we first need the WebFonts work to be merged). Gerrit change 39578.

Nikerabbit indicates the next i18n deployment window will be next year.

This means this could be enabled 2013-01-02 or 2013-01-09.

Gerrit change 39572 has been merged, so we can now enable on a wiki the WebFonts extension, but disabled by default.

Thanks a lot. Resolved as fixed.

Edit: I'm creating separate bug for the activation since the title and thus the scope of the bug was changed from: "Enable WebFonts on the Javanese Wikipedia (jvwiki)" to "Add Javanese font to WebFonts"

See bugzilla:43359 for the new request.

I'm reopening this bug.

What has been merged is a configuration parameter to have the WebFonts extension but disabled by default.

Gerrit change 24403 should still be merged to solve this bug.

Gerrit 24403 merged, It was also ported to ULS in https://gerrit.wikimedia.org/r/53599

That also merged.

Sorry to reopen this again, but the font is not loading anymore. Thus we are requesting the font to be available again in Javanese projects

(In reply to bennylin from comment #24)

Sorry to reopen this again, but the font is not loading anymore. Thus we are
requesting the font to be available again in Javanese projects

The WebFonts extension is dead and not in use anymore.
If there is a new issue after 18 months, please file a new bug report against the "UniversalLanguageSelector" component with exact steps to reproduce (and URL, browser, etc.). Thank you!