summaryrefslogtreecommitdiff
path: root/textproc/xmlroff/files/patch-libfo::fo-doc-gp.c
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2007-09-02 16:22:14 +0000
committerHiroki Sato <hrs@FreeBSD.org>2007-09-02 16:22:14 +0000
commit9338d9f65f924cdeb350314bae7c8df66072d046 (patch)
tree5a46c1557a3576ddac5e246ac6f99a25fcb4e847 /textproc/xmlroff/files/patch-libfo::fo-doc-gp.c
parentupdate to 9.4.1.2 (diff)
Update to 0.5.2. Changes include:
* Fixed crash in locales with comma as decimal separator (#49) * Cleaned up all compiler warnings (#51) * >99% reduction in 'permanently lost' memory leaks (#52) * Fixed compilation error when GNOME Print not installed (#34) * Fixed segfaults when media-usage not 'paginate'
Diffstat (limited to 'textproc/xmlroff/files/patch-libfo::fo-doc-gp.c')
-rw-r--r--textproc/xmlroff/files/patch-libfo::fo-doc-gp.c56
1 files changed, 0 insertions, 56 deletions
diff --git a/textproc/xmlroff/files/patch-libfo::fo-doc-gp.c b/textproc/xmlroff/files/patch-libfo::fo-doc-gp.c
deleted file mode 100644
index d22088db10ae..000000000000
--- a/textproc/xmlroff/files/patch-libfo::fo-doc-gp.c
+++ /dev/null
@@ -1,56 +0,0 @@
---- libfo/fo-doc-gp.c.orig Sun Jul 23 05:13:09 2006
-+++ libfo/fo-doc-gp.c Sat Aug 19 01:26:49 2006
-@@ -1237,6 +1237,7 @@
- gint y)
- {
- PangoLayoutIter *iter;
-+ gint line_number = -1;
-
- g_return_if_fail (context != NULL);
- g_return_if_fail (PANGO_IS_LAYOUT (layout));
-@@ -1245,7 +1246,6 @@
-
- iter = pango_layout_get_iter (layout);
-
-- gint line_number = -1;
- do
- {
- PangoRectangle logical_rect;
-@@ -1296,6 +1296,9 @@
- gdouble x,
- gdouble y)
- {
-+ gdouble x1, x2, y1, y2;
-+ guint line_first, line_last;
-+
- g_return_if_fail (FO_IS_DOC_GP (fo_doc));
- g_return_if_fail (FO_DOC_GP (fo_doc)->context != NULL);
- g_return_if_fail (FO_IS_AREA_LAYOUT (area_layout));
-@@ -1307,9 +1310,9 @@
- * lines that are to be rendered.
- */
-
-- gdouble y1 = y;
-+ y1 = y;
-
-- guint line_first = fo_area_layout_get_line_first (area_layout);
-+ line_first = fo_area_layout_get_line_first (area_layout);
- if (line_first > 0)
- {
- y1 =
-@@ -1317,12 +1320,12 @@
- line_first - 1);
- }
-
-- guint line_last = fo_area_layout_get_line_last (area_layout);
-- gdouble y2 =
-+ line_last = fo_area_layout_get_line_last (area_layout);
-+ y2 =
- y1 - fo_area_layout_get_line_height (area_layout,
- line_last);
-
-- gdouble x2 =
-+ x2 =
- x + fo_area_area_get_width (area_layout);
-
- #if ENABLE_CLIP