OSDN Git Service

binding with libharu.
[putex/putex.git] / src / texsourc / lib / libhpdf / if / python / History.txt
1 (GMT+8)
2
3 2008.01.19 first release
4 version '2.0.8'
5 1. All of the C API is usable
6
7 2. known problems
8 1) demo\text_demo.py, there are 2 bugs
9 one, Traceback (most recent call last):
10   File "H:\libharu-2.0.8\pyharu\demo\text_demo.py", line 357, in <module>
11     main()
12   File "H:\libharu-2.0.8\pyharu\demo\text_demo.py", line 208, in main
13     "RenderingMode=PDF_FILL")
14   File "H:\libharu-2.0.8\pyharu\demo\text_demo.py", line 62, in show_description
15     c = HPDF_Page_GetRGBFill (page)
16 ValueError: Procedure called with not enough arguments (4 bytes missing) or wrong calling convention
17
18 Often, that msg happends when we load a Cdll with Windll method, vice versa. But why here?
19
20 two, if I comment out "c = HPDF_Page_GetRGBFill (page)", the yieled pdf has a unexpected layout
21
22 2) ttfont_demo.C and ttfont_demo.py, in other words, that is the problem with haru
23 ttfont_demo.exe  .\ttfont\PenguinAttack.ttf -E
24 ttfont_demo.exe  .\ttfont\PenguinAttack.ttf
25 no characters appear
26
27 ttfont_demo.exe  c:\winnt\fonts\arial.ttf -E
28 many rectangles appear
29
30 ttfont_demo.exe  c:\winnt\fonts\arial.ttf -E
31 no characters appear
32
33 3) try to make_rawimage.exe, fails. So that maybe the problem in haru too.
34 make_rawimage.py fails too
35 python H:\libharu-2.0.8\pyharu\demo\make_rawimage.py png_demo.pdf 11.pdf
36 ERROR: Invalid PNG image format., detail_no=0          <==crazy haru