Taco Hoekwater wrote:

Yue Wang wrote:
On Mon, Feb 2, 2009 at 5:42 PM, Taco Hoekwater <[email protected]> wrote:
Yue Wang wrote:
Well, I have been suggesting this problem to Hans and Taco several
times during the last year. In ConTeXt this problem can be split into
two since ConTeXt use the font cache mechanism (it can dump the
metrics table from the font and store it as a lua table into the disk)
Calculating boundingboxes implies interpreting the actual curves,
and that eats up lots of memory. I'll see if I can create a shortcut
somewhere. If I don't have to calculate boxes afterward, then there
is no need to interpret and save the curves, and the resulting memory
footprint should be much lower.
Great to hear that, and if so, it will also make luatex runs much
faster since no calculation is needed.

Would it be acceptable to have

        fontforge.open("file", false)

which makes to_table return four zeroes in the character boundingboxes?

can be an option indeed, although we loose the ability to calculate the height/depth which is no big deal for cjk fonts but could less optimal for other fonts

Hans

-----------------------------------------------------------------
                                          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
-----------------------------------------------------------------

Reply via email to