From: <hba...@us...> - 2007-09-07 02:03:25
|
Revision: 7836 http://plplot.svn.sourceforge.net/plplot/?rev=7836&view=rev Author: hbabcock Date: 2007-09-06 19:03:28 -0700 (Thu, 06 Sep 2007) Log Message: ----------- Fixed to properly handle double escapes. Modified Paths: -------------- trunk/drivers/cairo.c Modified: trunk/drivers/cairo.c =================================================================== --- trunk/drivers/cairo.c 2007-09-06 21:55:11 UTC (rev 7835) +++ trunk/drivers/cairo.c 2007-09-07 02:03:28 UTC (rev 7836) @@ -485,6 +485,7 @@ } i++; if (ucs4[i] == (PLUNICODE)plplotEsc){ // a escape character to display + ucs4_to_utf8(ucs4[i],utf8); strcat(pangoMarkupString, utf8); i++; continue; @@ -739,7 +740,6 @@ aStream = (PLCairo *)pls->dev; - // Invert the coordinate system so the graphs are drawn right side up. matrix = (cairo_matrix_t *) malloc (sizeof(cairo_matrix_t)); cairo_matrix_init(matrix, x11, x12, x21, x22, x0, y0); cairo_transform(aStream->cairoContext, matrix); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |