Please replace
int length = start + end;
with
int length = end + 1;

end is the char in the series, to accommodate it, the array must have at
least end + 1 elements.

Thanks,
Edi

*P.S. Pdf 1.4 spec*
The W array allows the definition of widths for individual CIDs. The
elements of
the array are organized in groups of two or three, where each group is in
one of
the following two formats:
c [w1 w2 … wn ]
c firstc lastw
In the first format, c is an integer specifying a starting CID value; it is
followed by
an array of n numbers that specify the widths for n consecutive CIDs,
starting
with c. The second format defines the same width, w, for all CIDs in the
range
cfirst to clast.
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to