[HarfBuzz] Fwd: Re: Support for Khojki in HarfBuzz

Behdad Esfahbod behdad at behdad.org
Tue Mar 19 00:51:32 PDT 2013


Resending to HarfBuzz list, in case someone wants to give this a try.


-------- Original Message --------
Subject: Re: Support for Khojki in HarfBuzz
Date: Mon, 18 Mar 2013 16:16:31 -0700
From: Anshuman Pandey <pandey at umich.edu>
To: Behdad Esfahbod <behdad at behdad.org>

Hi Behdad,

Attached is a basic OT font for Khojki. I'm not a font developer, so I
did my best to produce a valid OT font using FontForge. I used both
'rlig' and 'akhn' in the font. I've also attached a plain text file
containing Khojki text and a PDF of that text file showing the
expected output. I hope this will give you enough to start
implementing Khojki in Harfbuzz.

Best,
Anshuman



On Wed, Mar 6, 2013 at 4:25 PM, Behdad Esfahbod <behdad at behdad.org> wrote:
> Ok, it sounds like the generic shaper should be enough to do that.  Have you
> tried creating an OpenType font with script=DFLT and using rlig etc?
>
> On 13-03-06 07:16 PM, Anshuman Pandey wrote:
>> Hi Behdad,
>>
>> Yeah, the only major difference between Khojki and Devanagari is that
>> KHOJKI VOWEL SIGN I is not reordered and that KHOJKI SIGN VIRAMA is
>> written to the right of base. And there are two NUKTA type characters:
>> KHOJKI SIGN NUKTA and KHOJKI SIGN SHADDA.
>>
>> In terms of the font, do you want me to produce a font that has
>> OpenType tables in it?
>>
>> Best,
>> Anshuman
>>
>>
>>
>> On Wed, Mar 6, 2013 at 2:55 PM, Behdad Esfahbod <behdad at behdad.org> wrote:
>>> Hi Anshuman,
>>>
>>> I checked out the Khojki document.  Doesn't look like a big issue.  I'm
>>> guessing that either the generic shaper or the Indic shaper should be able to
>>> handle it just fine (with minor tuning perhaps).  Easiest way is for you to
>>> try to put a font together and just ping us whenever you get stuck.
>>>
>>> And, would be much better to move the discussion to the HarfBuzz mailing list.
>>>  Feel free to resend your messages there to get others involved.
>>>
>>> Bottom line is: without a font, there's not much we can do.  So if you have
>>> fonts for any of those scripts, we can look into them.
>>>
>>> Cheers,
>>> behdad
>>>
>>> On 13-03-06 02:49 PM, Anshuman Pandey wrote:
>>>> Hi Behdad,
>>>>
>>>> In addition to Khojki, these are the Indic scripts that I proposed for
>>>> Unicode that need to be supported in HarfBuzz:
>>>>
>>>> Published in Unicode: Kaithi, Sharada, Takri
>>>>
>>>> Accepted, but not yet published: Khojki, Khudawadi, Mahajani, Modi,
>>>> Multani, Pau Cin Hau, Siddham, Tirhuta.
>>>>
>>>> On the horizon for 2013: Bhaiksuki, Gondi, Mongolian Square, Rohingya,
>>>> Soyombo, Tani Lipi, Zou.
>>>>
>>>> Best,
>>>> Anshuman
>>>>
>>>>
>>>>
>>>> On Wed, Mar 6, 2013 at 12:22 AM, Behdad Esfahbod <behdad at behdad.org> wrote:
>>>>> Hi Anshuman,
>>>>>
>>>>> Sure, we are interested in supporting such scripts.  However, I can't find any
>>>>> documentation.  Is this approved for inclusion in Unicode already?  Do you
>>>>> have any documents I can review?
>>>>>
>>>>> behdad
>>>>>
>>>>> On 13-03-01 04:40 PM, Anshuman Pandey wrote:
>>>>>> Dear Behdad,
>>>>>>
>>>>>> I hope you are doing well. I have been working on a Graphite version
>>>>>> of a font for the Khojki script, which I proposed for encoding in
>>>>>> Unicode a while ago. This font project is intended to help the folks
>>>>>> at the Institute of Ismaili Studies (IIS) in London with their
>>>>>> cataloguing and other work. As soon as I am done with the Graphite
>>>>>> version, I'm going to develop an OpenType version of the font. But,
>>>>>> there is no rendering support for Khojki in any of the OpenType
>>>>>> engines out there... I doubt Microsoft will add Khojki to Uniscribe
>>>>>> anytime in the near future. But, I'm if there is a way to support
>>>>>> OpenType fonts for Khojki using open platforms.
>>>>>>
>>>>>> Do you guys have any plans to add support for Khojki to HarfBuzz?
>>>>>>
>>>>>> Thanks!
>>>>>>
>>>>>> Best,
>>>>>> Anshuman
>>>>>>
>>>>>
>>>>> --
>>>>> behdad
>>>>> http://behdad.org/
>>>>
>>>
>>> --
>>> behdad
>>> http://behdad.org/
>>
>
> --
> behdad
> http://behdad.org/



