Sherry Zhang wrote:
Now I test MinionPro-Regular.otf, it works fine, so this method works. but I then test the AdobeSongStd-Light.otf, it reports:
The 'size' feature of this font conforms too Adobe's early misinterpretation of the otf standard. Bad call to gww_iconv_open, neither arg is UCS4 Bad call to gww_iconv_open, neither arg is UCS4 Bad call to gww_iconv_open, neither arg is UCS4 Bad call to gww_iconv_open, neither arg is UCS4 Bad call to gww_iconv_open, neither arg is UCS4 Segmentation fault (core dumped)
so LuaTeX exit abnormally.
these are cid fonts ... this is curretly being worked on so later this week ...
btw, when loading the opentype or truetype fonts like the way I do, some TeX commands like ---, ``, '', ff, ft, fft,ff,fi does not work. Is there someting wrong?
luatex only provides a loader; ligatures can be handled by tex, in which case you need to add the ligature info to the tfmtable; an other option is to manipulate the node lists; for the tfm tabel think of ... characters[slot('f')].ligatures = { [slot('i')] = { char = slot('fi'), type = 0 }, [slot('l')] = { char = slot('fl'), type = 0 } } characters[slot('ff')].ligatures = { [slot('i')] = { char = slot('ffi'), type = 0 }, [slot('l')] = { char = slot('ffl'), type = 0 } } etc ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------