Done.
Committed the patch along with 3dMeasures patch by Robert W�rfel.
--
Wbr,
Antony Dovgal
---
http://pinba.org - realtime statistics for PHP
Thanks a lot for the code, I've committed the patch several minutes ago.
--
---
libHaru.org development mailing list
To unsubscribe, send email to libharu-u...@googlegroups.com
On 09/12/2010 01:46 AM, Clayman wrote:
Regards
Guy
Not yet, just click on the link.
Please find in attachment an updated patch for the unicode rendering.
With the help from Antony, this patch fixes the following problems
identified with the first patch:
- renders correctly on libpoppler based PDF viewers, and xpdf. In
fact, it now generates PDFs that I have not seen any pdf viewer fail
on the generated PDFs.
- fixes TextOut() API
Two problems, perhaps related, remain:
- libpoppler etc.. give an error: Error: Unknown character collection
'Adobe-Identity-H'. It seems to be innocent what concerns rendering.
- perhaps, because of that, text copy/paste from the PDF seems to be broken.
The patch also contains some changes w.r.t. truetype font handling, to
allow more true type fonts to be correctly used and embedded. One of
the changes there is to not error when the "cvt " table is missing
(since some fonts don't have this as it may not apply to e.g. chinese
fonts). Still, the truetype font handling of libharu remains a bit
flaky: some MacOS X system fonts do not work for example.
To see what it can do, see:
http://www.emweb.be/public/haru/utf8.html
rendered as:
http://www.emweb.be/public/haru/utf8.pdf
A small test case (which I got from Antony), shows the basic usage,
and I have also attached it.
Antony, please do not forget the patch for the arc rendering. It is as
important to us as the unicode support.
Regards,
koen