I have made some research into the files got from SVN.
It seems that the problems reported in my message ("Re: Imager and UNICODE characters",Wed Oct 25 15:05:11 2006) was caused by a erroneous affectation of a data into the file win32.c.
Win32.c:| Posted on 2006-10-27 14:37:47-07 by llhca in response to 3330 |
| Re: Imager and UNICODE characters |
|
I have made some research into the files got from SVN. It seems that the problems reported in my message ("Re: Imager and UNICODE characters",Wed Oct 25 15:05:11 2006) was caused by a erroneous affectation of a data into the file win32.c. Win32.c:
...
45 int i_wf_bbox(....
...
...
75 workp = text;
76 work_len = 0;
77 while (work_len > 0) {
78 unsigned long c;
79 unsigned char cp;
.....
I changed the line 76 like this : work_len = length; Is it correct ? I have some doubts because the tests report some anomalies: =============================t00basic........ok t01introvert....ok t020masked......ok t021sixteen.....ok t022double......ok t023palette.....ok t05error........ok t07iolayer......ok t1000files......ok t101jpeg........ok 82/86 skipped: no jpeg support t102png.........ok 27/32 skipped: no png support t103raw.........ok t104ppm.........ok t105gif.........ok 121/125 skipped: no gif support t106tiff........ok 123/127 skipped: no tiff support t107bmp.........ok t108tga.........ok t15color........ok 1/47 skipped: no X rgb.txt found t16matrix.......ok t20fill.........ok t21draw.........ok t30t1font.......ok 76/77 skipped: t1lib unavailable or disabled t35ttfont.......ok 71/72 skipped: freetype 1.x unavailable or disabled t36oofont.......ok 18/20 skipped: various reasons t37w32font......ok 2/38# Looks like you planned 38 tests but ran 1 extra. t37w32font......dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 39 Failed 1/38 tests, 97.37% okay (less 11 skipped tests: 26 okay, 68.42%) t38ft2font......ok 164/165 skipped: no freetype2 library found t40scale........ok 3/223 skipped: optional module Image::Math::Constrain not installed t50basicoo......ok t55trans........ok 4/5 skipped: # warning transform: expr given and Affix::Infix2Postfix is not avaliable. t56postfix......ok t57infix........ok t58trans2.......ok t59assem........ok t61filters......ok t64copyflip.....ok t65crop.........ok t66paste........ok t67convert......ok t68map..........ok t69rubthru......ok t70newgif.......ok t75polyaa.......ok t80texttools....ok 9/11 skipped: Need Freetype 1.x or 2.x to test t81hlines.......ok t82inline.......skipped all skipped: Inline required for testing API t90cc...........ok t91pod..........skipped all skipped: Test::Pod 1.00 required for testing POD t92samples......ok t93podcover.....skipped all skipped: Test::Pod::Coverage 1.08 required for POD coverage t94kwalitee.....ok tr18561.........ok tr18561b........ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t37w32font.t 1 256 38 1 2.63% 39 3 tests and 710 subtests skipped. Failed 1/52 test scripts, 98.08% okay. -1/2456 subtests failed, 100.04% okay. make: *** [test_dynamic] Erreur 14 ================== and, when i use this text : "Hello \x{263A}!", with the windows font "Arial", there is not the same same space between the bottom of the 'smiley' and the bottom of the picture ( 2 pixels) than when i use this text "Hello Box ! pour le 'fun'" (3 pixels between the bottom of the 'P' and the bottom of the picture. My program creates an image which should have the height and the length of the text more 3 pixels. best Regards |
| Direct Responses: 3361 | Write a response |