[luatex] Sample code for a very basic OpenType layout engine

Arthur Reutenauer arthur.reutenauer at normalesup.org
Mon Feb 2 23:43:03 CET 2009


	Hello everyone,

  In an attempt to contribute to the general war effort towards
improving the support for LuaTeX in macro packages, in particular LaTeX,
I'm releasing a small experiment I made last Fall: an extremely basic
OpenType layout engine, meant to be used with plain LuaTeX (but easily
adaptable to pdflualatex, I guess).  It really only implements one type
of lookup: GSUB 1, but you can already use quite a lot of OpenType
features with that single lookup (onum, smcp, sups, etc.)

  I put it on Google Code:

	http://code.google.com/p/mingyue/

  It contains, for the moment, exactly the TeX file as I left it three
months ago, together with the PDF output I got with the latest LuaTeX
revision back then.  It is completely raw, very little comments in the
code, no use instructions, but I will try to clean it up and enhance it
as soon as I find time.  You also need quite a lot of fonts, most of
which are proprietary; I will try to find freely available fonts with
equivalent features (but Latin Modern and the TeX Gyre fonts are a good
start).

  Given the many experiments I tried, the single page of text probably
looks like the work of a madman, but ... Oh, well, I deny everything :-)

	Arthur


More information about the luatex mailing list