Creating a Opentype font for Brahmi

Discussions about the development of TrueType and OpenType fonts.
Post Reply
virtualvinodh
Posts: 3
Joined: Sat Feb 18, 2012 4:53 pm
Location: Chennai
Contact:

Creating a Opentype font for Brahmi

Post by virtualvinodh »

Hi All,

I have been working on creating a font for Brahmi. I have add the necessary glyph imported through font creator. I am now working on creating the opentype rules for the font rendering. I am using VOLT to create the opentype rules. It is just a simple ligature substitution, without any complex mark re-ordering stuff.

Since, Brahmi is not yet supported in Windows, I have used Latin as the default script, and added the ligature substitution. Even while proof reading, the
substitution worked.
Volt_Screenshot_brahmi.jpg
Volt_Screenshot_brahmi.jpg (133.69 KiB) Viewed 16808 times
But I installed the font, and checked it out. The ligature was not formed.

(U+11013, U+11038) [I am not able to post the actual SMP characters. The phpBB is throwing a sql error :) ]
KAA_Brahmi_Plane.jpg
KAA_Brahmi_Plane.jpg (46.08 KiB) Viewed 16808 times
Assuming SMP wouldn't be supported, I mapped the characters to Tamil. And assigned the script tag as Tamil in VOLT, and creating the opentype substitution rules. Even, then the ligature wouldn't form, even though proof reading windows in VOLT formed the ligature well.

கா(U+0B95, U+00BE)
Volt_Tamil.jpg
Volt_Tamil.jpg (131.26 KiB) Viewed 16808 times
KAA_Tamil_Plane.jpg
KAA_Tamil_Plane.jpg (51.82 KiB) Viewed 16808 times
Then, I proceeded to map the character to the Latin plan, with the script tag as Latin. And bingo the ligature got formed !

ka (U+0061, U+006B)
Volt_Latin.jpg
Volt_Latin.jpg (124.15 KiB) Viewed 16808 times
KAA_Latin_Plane.jpg
KAA_Latin_Plane.jpg (48.41 KiB) Viewed 16808 times
-----

When ligatures are getting formed with Latin code points, why is not getting formed for Tamil or Brahmi ?

Am I missing here something ?

I have attached the font files (with workign VOLT tables).
Brahmi_Brahmi_Sample.ttf
(3.48 KiB) Downloaded 814 times
Brahmi_Tamil_Sample.ttf
(3.51 KiB) Downloaded 814 times
Brahmi_Latin_Sample.ttf
(3.53 KiB) Downloaded 763 times
I would be very grateful to receive any guidance and support regarding this.

V
www.virtualvinodh.com

na pudgalo na ca skandhā buddho jñānamanāsravam
sadāśāntiṁ vibhāvitvā gacchāmi śaraṇaṁ hyaham

Neither a person nor the aggregates, Buddha, is knowledge free from outflows
Perceiving [him] to be eternally serene, I go for refuge
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9869
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: Creating a Opentype font for Brahmi

Post by Bhikkhu Pesala »

I was able to get the glyph substitutions to work for all three fonts using the Truetype Viewer to test them.

Tamil: \u0B95\u0BBE Latin: ka and Brahmi \00011013\00011038 all worked OK for me.

What does SMP mean? I am out of my depth when it comes to these higher Unicode planes.
Brahmi Ligatures.png
Brahmi Ligatures.png (18.53 KiB) Viewed 16799 times
Brahmi Ligatures2.png
Brahmi Ligatures2.png (18.47 KiB) Viewed 16799 times
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
virtualvinodh
Posts: 3
Joined: Sat Feb 18, 2012 4:53 pm
Location: Chennai
Contact:

Re: Creating a Opentype font for Brahmi

Post by virtualvinodh »

Bhante,

Can you please try rendering the characters in a word processor, and let me know if they render properly ?

V
www.virtualvinodh.com

