From acc76dbe442be2f554595b134d78ec3ef53d4097 Mon Sep 17 00:00:00 2001 From: Hiroki Sato Date: Mon, 30 Jan 2006 15:06:14 +0000 Subject: Update to 0.3.8. Changes include: - Changes between 0.3.7 and 0.3.8 * Corrected endless loop if area won't fit on page * Added handling 'overflow' property of fo:region-body * xmlroff stops at first error instead of continuing - Changes between 0.3.6 and 0.3.7 * Corrected placement of fo:external-graphic if not first on line * Added setting pixels-per-inch (for graphics without intrinsic size) as configure option * Working on averting endless loop if area won't fit on page. - Changes between 0.3.5 and 0.3.6 * Resolves relative URIs for fo:external-graphic 'src' property values (Stefan Seefeld) * Added 'content-type' to libfo-compat.xsl * Stopped requiring 'content-height' and 'content-width' * Supporting percentages for 'content-height' and 'content-width' * Improved Cygwin support (Gerrit Haase) - Changes between 0.3.4 and 0.3.5 * fo:external-graphic works (but requires 'content-height' and 'content-width') * Stopped removing 'fo:external-graphic' in libfo-compat.xsl (Tim Waugh) * Able to build in separate directory (Matthew Daniel) * Default 'auto' output format determines format from output file extension * Added conformance section to documentation - Changes between 0.3.3 and 0.3.4 * Add '--format' parameter for PDF or PostScript output * Reduced memory leakage * Partially re-implemented fo:external-graphic support * Corrected whitespace handling in libfo-compat.xsl (Tim Waugh) * Corrected "url()" handling * 86% symbol docs coverage --- textproc/xmlroff/files/patch-fo-fo-block-area.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 textproc/xmlroff/files/patch-fo-fo-block-area.c (limited to 'textproc/xmlroff/files/patch-fo-fo-block-area.c') diff --git a/textproc/xmlroff/files/patch-fo-fo-block-area.c b/textproc/xmlroff/files/patch-fo-fo-block-area.c new file mode 100644 index 000000000000..e261d8bf0d2c --- /dev/null +++ b/textproc/xmlroff/files/patch-fo-fo-block-area.c @@ -0,0 +1,19 @@ +--- fo/fo-block-area.c.orig Mon Jan 30 21:55:41 2006 ++++ fo/fo-block-area.c Mon Jan 30 21:56:28 2006 +@@ -222,6 +222,7 @@ + GSList *line_heights = NULL; + gint line_count, line_index; + gint cumulative_height = 0; ++ gchar *font_family = NULL; + + g_return_if_fail (block != NULL); + g_return_if_fail (FO_IS_BLOCK (block)); +@@ -312,7 +313,7 @@ + font_desc = + fo_font_desc_copy (fo_doc_get_font_desc (fo_doc)); + +- gchar *font_family = fo_string_get_value (fo_property_get_value (fo_block_get_font_family (block))); ++ font_family = fo_string_get_value (fo_property_get_value (fo_block_get_font_family (block))); + fo_font_desc_set_family (font_desc, font_family); + g_free (font_family); + -- cgit v1.2.3