-------------- next part --------------
Examples of proper Khojki rendering 
Anshuman Pandey <pandey at umich.edu>
March 18, 2013

The Khojki script was accepted for inclusion in The Unicode Standard. It will be published in version 7 of the standard. There is a user community that requires immediate support for the proposed Khojki encoding. It is essential that support for Khojki be implemented in OpenType rendering engines in anticipation of the forthcoming Unicode standard for the script. This PDF document should be used in conjunction with the accompanying plain text data to design support for Khojki in the rendering engine. The Khojki text shown here is the intended output. 

The text below is produced from sequences of a vowel letter and the signs ANUSVARA and SHADDA:

𑈀 𑈀𑈴 𑈀𑈷 

𑈂 𑈂𑈴 𑈂𑈷

𑈃 𑈃𑈴 𑈃𑈷

𑈄 𑈄𑈴 𑈄𑈷

𑈅 𑈅𑈴 𑈅𑈷 (need to figure out matra fit with anusvara shadda; horizontal placement?)

𑈆 𑈆𑈴 𑈆𑈷

𑈇 𑈇𑈴 𑈇𑈷 (need to figure out matra fit with anusvara and shadda; horizontal placement?)

Below are sequences of consonant and VOWEL SIGN AA .. SIGN SHADDA. Glyphs for consonant +  VOWEL SIGN I, VOWEL SIGN, II, and VOWEL SIGN U are defined as 'rlig' (3rd, 4th, and 5th glyphs):

𑈈 𑈈𑈬 𑈈𑈭 𑈈𑈮 𑈈𑈯 𑈈𑈰 𑈈𑈱 𑈈𑈲 𑈈𑈳 𑈈𑈴 𑈈𑈵 𑈈𑈶 𑈈𑈷  

𑈉 𑈉𑈬 𑈉𑈭 𑈉𑈮 𑈉𑈯 𑈉𑈰 𑈉𑈱 𑈉𑈲 𑈉𑈳 𑈉𑈴 𑈉𑈵 𑈉𑈶 𑈉𑈷  

𑈊 𑈊𑈬 𑈊𑈭 𑈊𑈮 𑈊𑈯 𑈊𑈰 𑈊𑈱 𑈊𑈲 𑈊𑈳 𑈊𑈴 𑈊𑈵 𑈊𑈶 𑈊𑈷  

𑈋 𑈋𑈬 𑈋𑈭 𑈋𑈮 𑈋𑈯 𑈋𑈰 𑈋𑈱 𑈋𑈲 𑈋𑈳 𑈋𑈴 𑈋𑈵 𑈋𑈶 𑈋𑈷  
 
𑈌 𑈌𑈬 𑈌𑈭 𑈌𑈮 𑈌𑈯 𑈌𑈰 𑈌𑈱 𑈌𑈲 𑈌𑈳 𑈌𑈴 𑈌𑈵 𑈌𑈶 𑈌𑈷  

𑈍 𑈍𑈬 𑈍𑈭 𑈍𑈮 𑈍𑈯 𑈍𑈰 𑈍𑈱 𑈍𑈲 𑈍𑈳 𑈍𑈴 𑈍𑈵 𑈍𑈶 𑈍𑈷  

𑈎 𑈎𑈬 𑈎𑈭 𑈎𑈮 𑈎𑈯 𑈎𑈰 𑈎𑈱 𑈎𑈲 𑈎𑈳 𑈎𑈴 𑈎𑈵 𑈎𑈶 𑈎𑈷  

𑈏 𑈏𑈬 𑈏𑈭 𑈏𑈮 𑈏𑈯 𑈏𑈰 𑈏𑈱 𑈏𑈲 𑈏𑈳 𑈏𑈴 𑈏𑈵 𑈏𑈶 𑈏𑈷  

