xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ancient <hara...@hotmail.com>
Subject Re: FOP 0.20.5 and text-align end
Date Wed, 22 Sep 2010 05:35:35 GMT


This is the php-generated xsl-fo. Font used is gill-sans as you can see.

"<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<!-- edited with XMLSPY v5 rel. 3 U (http://www.xmlspy.com)  -->
<fo:root xmlns:fo=\"http://www.w3.org/1999/XSL/Format\">
<fo:layout-master-set>

	<fo:simple-page-master master-name=\"kortti\" page-height=\"5.6cm\"
margin-top=\"0.0cm\" page-width=\"9.6cm\" writing-mode=\"lr-tb\">
		<fo:region-start extent=\"0cm\" precedence=\"true\"
region-name=\"page-start\"/>
		<fo:region-end extent=\"6.05mm\" precedence=\"true\"
region-name=\"page-end\"/>
		<fo:region-after extent=\"1.79cm\" precedence=\"false\"
region-name=\"page-after\"/>
		<fo:region-body/>
		<fo:region-before extent=\"3.80cm\" precedence=\"false\"
region-name=\"page-before\"/>
	</fo:simple-page-master>

	<fo:page-sequence-master master-name=\"sivu\">
		<fo:single-page-master-reference master-reference=\"kortti\"/>
	</fo:page-sequence-master>

</fo:layout-master-set>

<fo:page-sequence master-reference=\"kortti\">

	<fo:static-content flow-name=\"page-before\" line-height=\"1.16\">
		<fo:block font-family=\"GillSans\" font-size=\"9pt\"
font-weight=\"normal\" color=\"".$tekstin_vari."\"
text-align=\"right\">&#160;</fo:block>
		<fo:block font-family=\"GillSans\" font-size=\"9pt\"
font-weight=\"normal\" color=\"".$tekstin_vari."\"
text-align=\"right\">&#160;</fo:block>
		<fo:block font-family=\"GillSans\" font-size=\"9pt\"
font-weight=\"normal\" color=\"".$tekstin_vari."\"
text-align=\"right\">&#160;</fo:block>
		<fo:block font-family=\"GillSans\" font-size=\"9pt\"
font-weight=\"normal\" color=\"".$tekstin_vari."\"
text-align=\"right\">&#160;</fo:block>
		<fo:block font-family=\"GillSans\" font-size=\"9pt\"
font-weight=\"normal\" color=\"".$tekstin_vari."\"
text-align=\"right\">&#160;</fo:block>
		<fo:block font-family=\"GillSans\" font-size=\"19pt\"
font-weight=\"normal\" color=\"".$tekstin_vari."\"
text-align=\"right\">&#160;</fo:block>

		<fo:block font-family=\"GillSans\" font-size=\"8.5pt\"
font-weight=\"normal\" color=\"".$tekstin_vari."\" text-align=\"end\"
letter-spacing=\"0.9pt\" ".$lisaargumentit.">".strtoupper($nimi1_puoli1."
".$nimi2_puoli1).$rivinpaatemerkki."</fo:block>
		
		<fo:block font-family=\"GillSansLightItalic\" font-size=\"7pt\"
font-weight=\"normal\" color=\"".$tekstin_vari."\" text-align=\"end\"
letter-spacing=\"0.72pt\"
".$lisaargumentit.">".$toimenkuva.$rivinpaatemerkki."</fo:block>

		<fo:block font-family=\"GillSansLightItalic\" font-size=\"7pt\"
font-weight=\"normal\" color=\"".$tekstin_vari."\" text-align=\"end\"
letter-spacing=\"".$letterspacing."\"
".$lisaargumentit.">".$lisakentta1_puoli1.$rivinpaatemerkki."</fo:block>

		<fo:block font-family=\"GillSansLightItalic\" font-size=\"7pt\"
font-weight=\"normal\" color=\"".$tekstin_vari."\" text-align=\"end\"
letter-spacing=\"".$letterspacing."\"
".$lisaargumentit.">".$lisakentta2_puoli1.$rivinpaatemerkki."</fo:block>
	</fo:static-content>

	<fo:static-content flow-name=\"page-after\" line-height=\"1.29\">

		<fo:block font-family=\"GillSans-Light\" font-size=\"7pt\"
font-weight=\"normal\" color=\"".$tekstin_vari."\" text-align=\"end\" 
		letter-spacing=\"".$letterspacing."\"
".$lisaargumentit.">".strtoupper($yritys_puoli1)."|".$rivinpaatemerkki."</fo:block>

		<fo:block font-family=\"GillSans-Light\" font-size=\"7pt\"
font-weight=\"normal\" color=\"".$tekstin_vari."\" text-align=\"end\" 
		letter-spacing=\"".$letterspacing."\" ".$lisaargumentit.">".$osoiterivi1."
- ".$osoiterivi2."|".$rivinpaatemerkki."</fo:block>

		<fo:block font-family=\"GillSans-Light\" font-size=\"7pt\"
font-weight=\"normal\" color=\"".$tekstin_vari."\" text-align=\"end\" 
		letter-spacing=\"".$letterspacing."\"
".$lisaargumentit.">".$puhelin_rivi.$matkapuhelin.$faxi_rivi."|".$rivinpaatemerkki."</fo:block>

		".$emailwww_rivi."
		
	</fo:static-content>
		
	<fo:flow flow-name=\"xsl-region-body\" padding-top=\"0.5cm\"
padding-left=\"0.5cm\">
		<fo:external-graphic src=\"".$sivujen_paikallisosoite."tiedostot/Oulun
yliopisto/Oulun_yo_kpohja.jpg\"/>
	</fo:flow>

</fo:page-sequence>
</fo:root>"



What about when you use a recent release like 1.0? 0.20.5 is prehistoric.

You'll need to supply a bit more information. The XSL-FO file and 
command-line parameters used to generate the file would be a start, 
along with any extra fonts used if necessary.

If fop is embedded in a program, you might want to produce a 
self-contained compilable and runnable test case that can demonstrate 
the problem using only fop its self.

-- 
Craig Ringer


-- 
View this message in context: http://old.nabble.com/FOP-0.20.5-and-text-align-end-tp29737124p29776286.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message