------------------------------------------------------------------------ r4581 | hhenkel | 2013-02-20 22:45:46 +0100 (Wed, 20 Feb 2013) | 3 lines Changed paths: A /branches/ex-glyph (from /trunk:4580) Experimental branch: Expanded glyphs replace expanded fonts (hope it works now) ------------------------------------------------------------------------ r4582 | hhenkel | 2013-02-20 23:57:27 +0100 (Wed, 20 Feb 2013) | 8 lines Changed paths: M /branches/ex-glyph/source/texk/web2c/luatexdir/dvi/dvigen.h M /branches/ex-glyph/source/texk/web2c/luatexdir/dvi/dvigen.w M /branches/ex-glyph/source/texk/web2c/luatexdir/font/luafont.w M /branches/ex-glyph/source/texk/web2c/luatexdir/font/luatexfont.h M /branches/ex-glyph/source/texk/web2c/luatexdir/font/texfont.h M /branches/ex-glyph/source/texk/web2c/luatexdir/font/texfont.w M /branches/ex-glyph/source/texk/web2c/luatexdir/font/vfovf.w M /branches/ex-glyph/source/texk/web2c/luatexdir/font/vfpacket.w M /branches/ex-glyph/source/texk/web2c/luatexdir/lua/lfontlib.c M /branches/ex-glyph/source/texk/web2c/luatexdir/lua/luagen.h M /branches/ex-glyph/source/texk/web2c/luatexdir/lua/luagen.w M /branches/ex-glyph/source/texk/web2c/luatexdir/pdf/pdffont.h M /branches/ex-glyph/source/texk/web2c/luatexdir/pdf/pdffont.w M /branches/ex-glyph/source/texk/web2c/luatexdir/pdf/pdfglyph.h M /branches/ex-glyph/source/texk/web2c/luatexdir/pdf/pdfglyph.w M /branches/ex-glyph/source/texk/web2c/luatexdir/pdf/pdflistout.w M /branches/ex-glyph/source/texk/web2c/luatexdir/pdf/pdftypes.h M /branches/ex-glyph/source/texk/web2c/luatexdir/tex/directions.w M /branches/ex-glyph/source/texk/web2c/luatexdir/tex/linebreak.w M /branches/ex-glyph/source/texk/web2c/luatexdir/tex/packaging.w M /branches/ex-glyph/source/texk/web2c/luatexdir/tex/printing.w The experimental patch: Instead of using expanded fonts, just calculate the expanded width of glyphs where needed, and carry expand info in the glyph nodes (all based on Hans' suggestions). All font expansion functions are disabled and most are removed. The added mathematics makes luatex a bit slower for now. With normal \pdffontexpand use it seems to produce bit-identical results. This is buggy & far from complete yet. E. g., no idea what happens in DVI mode. ------------------------------------------------------------------------