GNOME Bugzilla – Bug 436699
N'Ko support
Last modified: 2007-05-23 02:00:47 UTC
Please add support for N'Ko writting system.
Created attachment 87747 [details] [review] patch for N'Ko support in pango This patch adds support for N'Ko opentype shaping. Needed glyphs were added in Unicode 5.0. Patch is based on Unicode data files, "Proposal to add the N'Ko script to the BMP of the UCS" and Syriac shaping module.
Thanks. Do you have any fonts to test this?
(In reply to comment #2) > Thanks. Do you have any fonts to test this? > I'm working on N'Ko support in DejaVu, there are only several glyphs done, it is available in nko branch in the repository (http://dejavu.svn.sourceforge.net/svnroot/dejavu/branches/nko). I can provide ttf if needed. You can also test shaping with non-free Code2000, but it does not have anchors for combining marks. I do not know about other opentype fonts that support N'Ko.
I have drastically simplified arabic-fc.c. Can you update your patch? At some point I want to merge arabic, syriac, and n'ko modules. But maybe we should simply add n'ko to the current arabic module? It's just a matter of adding the joining table. The rest of the code is the same, right? (as opposed to syriac which has a couple more joining rules).
Created attachment 88251 [details] [review] updated patch Here is updated patch for N'Ko support, it is unified with arabic module.
Looks a lot simpler. Thanks! I'll go on and commit this tonight.
I modified your arabic-fc.c changes to just add the N'Ko script to the current engine instead of listing two engines (which were creating the same engine object anyway). 2007-05-15 Behdad Esfahbod <behdad@gnome.org> Bug 436699 – N'Ko support Patch by Eugeniy Meshcheryakov * modules/arabic/arabic-fc.c (create): * modules/arabic/arabic-ot.c (Get_Joining_Class): Add N'Ko support to the Arabic module.
Eugeniy, can you attach screenshots of Pango rendering N'Ko? Also, can you provide a sample text to put in pango/pango-view/test-nko.txt? Something having a few short lines, preferably a notable text or poem, etc. Thanks,
(In reply to comment #3) > (In reply to comment #2) > > Thanks. Do you have any fonts to test this? > > > > I'm working on N'Ko support in DejaVu, there are only several glyphs done, it > is available in nko branch in the repository > (http://dejavu.svn.sourceforge.net/svnroot/dejavu/branches/nko). I can provide > ttf if needed. You can also test shaping with non-free Code2000, but it does > not have anchors for combining marks. I do not know about other opentype fonts > that support N'Ko. There's another N'Ko smart font project based on the Koli N'ko Manden font developed by Mamady Doumboya here: http://scripts.sil.org/GraphiteFonts It uses Graphite and only the GDL code is modifiable, but it might be useful for testing.
Created attachment 88454 [details] Sample text in N'Ko Here is begining of "Casablanca Statement" (may contain errors) from http://www.panafril10n.org/panafrloc/ . That is the only thext in N'Ko with more than several words I found.
Created attachment 88455 [details] Rendering of sample text Here is rendering of sample text in png format generated by pangoview-cairo. Font used is available at http://people.debian.org/~eugen/dejavu/nko/.
> Here is rendering of sample text in png format generated by pangoview-cairo. That was pangocairo-view
2007-05-22 Behdad Esfahbod <behdad@gnome.org> * pango-view/Makefile.am: * pango-view/test-nko.txt: New test text for N'Ko.