𑈐 𑈐𑈬 𑈐𑈭 𑈐𑈮 𑈐𑈯 𑈐𑈰 𑈐𑈱 𑈐𑈲 𑈐𑈳 𑈐𑈴 𑈐𑈵 𑈐𑈶 𑈐𑈷  

𑈑 𑈑𑈬 𑈑𑈭 𑈑𑈮 𑈑𑈯 𑈑𑈰 𑈑𑈱 𑈑𑈲 𑈑𑈳 𑈑𑈴 𑈑𑈵 𑈑𑈶 𑈑𑈷  

𑈓 𑈓𑈬 𑈓𑈭 𑈓𑈮 𑈓𑈯 𑈓𑈰 𑈓𑈱 𑈓𑈲 𑈓𑈳 𑈓𑈴 𑈓𑈵 𑈓𑈶 𑈓𑈷  

𑈔 𑈔𑈬 𑈔𑈭 𑈔𑈮 𑈔𑈯 𑈔𑈰 𑈔𑈱 𑈔𑈲 𑈔𑈳 𑈔𑈴 𑈔𑈵 𑈔𑈶 𑈔𑈷  

𑈕 𑈕𑈬 𑈕𑈭 𑈕𑈮 𑈕𑈯 𑈕𑈰 𑈕𑈱 𑈕𑈲 𑈕𑈳 𑈕𑈴 𑈕𑈵 𑈕𑈶 𑈕𑈷  

𑈖 𑈖𑈬 𑈖𑈭 𑈖𑈮 𑈖𑈯 𑈖𑈰 𑈖𑈱 𑈖𑈲 𑈖𑈳 𑈖𑈴 𑈖𑈵 𑈖𑈶 𑈖𑈷  

𑈗 𑈗𑈬 𑈗𑈭 𑈗𑈮 𑈗𑈯 𑈗𑈰 𑈗𑈱 𑈗𑈲 𑈗𑈳 𑈗𑈴 𑈗𑈵 𑈗𑈶 𑈗𑈷  

𑈘 𑈘𑈬 𑈘𑈭 𑈘𑈮 𑈘𑈯 𑈘𑈰 𑈘𑈱 𑈘𑈲 𑈘𑈳 𑈘𑈴 𑈘𑈵 𑈘𑈶 𑈘𑈷  

𑈙 𑈙𑈬 𑈙𑈭 𑈙𑈮 𑈙𑈯 𑈙𑈰 𑈙𑈱 𑈙𑈲 𑈙𑈳 𑈙𑈴 𑈙𑈵 𑈙𑈶 𑈙𑈷  

𑈚 𑈚𑈬 𑈚𑈭 𑈚𑈮 𑈚𑈯 𑈚𑈰 𑈚𑈱 𑈚𑈲 𑈚𑈳 𑈚𑈴 𑈚𑈵 𑈚𑈶 𑈚𑈷  

𑈛 𑈛𑈬 𑈛𑈭 𑈛𑈮 𑈛𑈯 𑈛𑈰 𑈛𑈱 𑈛𑈲 𑈛𑈳 𑈛𑈴 𑈛𑈵 𑈛𑈶 𑈛𑈷  

𑈜 𑈜𑈬 𑈜𑈭 𑈜𑈮 𑈜𑈯 𑈜𑈰 𑈜𑈱 𑈜𑈲 𑈜𑈳 𑈜𑈴 𑈜𑈵 𑈜𑈶 𑈜𑈷  

𑈝 𑈝𑈬 𑈝𑈭 𑈝𑈮 𑈝𑈯 𑈝𑈰 𑈝𑈱 𑈝𑈲 𑈝𑈳 𑈝𑈴 𑈝𑈵 𑈝𑈶 𑈝𑈷 

𑈞 𑈞𑈬 𑈞𑈭 𑈞𑈮 𑈞𑈯 𑈞𑈰 𑈞𑈱 𑈞𑈲 𑈞𑈳 𑈞𑈴 𑈞𑈵 𑈞𑈶 𑈞𑈷  

𑈟 𑈟𑈬 𑈟𑈭 𑈟𑈮 𑈟𑈯 𑈟𑈰 𑈟𑈱 𑈟𑈲 𑈟𑈳 𑈟𑈴 𑈟𑈵 𑈟𑈶 𑈟𑈷  

𑈠 𑈠𑈬 𑈠𑈭 𑈠𑈮 𑈠𑈯 𑈠𑈰 𑈠𑈱 𑈠𑈲 𑈠𑈳 𑈠𑈴 𑈠𑈵 𑈠𑈶 𑈠𑈷 

