[luatex] 'glyphing' for smart font rendering
martin_hosken at sil.org
Fri Mar 25 07:59:20 CET 2011
I've started investigating how hard it is to do real smart font rendering by trying to integrate graphite with luatex (via lua). It's going well, except that I realise that luatex is still treating glyphs as characters. What I mean is that while the node.id for a glyph node is set to a glyph, the char is still interpretted via a cmap as a character rather than taking the dimensions, offsets, etc. from the glyph node itself.
Am I right in assuming that it is intended that once a glyph node is no longer a character node but has become a glyph node, that it really will be interpretted as a glyph and the width will come from the node rather than using font,char everywhere in the backend? If so, do you want help in getting there?
I did try to build luatex but it fell over trying to find ptexenc.h from lib/ptexenc. Is that something that should be checked in?
More information about the luatex