na pudgalo na ca skandhā buddho jñānamanāsravam
sadāśāntiṁ vibhāvitvā gacchāmi śaraṇaṁ hyaham

Neither a person nor the aggregates, Buddha, is knowledge free from outflows
Perceiving [him] to be eternally serene, I go for refuge
vanisaac
Posts: 337
Joined: Sun Mar 30, 2003 1:33 pm
Location: Washington State, USA

Re: Creating a Opentype font for Brahmi

Post by vanisaac »

Bikkhu, the SMP is the Supplementary Multilingual Plane. Every five digit code point starting with "1" is in the SMP, which is why it is also often called "plane 1". There is also a Supplementary Ideographic Plane (SIP) at plane 2, and a Supplementary Special-purpose Plane (SSP) at plane 14 (U+Exxxx). Planes 15 and 16 (U+Fxxxx and U+10xxxx) are the Private Use Planes. Soon, there will be a Tertiary Ideographic Plane (TIP) at plane 3. These all contrast with the Basic Multilingual Plane (BMP) at Plane 0 (U+0000..U+FFFF).

As for Vinodh's questions, I wish I had better news, but I have come to the conclusion that OpenType is probably not suitable for minority scripts. In Windows, so much of the functioning of OpenType features is dependent on Uniscribe and the assumptions contained therein that I wouldn't actually trust any of those features to consistently render until Brahmi is explicitly supported, which may be decades away. Obviously, Bikkhu has gotten some functionality, and I applaud both of you for your success in that realm. My suggestion to you moving forward is to explore Graphite, which works on the free (as in lunch) OpenOffice suite of text, spreadsheet, database, and presentation programs. The great thing is that with a bit of raw-text manipulation, and the smart use of spreadsheet columns, or a good background in the XML manipulation format XSLT, I think you can port Volt's VTP data to Graphite, which uses simple plain-text to encode its information.
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9869
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: Creating a Opentype font for Brahmi

Post by Bhikkhu Pesala »

virtualvinodh wrote:Bhante,

Can you please try rendering the characters in a word processor, and let me know if they render properly ?

V
I don't have any Windows App that would render these fonts. PagePlus doesn't support these higher planes, and from what Vanisac says, LibreOffice doesn't support Uniscribe.
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
jamadagni
Posts: 71
Joined: Fri Jun 17, 2011 4:10 am
Location: 11 N 78 E

Re: Creating a Opentype font for Brahmi

Post by jamadagni »

Bhikkhu Pesala wrote: I don't have any Windows App that would render these fonts. PagePlus doesn't support these higher planes, and from what Vanisac says, LibreOffice doesn't support Uniscribe.
He only said Uniscribe supports Graphite. He didn't say it *didn't* use Uniscribe. It certainly supports OpenType (on Windows and elsewhere), but whether via Uniscribe or its own engine (ICU, I think) I'm not sure.
Shriramana Sharma
vanisaac
Posts: 337
Joined: Sun Mar 30, 2003 1:33 pm
Location: Washington State, USA

Re: Creating a Opentype font for Brahmi

Post by vanisaac »

No. Uniscribe is the native windows OpenType feature engine, and it only recognizes and implements specific features for specific scripts and code points. It makes creating Arabic fonts really easy, because you don't have to program in all the logic of when you have initial/medial/final forms, you just have to indicate which glyphs are the given forms. Uniscribe contains all the information on when and where to do all of the substitutions and logic, but it also means that all but the most common scripts just plain aren't supported.

Graphite is an alternative to OpenType that has zero dependencies, because all of the feature logic is contained within the individual font. This means that a Graphite font can be for any script, including PUA assignments and brand-new Unicode allocations. The downside is that it is not natively supported in Windows, but is limited to certain programs. Fortunately, one of the programs is the entire suite of the OpenOffice text, spreadsheet, database, and slideshow programs. I think they might be natively supported by mozilla firefox as well, and the code is freely available, so a lot of the community-developed programs will properly render graphite fonts.
Post Reply