𑈡 𑈡𑈬 𑈡𑈭 𑈡𑈮 𑈡𑈯 𑈡𑈰 𑈡𑈱 𑈡𑈲 𑈡𑈳 𑈡𑈴 𑈡𑈵 𑈡𑈶 𑈡𑈷  

𑈢 𑈢𑈬 𑈢𑈭 𑈢𑈮 𑈢𑈯 𑈢𑈰 𑈢𑈱 𑈢𑈲 𑈢𑈳 𑈢𑈴 𑈢𑈵 𑈢𑈶 𑈢𑈷  

𑈣 𑈣𑈬 𑈣𑈭 𑈣𑈮 𑈣𑈯 𑈣𑈰 𑈣𑈱 𑈣𑈲 𑈣𑈳 𑈣𑈴 𑈣𑈵 𑈣𑈶 𑈣𑈷  

𑈤 𑈤𑈬 𑈤𑈭 𑈤𑈮 𑈤𑈯 𑈤𑈰 𑈤𑈱 𑈤𑈲 𑈤𑈳 𑈤𑈴 𑈤𑈵 𑈤𑈶 𑈤𑈷  

𑈥 𑈥𑈬 𑈥𑈭 𑈥𑈮 𑈥𑈯 𑈥𑈰 𑈥𑈱 𑈥𑈲 𑈥𑈳 𑈥𑈴 𑈥𑈵 𑈥𑈶 𑈥𑈷  

𑈦 𑈦𑈬 𑈦𑈭 𑈦𑈮 𑈦𑈯 𑈦𑈰 𑈦𑈱 𑈦𑈲 𑈦𑈳 𑈦𑈴 𑈦𑈵 𑈦𑈶 𑈦𑈷  

𑈧 𑈧𑈬 𑈧𑈭 𑈧𑈮 𑈧𑈯 𑈧𑈰 𑈧𑈱 𑈧𑈲 𑈧𑈳 𑈧𑈴 𑈧𑈵 𑈧𑈶 𑈧𑈷  

𑈨 𑈨𑈬 𑈨𑈭 𑈨𑈮 𑈨𑈯 𑈨𑈰 𑈨𑈱 𑈨𑈲 𑈨𑈳 𑈨𑈴 𑈨𑈵 𑈨𑈶 𑈨𑈷  

𑈩 𑈩𑈬 𑈩𑈭 𑈩𑈮 𑈩𑈯 𑈩𑈰 𑈩𑈱 𑈩𑈲 𑈩𑈳 𑈩𑈴 𑈩𑈵 𑈩𑈶 𑈩𑈷  

𑈪 𑈪𑈬 𑈪𑈭 𑈪𑈮 𑈪𑈯 𑈪𑈰 𑈪𑈱 𑈪𑈲 𑈪𑈳 𑈪𑈴 𑈪𑈵 𑈪𑈶 𑈪𑈷  

𑈫 𑈫𑈬 𑈫𑈭 𑈫𑈮 𑈫𑈯 𑈫𑈰 𑈫𑈱 𑈫𑈲 𑈫𑈳 𑈫𑈴 𑈫𑈵 𑈫𑈶 𑈫𑈷  

The following are consonant conjuncts produced as <C1, virama, C2, ...>, which the exception of 'kssa'.  These conjuncts are defined as 'akhn'. The glyphs for akhand conjunct  +  VOWEL SIGN I, VOWEL SIGN, II, and VOWEL SIGN U are defined as 'rlig' (3rd, 4th, and 5th glyphs of each line):

kssa: <ka, virama, sa, nukta>
𑈈𑈵𑈩𑈷 𑈈𑈵𑈩𑈷𑈬 𑈈𑈵𑈩𑈷𑈭 𑈈𑈵𑈩𑈷𑈮 𑈈𑈵𑈩𑈷𑈯 𑈈𑈵𑈩𑈷𑈰 𑈈𑈵𑈩𑈷𑈱 𑈈𑈵𑈩𑈷𑈲 𑈈𑈵𑈩𑈷𑈳 𑈈𑈵𑈩𑈷𑈴 𑈈𑈵𑈩𑈷𑈵 𑈈𑈵𑈩𑈷𑈶 𑈈𑈵𑈩𑈷𑈷  

