freebsd-ports/textproc/xmlroff/files/patch-property-fo-property-font-family.c
Hiroki Sato acc76dbe44 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
2006-01-30 15:06:14 +00:00

18 lines
595 B
C

--- property/fo-property-font-family.c.orig Mon Jan 30 23:43:52 2006
+++ property/fo-property-font-family.c Mon Jan 30 23:45:58 2006
@@ -475,13 +475,14 @@
fo_property_font_family_new_attr (FoProperty *property)
{
gchar *pango_font_family;
+ PangoAttribute *pango_attr = NULL;
g_return_val_if_fail (FO_IS_PROPERTY_FONT_FAMILY (property), NULL);
pango_font_family =
fo_string_get_value (property->value);
- PangoAttribute *pango_attr = pango_attr_family_new (pango_font_family);
+ pango_attr = pango_attr_family_new (pango_font_family);
g_free (pango_font_family);