On Sun, 23 Sep 2007 11:45:41 -0600, Mojca Miklavec
On 9/23/07, Wolfgang Schuster wrote:
this would be nice because many chinese and japanese fonts have very ugly characters for normal latin texts and would be nice to choose another font for them.
The second point is some it often neccesary to choose differents fonts for arabic, greek ... and this method can used to switch to the corresponding font without inserting font switching commands in the text but handle this with character classes.
I guess that in LuaTeX you can "compose your own font" on the fly. So you can say "please take this region from Arial, another region from some Greek fonts, and yet another from Chineese, perhaps some more characters from somewhere else ... And then you can use a single font for everything. (Don't ask me how this can be done, though.)
Let's get even more funky: we could define "text direction classes" such that switching from LR to RL automatically switches from, say, the latin group (or cyrillic) to the arabic group (or hebrew), and direction switching could be done using the appropriate unicode characters instead of control sequences (ie, unicode direction charaters should be made active). Best Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/