Am Sat, 16 Jun 2012 02:56:14 +0200 schrieb Reinhard Kotucha: > > > My *wish* would be (at least) one independant/self contained font > > > loader which can (and at best is) be used with all formats. > > > > a basic font loader that understands all formats (type1, otf, ttf) > > is rather easy to implement. But that would only handle l-t-r texts > > without complex substitution. > > Well, the expression "can be used with all formats" can also mean that > macros are written in plain TeX and can be used with LaTeX and ConTeXt > too.
With "font loader" I meant the lua-code. All the code needed for the function used at the end in the font callback and code need to generate the font caches. And I didn't mean some simple fallback. I want that all formats which use this code in the font callback have at the end an extended, powerfull \font-command with clear syntax and known features. The \font-command is imho such a basic need that from the view point of a normal user and package writer it should act like a primitive command, similar to the extended \font-command in xelatex (which lacks some needed capabilities). And I think that luatex will be not be able to replace pdftex if such a generic font loader module is not created and will end as "the context engine". How formats include the lua-code in the font callback and what they wrap around it can be different. -- Ulrike Fischer
