summaryrefslogtreecommitdiff
path: root/BUGS
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2004-03-30 17:24:29 +0000
committerCarl Worth <cworth@cworth.org>2004-03-30 17:24:29 +0000
commitc7d2b0e0531633630823090a7d85c14b916275c0 (patch)
tree7b4b19d34c7ea1d460ebf36cd53e4ecbb95dc69f /BUGS
parent3cd25474937c1ae2dbd17d28aaa5c7868f3902ef (diff)
Add proposal for cairo_xlib_surface_set_size.
Added note about problem with cairo_scale_font.
Diffstat (limited to 'BUGS')
-rw-r--r--BUGS27
1 files changed, 27 insertions, 0 deletions
diff --git a/BUGS b/BUGS
index 4902eaeb..ead687c4 100644
--- a/BUGS
+++ b/BUGS
@@ -1,5 +1,7 @@
Splines are not dashed.
+--
+
The polygon tessellation routine has problems. It appears that the
following paper has the right answers:
@@ -9,10 +11,14 @@ following paper has the right answers:
Finite Precision Output, Computation Geometry Theory and
Applications, 13(4), 1999.
+--
+
Stroking a self-intersecting path generates the wrong answer, (in
mostly subtle ways). The fix is to tessellate a giant polygon for the
entire stroke outline rather than incrementally generating trapezoids.
+--
+
Cairo is crashing Xnest with the following message:
X Error of failed request: BadMatch (invalid parameter attributes)
@@ -22,3 +28,24 @@ X Error of failed request: BadMatch (invalid parameter attributes)
confirmed on a quite default install of debian unstable.
+--
+
+cairo_scale_font modifies objects that the user expects to not change. For example:
+
+ cairo_font_t *font;
+
+ cairo_select_font (cr, "fixed", 0, 0);
+ font = cairo_current_font (cr);
+ cairo_scale_font (cr, 10);
+ cairo_show_text (cr, "all is good");
+ cairo_set_font (cr, font);
+ cairo_scale_font (cr, 10);
+ cairo_show_text (cr, "WAY TOO BIG!!);
+
+We could fix this by not storing the scale in the font object. Or
+maybe we could just force the size to its default after set_font. Need
+to think about this in more detail.
+
+--
+
+Caps are added only to the last subpath in a complex path.