Re: [NTG-context] Problem with fontdata.cache being set to no in font-def.lua

2009-06-18 Thread Hans Hagen
Yanrui Li wrote: 1. insert glue between Chinese glyph nodes for linebreak there is a mechanism for that already 2. reduce the spaces between Chinese punctuations this is on the todlist (once we have fonts and time) 3. process protruding of punctuations which appear in margin. this is

Re: [NTG-context] Problem with fontdata.cache being set to no in font-def.lua

2009-06-17 Thread Hans Hagen
Yanrui Li wrote: Hi Hans, I am testing comperssion of Chinese punctuations according boundingbox. But I found that the fontdata.cache in font-def.lua is set to no, so I can't get the boundingbox information of those punctuation glyphs in my module. I want to know why set to no as default. Is it

Re: [NTG-context] Problem with fontdata.cache being set to no in font-def.lua

2009-06-17 Thread Yanrui Li
2009/6/17 Hans Hagen pra...@wxs.nl Yanrui Li wrote: Hi Hans, I am testing comperssion of Chinese punctuations according boundingbox. But I found that the fontdata.cache in font-def.lua is set to no, so I can't get the boundingbox information of those punctuation glyphs in my module. I

Re: [NTG-context] Problem with fontdata.cache being set to no in font-def.lua

2009-06-17 Thread Hans Hagen
Yanrui Li wrote: the cache option mentioned there is not meant for using, just for debugging (i.e. for myself) I have printed the the shared descriptions with the following code fragment: function f4zhcn.pre_linebreak_filter (head, groupcode) for t in node.traverse(head) do if

Re: [NTG-context] Problem with fontdata.cache being set to no in font-def.lua

2009-06-17 Thread Yanrui Li
2009/6/18 Hans Hagen pra...@wxs.nl: Yanrui Li wrote: the cache option mentioned there is not meant for using, just for debugging (i.e. for myself) I have printed the the shared descriptions with the following code fragment: function f4zhcn.pre_linebreak_filter (head, groupcode)   for t

Re: [NTG-context] Problem with fontdata.cache being set to no in font-def.lua

2009-06-17 Thread Yanrui Li
2009/6/18 Hans Hagen pra...@wxs.nl Yanrui Li wrote: the cache option mentioned there is not meant for using, just for debugging (i.e. for myself) I have printed the the shared descriptions with the following code fragment: function f4zhcn.pre_linebreak_filter (head, groupcode)   for t in