jnya: <ja, virama, nya>
𑈐𑈵𑈓 𑈐𑈵𑈓𑈬 𑈐𑈵𑈓𑈭 𑈐𑈵𑈓𑈮 𑈐𑈵𑈓𑈯 𑈐𑈵𑈓𑈰 𑈐𑈵𑈓𑈱 𑈐𑈵𑈓𑈲 𑈐𑈵𑈓𑈳 𑈐𑈵𑈓𑈴 𑈐𑈵𑈓𑈵 𑈐𑈵𑈓𑈶 𑈐𑈵𑈓𑈷 

tra: <ta, virama, ra>
𑈙𑈵𑈦 𑈙𑈵𑈦𑈬 𑈙𑈵𑈦𑈭 𑈙𑈵𑈦𑈮 𑈙𑈵𑈦𑈯 𑈙𑈵𑈦𑈰 𑈙𑈵𑈦𑈱 𑈙𑈵𑈦𑈲 𑈙𑈵𑈦𑈳 𑈙𑈵𑈦𑈴 𑈙𑈵𑈦𑈵 𑈙𑈵𑈦𑈶 𑈙𑈵𑈦𑈷 

dra: <da, virama ra>
𑈛𑈵𑈦 𑈛𑈵𑈦𑈬 𑈛𑈵𑈦𑈭 𑈛𑈵𑈦𑈮 𑈛𑈵𑈦𑈯 𑈛𑈵𑈦𑈰 𑈛𑈵𑈦𑈱 𑈛𑈵𑈦𑈲 𑈛𑈵𑈦𑈳 𑈛𑈵𑈦𑈴 𑈛𑈵𑈦𑈵 𑈛𑈵𑈦𑈶 𑈛𑈵𑈦𑈷 

Below is an example of Khojki in running text: 

𑈁𑈄 𑈦𑈪𑈰𑈤 𑈦𑈪𑈰𑈤𑈬𑈞 𑈀𑈢 𑈙𑈲 𑈦𑈪𑈰𑈤 𑈈𑈦𑈲𑈴𑈊𑈰 𑈸
𑈁𑈄𑈺𑈦𑈪𑈰𑈤𑈺𑈦𑈪𑈰𑈤𑈬𑈞𑈺𑈀𑈢𑈺𑈙𑈲𑈺𑈦𑈪𑈰𑈤𑈺𑈈𑈦𑈲𑈴𑈊𑈰 𑈸 𑈻

𑈄𑈐𑈮 𑈙𑈞 𑈤𑈞 𑈛𑈞 𑈊𑈯𑈦𑈯 𑈀𑈦𑈟𑈘 𑈈𑈮𑈐𑈰 𑈸
𑈙𑈲 𑈊𑈭𑈞𑈬𑈞𑈰 𑈊𑈭𑈞𑈬𑈞𑈰 𑈊𑈭𑈞𑈬𑈞 𑈀𑈢 𑈙𑈲 𑈹
𑈜𑈬𑈞 𑈩𑈉𑈬𑈨𑈙 𑈪𑈦𑈛𑈤 𑈈𑈮𑈐𑈰 𑈸
𑈙𑈲 𑈜𑈬𑈞𑈰 𑈜𑈬𑈞𑈰 𑈜𑈬𑈞 𑈀𑈢 𑈙𑈲 𑈹
𑈄𑈐𑈮 𑈩𑈡 𑈊𑈔 𑈄𑈈𑈐 𑈦𑈪𑈰𑈤𑈬𑈞 𑈜𑈮𑈩𑈰 𑈸 
𑈙𑈲 𑈩𑈶𑈬𑈞𑈰 𑈩𑈶𑈬𑈞𑈰 𑈩𑈶𑈬𑈞 𑈀𑈢 𑈙𑈲 𑈹
𑈄𑈐𑈮 𑈈𑈪𑈰𑈙 𑈂𑈤𑈬𑈤 𑈢𑈰𑈊𑈤 𑈤𑈰𑈦𑈬 𑈟𑈮𑈦 𑈪𑈩𑈞 𑈩𑈶𑈬𑈪𑈬 𑈸
𑈂𑈤𑈬𑈞𑈰 𑈂𑈤𑈬𑈞𑈰 𑈂𑈤𑈬𑈞 𑈀𑈡 𑈙𑈲 𑈹 𑈼
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KhojkiUnicodeOT.ttf
Type: application/x-font-ttf
Size: 91548 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20130319/d9c2c1e4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: khojkitest.pdf
Type: application/pdf
Size: 93858 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20130319/d9c2c1e4/attachment.pdf>


More information about the HarfBuzz mailing list