Timo Kähkönen wrote:William wrote:... OpenType glyph substitution information could be included in the pdf...
... automatic ligature substitution, discretionary ligatures and alternate glyphs...
Do you mean e.g. if the user has included characters f and i in template, the template generator program would add also ligature glyph fi AUTOMATICALLY or only if the user has MANUALLY INSTRUCTED the program to add ligature fi to some unicode code point?
Well, I was thinking that the information would be manually added to the text area of the template generating facility. Yet if there were an option to include some preset information then that could well be helpful.
Timo Kähkönen wrote:In the automatic method there should be preinstalled ligature tables and in the manual method this information comes manually from user. The table structure could be like this LigatureLeft="f", LigatureRight="i", UnicodePointOfLigature=45321 or formatted according to Opentype tables.
I was thinking of some of the text being like that used in the http://forum.high-logic.com/viewtopic.php?t=2046 thread, in particular that used by Bhikkhu Pesala in his post which is timestamped Thu May 29, 2008 11:07 am which is currently as I write this text the last post in the thread.
Some ligatures can be of three or more characters.
In addition there would need to be some way of tagging an alternate glyph so that the software knows of which character it is an alternate glyph. For example, the system needs to know that a swash alternate glyph of a lowercase e is another version of an "e".
Yet I am not suggesting any specific ways of including the information in the pdf. I do not know enough about OpenType tables to do so. I am putting the idea forward in the hope that there will be a discussion and that people who do know about OpenType tables will be able to make a suggestion of the best way to do it.
15 August 2008