From: SourceForge.net <no...@so...> - 2011-03-23 17:11:18
|
Bugs item #3157584, was opened at 2011-01-13 20:41 Message generated for change (Comment added) made by mzjn You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=3157584&group_id=21935 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: XSL Group: output: print/FO/PDF >Status: Pending >Resolution: Fixed Priority: 5 Private: No Submitted By: https://www.google.com/accounts () Assigned to: Nobody/Anonymous (nobody) Summary: Unicode and font-family selection Initial Comment: Hi, I found something strange when using Unicode characters in section titles. 'font-family' attribute seems to be stripped: $ xsltproc --stringparam title.font.family foobar /opt/docbook-xsl-ns-1.76.1/fo/docbook.xsl test.xml | xmllint --format - | fgrep -C4 'font-family="foobar"' Making portrait pages on USletter paper (8.5inx11in) <fo:block> <fo:block> <fo:block margin-left="0pt" font-family="foobar,Symbol,ZapfDingbats" keep-together.within-column="always"> <fo:block keep-with-next.within-column="always"> <fo:block font-family="foobar" font-weight="bold" keep-with-next.within-column="always" space-before.minimum="0.8em" space-before.optimum="1.0em" space-before.maximum="1.2em" text-align="start" start-indent="0pt"> <fo:marker marker-class-name="section.head.marker">Test Unicode →</fo:marker> <fo:block font-size="20.736pt">Test Unicode →</fo:block> </fo:block> </fo:block> In line 4, font-family is "foobar,Symbol,ZapfDingbats" which is correct according to the reference manual. In line 6, font-family is set to "foobar" only, which prevents some Unicode chars from being searched in Symbol and ZapfDingbats. Why is it stripped ? I have the same results with saxon-6.5.5. Regards, -- Marc ---------------------------------------------------------------------- >Comment By: Mauritz Jeanson (mzjn) Date: 2011-03-23 18:11 Message: Fixed in section.title.properties.xml. ---------------------------------------------------------------------- Comment By: Mauritz Jeanson (mzjn) Date: 2011-03-05 12:39 Message: This looks like a bug in the section.title.properties attribute-set. It uses title.font.family instead of title.fontset as the value of the font-family attribute (see param.xsl and pagesetup.xsl). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=3157584&group_id=21935 |