freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] Question about CFF charstring parsing


From: Werner LEMBERG
Subject: Re: [ft-devel] Question about CFF charstring parsing
Date: Sun, 18 Oct 2009 10:16:29 +0200 (CEST)

> A question about CFF charstring parsing: According to CFF Technical
> note #5177, cff_op_put stores a value into a transient array and
> cff_op_get retrieves a value from that transient array.  In function
> cff_decoder_parse_charstrings, that two operators are implemented
> just as described in #5177.  The CFF_DecoderRec_.buildchar is used
> as transient array and len_buildchar is the length of that array.
> But buildchar and len_buildchar were not been initialized.

Oops!  Can you provide a patch?  Maybe it's necessary to map the
arbitrary index values for `put' and `get' to consecutive index values
within `buildchar', e.g.

  put index        buildchar index
     4                  1
  1234345               2
     17                 3
    ...

> Are these two storage operators never used in real world?

I don't know.


    Werner




reply via email to

[Prev in Thread] Current Thread [Next in Thread]