[cairo-bugs] [Bug 17830] New: postscript cuts text when rotated

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 29 15:02:10 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=17830

           Summary: postscript cuts text when rotated
           Product: cairo
           Version: 1.8.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: postscript backend
        AssignedTo: ajohnson at redneon.com
        ReportedBy: doutriaux1 at llnl.gov
         QAContact: cairo-bugs at cairographics.org


THe pasted snipet of code shows an example that works compiled under 1.6.4, and
works under other backend (png/svg/pdf).

Somehow I get a truncated output since 1.7.4 (at least) it seems as if the text
is truncated as if the page was orientated portrait (i first rotate it and then
draw as if it was landscape)

1.8.0 still has the problem.

C.

#include <cairo.h>
#include <cairo-ps.h>
int main(){
cairo_surface_t *surface;
cairo_t *cr;
cairo_pattern_t *pattern=NULL;
cairo_surface_t *image=NULL;
cairo_t *cr2=NULL;
double dashes[4];
int ndashes;
cairo_matrix_t matrix;
char achar[2];
surface = cairo_ps_surface_create("test.ps", 792, 612);
cairo_ps_surface_dsc_begin_setup (surface);
cairo_ps_surface_dsc_begin_page_setup (surface);
cr = cairo_create (surface);
cairo_translate(cr,0,612);
cairo_rotate(cr,-1.5707963267948966);
cairo_move_to(cr,660.600037,460.631622);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_rel_move_to(cr,-76.967621,4.506000);
cairo_rotate(cr,0.000000);
achar[0] = 'X';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = 'X';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = 'X';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = 'X';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = 'X';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = 'X';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = 'X';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = 'X';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = 'X';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = 'X';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = 'X';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = 'X';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = 'X';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = 'X';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = 'X';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = 'X';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = 'X';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = 'X';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = 'X';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = 'X';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
cairo_rotate(cr,-0.000000);
cairo_restore(cr);
cairo_save(cr);
cairo_rectangle(cr,18.000000,599.000000,756.000000,-761.800003);
cairo_clip(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_set_source_rgb (cr, 0.600000, 0.000000, 0.000000 );
cairo_restore(cr);
cairo_save(cr);
cairo_rectangle(cr,18.000000,599.000000,756.000000,-761.800003);
cairo_clip(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,55.799999,92.630608);
cairo_line_to(cr,55.799999,85.565033);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,101.160004,92.630608);
cairo_line_to(cr,101.160004,85.565033);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,146.520004,92.630608);
cairo_line_to(cr,146.520004,85.565033);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,191.880005,92.630608);
cairo_line_to(cr,191.880005,85.565033);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,237.240021,92.630608);
cairo_line_to(cr,237.240021,85.565033);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,282.600006,92.630608);
cairo_line_to(cr,282.600006,85.565033);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,327.960022,92.630608);
cairo_line_to(cr,327.960022,85.565033);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,373.320007,92.630608);
cairo_line_to(cr,373.320007,85.565033);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,418.680023,92.630608);
cairo_line_to(cr,418.680023,85.565033);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,464.040039,92.630608);
cairo_line_to(cr,464.040039,85.565033);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,509.400024,92.630608);
cairo_line_to(cr,509.400024,85.565033);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,554.760010,92.630608);
cairo_line_to(cr,554.760010,85.565033);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,600.120056,92.630608);
cairo_line_to(cr,600.120056,85.565033);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,645.480042,92.630608);
cairo_line_to(cr,645.480042,85.565033);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,690.840027,92.630608);
cairo_line_to(cr,690.840027,85.565033);
cairo_stroke(cr);
cairo_restore(cr);
cairo_save(cr);
cairo_rectangle(cr,18.000000,599.000000,756.000000,-761.800003);
cairo_clip(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_set_source_rgb (cr, 0.600000, 0.000000, 0.000000 );
cairo_restore(cr);
cairo_save(cr);
cairo_rectangle(cr,18.000000,599.000000,756.000000,-761.800003);
cairo_clip(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,55.799999,445.911591);
cairo_line_to(cr,48.239998,445.911591);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,55.799999,422.359528);
cairo_line_to(cr,48.239998,422.359528);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,55.799999,398.807465);
cairo_line_to(cr,48.239998,398.807465);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,55.799999,375.255402);
cairo_line_to(cr,48.239998,375.255402);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,55.799999,351.703308);
cairo_line_to(cr,48.239998,351.703308);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,55.799999,328.151245);
cairo_line_to(cr,48.239998,328.151245);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,55.799999,304.599182);
cairo_line_to(cr,48.239998,304.599182);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,55.799999,281.047119);
cairo_line_to(cr,48.239998,281.047119);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,55.799999,257.495056);
cairo_line_to(cr,48.239998,257.495056);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,55.799999,233.943008);
cairo_line_to(cr,48.239998,233.943008);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,55.799999,210.390915);
cairo_line_to(cr,48.239998,210.390915);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,55.799999,186.838852);
cairo_line_to(cr,48.239998,186.838852);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,55.799999,163.286789);
cairo_line_to(cr,48.239998,163.286789);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,55.799999,139.734726);
cairo_line_to(cr,48.239998,139.734726);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,55.799999,116.182671);
cairo_line_to(cr,48.239998,116.182671);
cairo_stroke(cr);
cairo_restore(cr);
cairo_save(cr);
cairo_rectangle(cr,18.000000,599.000000,756.000000,-761.800003);
cairo_clip(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_set_source_rgb (cr, 0.600000, 0.000000, 0.000000 );
cairo_restore(cr);
cairo_save(cr);
cairo_rectangle(cr,18.000000,599.000000,756.000000,-761.800003);
cairo_clip(cr);
cairo_move_to(cr,48.239998,445.911591);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_rel_move_to(cr,-7.044495,4.506000);
cairo_rotate(cr,0.000000);
achar[0] = '0';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
cairo_rotate(cr,-0.000000);
cairo_move_to(cr,48.239998,422.359528);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_rel_move_to(cr,-17.848419,4.506000);
cairo_rotate(cr,0.000000);
achar[0] = '0';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = '.';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = '6';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
cairo_rotate(cr,-0.000000);
cairo_move_to(cr,48.239998,398.807465);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_rel_move_to(cr,-17.848419,4.506000);
cairo_rotate(cr,0.000000);
achar[0] = '1';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = '.';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = '2';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
cairo_rotate(cr,-0.000000);
cairo_move_to(cr,48.239998,375.255402);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_rel_move_to(cr,-17.848419,4.506000);
cairo_rotate(cr,0.000000);
achar[0] = '1';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = '.';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = '8';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
cairo_rotate(cr,-0.000000);
cairo_move_to(cr,48.239998,351.703308);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_rel_move_to(cr,-17.848419,4.506000);
cairo_rotate(cr,0.000000);
achar[0] = '2';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = '.';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = '4';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
cairo_rotate(cr,-0.000000);
cairo_move_to(cr,48.239998,328.151245);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_rel_move_to(cr,-7.044495,4.506000);
cairo_rotate(cr,0.000000);
achar[0] = '3';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
cairo_rotate(cr,-0.000000);
cairo_move_to(cr,48.239998,304.599182);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_rel_move_to(cr,-17.848419,4.506000);
cairo_rotate(cr,0.000000);
achar[0] = '3';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = '.';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = '6';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
cairo_rotate(cr,-0.000000);
cairo_move_to(cr,48.239998,281.047119);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_rel_move_to(cr,-17.848419,4.506000);
cairo_rotate(cr,0.000000);
achar[0] = '4';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = '.';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = '2';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
cairo_rotate(cr,-0.000000);
cairo_move_to(cr,48.239998,257.495056);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_rel_move_to(cr,-17.848419,4.506000);
cairo_rotate(cr,0.000000);
achar[0] = '4';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = '.';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = '8';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
cairo_rotate(cr,-0.000000);
cairo_move_to(cr,48.239998,233.943008);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_rel_move_to(cr,-17.848419,4.506000);
cairo_rotate(cr,0.000000);
achar[0] = '5';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = '.';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = '4';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
cairo_rotate(cr,-0.000000);
cairo_move_to(cr,48.239998,210.390915);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_rel_move_to(cr,-7.044495,4.506000);
cairo_rotate(cr,0.000000);
achar[0] = '6';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
cairo_rotate(cr,-0.000000);
cairo_move_to(cr,48.239998,186.838852);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_rel_move_to(cr,-17.848419,4.506000);
cairo_rotate(cr,0.000000);
achar[0] = '6';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = '.';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = '6';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
cairo_rotate(cr,-0.000000);
cairo_move_to(cr,48.239998,163.286789);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_rel_move_to(cr,-17.848419,4.506000);
cairo_rotate(cr,0.000000);
achar[0] = '7';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = '.';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = '2';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
cairo_rotate(cr,-0.000000);
cairo_move_to(cr,48.239998,139.734726);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_rel_move_to(cr,-17.848419,4.506000);
cairo_rotate(cr,0.000000);
achar[0] = '7';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = '.';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = '8';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
cairo_rotate(cr,-0.000000);
cairo_move_to(cr,48.239998,116.182671);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_rel_move_to(cr,-17.848419,4.506000);
cairo_rotate(cr,0.000000);
achar[0] = '8';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = '.';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
achar[0] = '4';
achar[1] = '\0';
cairo_rel_move_to(cr,0.000000,0.000000);
cairo_show_text (cr, achar);
cairo_rotate(cr,-0.000000);
cairo_restore(cr);
cairo_save(cr);
cairo_rectangle(cr,18.000000,599.000000,756.000000,-761.800003);
cairo_clip(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_set_source_rgb (cr, 0.600000, 0.000000, 0.000000 );
cairo_restore(cr);
cairo_save(cr);
cairo_rectangle(cr,18.000000,599.000000,756.000000,-761.800003);
cairo_clip(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,736.200012,445.911591);
cairo_line_to(cr,743.760010,445.911591);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,736.200012,422.359528);
cairo_line_to(cr,743.760010,422.359528);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,736.200012,398.807465);
cairo_line_to(cr,743.760010,398.807465);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,736.200012,375.255402);
cairo_line_to(cr,743.760010,375.255402);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,736.200012,351.703308);
cairo_line_to(cr,743.760010,351.703308);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,736.200012,328.151245);
cairo_line_to(cr,743.760010,328.151245);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,736.200012,304.599182);
cairo_line_to(cr,743.760010,304.599182);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,736.200012,281.047119);
cairo_line_to(cr,743.760010,281.047119);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,736.200012,257.495056);
cairo_line_to(cr,743.760010,257.495056);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,736.200012,233.943008);
cairo_line_to(cr,743.760010,233.943008);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,736.200012,210.390915);
cairo_line_to(cr,743.760010,210.390915);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,736.200012,186.838852);
cairo_line_to(cr,743.760010,186.838852);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,736.200012,163.286789);
cairo_line_to(cr,743.760010,163.286789);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,736.200012,139.734726);
cairo_line_to(cr,743.760010,139.734726);
cairo_stroke(cr);
ndashes=0;
cairo_set_dash(cr,dashes,ndashes,0.);
cairo_set_line_width(cr,1.000000*.5);
cairo_set_source_rgb (cr, 0.000000, 0.000000, 0.000000 );
cairo_move_to(cr,736.200012,116.182671);
cairo_line_to(cr,743.760010,116.182671);
cairo_stroke(cr);
cairo_restore(cr);
cairo_save(cr);
cairo_rectangle(cr,18.000000,599.000000,756.000000,-761.800003);
cairo_clip(cr);
cairo_destroy (cr);
cairo_surface_flush(surface);
cairo_surface_finish(surface);
cairo_surface_destroy (surface);
}


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list