OK, the message below didn't get too many responses, so maybe I can rephrase my quiestions in a more precise manner: 1. For otftotfm, there's the "unicoding" command where you can replace a character in a certain slot with another unicode character, so you could say unicoding "A = uni03D1" Is anything like this possible in luatex? 2. I see this code in font-otf.lua: fonts.otf.features.data.tex = { { "endash", "hyphen hyphen" }, { "emdash", "hyphen hyphen hyphen" }, { "quotedblleft", "quoteleft quoteleft" }, { "quotedblright", "quoteright quoteright" }, { "quotedblleft", "grave grave" }, { "quotedblright", "quotesingle quotesingle" }, { "quotedblbase", "comma comma" } } and this list is used in the function function fonts.initializers.base.otf.texligatures(tfm,value) How is it possible to write a similar list and function for just a single font or fonts in a specific typescript? Thanks a lot! Thomas On Sep 1, 2007, at 12:56 PM, Thomas A. Schmitz wrote:
Hi all,
I've been experimenting with my Greek stuff in luatex, and I think I'm making nice progress. Things pretty much work with Unicode input, and as soon as the kerning problem is solved, I'm very optimistic. Two questions came up for me; I assume the answers are straightforward, but couldn't find anything:
1. How can I remap single characters? Let's say that we have a Unicode character in the input stream that maps to 0x03c3, but I want it remapped to 0x3f2, how can this be achieved?
2. Similarly: if I want to support the legacy input method babel, I need to remap the input stream to the Greek characters (question 1) and also need to feed the font some ligature rules, such as: the combination >a needs to be combined into the character 0x1f00. What would be the syntax and the way to do this?
All best
Thomas