<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>fop-users@xmlgraphics.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/"/>
<id>http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/</id>
<updated>2009-12-06T00:28:35Z</updated>
<entry>
<title>Re: [Xmlgraphics-fop Wiki] Update of &quot;HowTo/XmlCommonsResolver&quot; by JackBates</title>
<author><name>Jack Bates &lt;ms419@freezone.co.uk&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200912.mbox/%3c1259969874.6707.28.camel@tad%3e"/>
<id>urn:uuid:%3c1259969874-6707-28-camel@tad%3e</id>
<updated>2009-12-04T23:37:54Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Thank you Simon - I made these corrections

On Fri, 2009-12-04 at 19:52 +0100, Simon Pepping wrote:
&gt; Hi Jack,
&gt; 
&gt; Thanks for this addition. I note that the page originally describes
&gt; how to use the catalog resolver for retrieving images. The -catalog
&gt; option specifically only works for the conversion from XML to
&gt; output. (In such a case FOP sets up the transformation from XML to FO
&gt; using XSLT, and in that setup the -catalog option adds a catalog
&gt; resolver.) Even with the -catalog option the catalog resolver is not
&gt; used for image retrieval. (Maybe it should, but I have not thought of
&gt; it.) Your addition should make this distinction clear. Therefore I
&gt; think that the section 'Command line option' should be at the end,
&gt; followed by the note about the W3C.
&gt; 
&gt; Regarding the catalog resolver in Java 6, I am not sure that it is
&gt; present in other Java installations than the one from Sun,
&gt; specifically in OpenJDK. Note that the class name is Sun's class
&gt; name. This should be checked.
&gt; 
&gt; Regards, Simon
&gt; 
&gt; On Thu, Dec 03, 2009 at 07:53:49PM -0000, Apache Wiki wrote:
&gt; &gt; Dear Wiki user,
&gt; &gt; 
&gt; &gt; You have subscribed to a wiki page or wiki category on "Xmlgraphics-fop Wiki" for
change notification.
&gt; &gt; 
&gt; &gt; The "HowTo/XmlCommonsResolver" page has been changed by JackBates.
&gt; &gt; http://wiki.apache.org/xmlgraphics-fop/HowTo/XmlCommonsResolver?action=diff&amp;rev1=6&amp;rev2=7
&gt; &gt; 
&gt; &gt; --------------------------------------------------
&gt; &gt; 
&gt; &gt;   You can download it at: http://xml.apache.org/mirrors.cgi
&gt; &gt;   
&gt; &gt;   The main website is at: http://xml.apache.org/commons/components/resolver/
&gt; &gt; + 
&gt; &gt; + XML Commons Resolver is [http://thread.gmane.org/gmane.text.xml.fop.user/29585
included in Java 6], so if you're running Java 6 or later, it's already installed. In Java
6 the catalog resolver class name is, com.sun.org.apache.xml.internal.resolver.tools.CatalogResolver
&gt; &gt;   
&gt; &gt;   = The Example =
&gt; &gt;   
&gt; &gt; @@ -31, +33 @@
&gt; &gt; 
&gt; &gt;   
&gt; &gt;    * Run the ExampleFO2PDF!WithResolver class.
&gt; &gt;   
&gt; &gt; + = Command line option =
&gt; &gt; + 
&gt; &gt; + Simon Pepping [http://thread.gmane.org/gmane.text.xml.fop.user/29585 added a -catalog
option] in [http://svn.apache.org/viewvc?view=revision&amp;revision=825875 revision 825875].
With this option you can render XML with the FOP command and use the catalog resolver:
&gt; &gt; + 
&gt; &gt; + {{{  $ ./fop -catalog -xml icaatom.html -xsl icaatom.xsl icaatom.pdf}}}
&gt; &gt; + 
&gt; &gt;   = Notes =
&gt; &gt;   
&gt; &gt;   You will recognize that the FO file is specified through a "URN", too, not just
the image referenced in the FO file. This is simply to make it easier for you to set up the
demo. The FO file itself will be loaded directly from the Web.
&gt; &gt;   
&gt; &gt; + Since the W3C started [http://www.w3.org/blog/systeam/2008/02/08/w3c_s_excessive_dtd_traffic
blocking abusive request patterns] for DTDs, it may be necessary to use local copies of these
DTDs instead. A good way to do this is with the catalog resolver. Errors like the following
may happen when you try using a DTD from the W3C's servers:
&gt; &gt; + 
&gt; &gt; + {{{
&gt; &gt; + java.io.IOException: Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
&gt; &gt; + }}}
&gt; &gt; + 
&gt; &gt; 
&gt; &gt; ---------------------------------------------------------------------
&gt; &gt; To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
&gt; &gt; For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org
&gt; &gt; 
&gt; 


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [Xmlgraphics-fop Wiki] Update of &quot;HowTo/XmlCommonsResolver&quot; by JackBates</title>
<author><name>Simon Pepping &lt;spepping@leverkruid.eu&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200912.mbox/%3c20091204185218.GA3919@leverkruid.eu%3e"/>
<id>urn:uuid:%3c20091204185218-GA3919@leverkruid-eu%3e</id>
<updated>2009-12-04T18:52:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Jack,

Thanks for this addition. I note that the page originally describes
how to use the catalog resolver for retrieving images. The -catalog
option specifically only works for the conversion from XML to
output. (In such a case FOP sets up the transformation from XML to FO
using XSLT, and in that setup the -catalog option adds a catalog
resolver.) Even with the -catalog option the catalog resolver is not
used for image retrieval. (Maybe it should, but I have not thought of
it.) Your addition should make this distinction clear. Therefore I
think that the section 'Command line option' should be at the end,
followed by the note about the W3C.

Regarding the catalog resolver in Java 6, I am not sure that it is
present in other Java installations than the one from Sun,
specifically in OpenJDK. Note that the class name is Sun's class
name. This should be checked.

Regards, Simon

On Thu, Dec 03, 2009 at 07:53:49PM -0000, Apache Wiki wrote:
&gt; Dear Wiki user,
&gt; 
&gt; You have subscribed to a wiki page or wiki category on "Xmlgraphics-fop Wiki" for change
notification.
&gt; 
&gt; The "HowTo/XmlCommonsResolver" page has been changed by JackBates.
&gt; http://wiki.apache.org/xmlgraphics-fop/HowTo/XmlCommonsResolver?action=diff&amp;rev1=6&amp;rev2=7
&gt; 
&gt; --------------------------------------------------
&gt; 
&gt;   You can download it at: http://xml.apache.org/mirrors.cgi
&gt;   
&gt;   The main website is at: http://xml.apache.org/commons/components/resolver/
&gt; + 
&gt; + XML Commons Resolver is [http://thread.gmane.org/gmane.text.xml.fop.user/29585 included
in Java 6], so if you're running Java 6 or later, it's already installed. In Java 6 the catalog
resolver class name is, com.sun.org.apache.xml.internal.resolver.tools.CatalogResolver
&gt;   
&gt;   = The Example =
&gt;   
&gt; @@ -31, +33 @@
&gt; 
&gt;   
&gt;    * Run the ExampleFO2PDF!WithResolver class.
&gt;   
&gt; + = Command line option =
&gt; + 
&gt; + Simon Pepping [http://thread.gmane.org/gmane.text.xml.fop.user/29585 added a -catalog
option] in [http://svn.apache.org/viewvc?view=revision&amp;revision=825875 revision 825875].
With this option you can render XML with the FOP command and use the catalog resolver:
&gt; + 
&gt; + {{{  $ ./fop -catalog -xml icaatom.html -xsl icaatom.xsl icaatom.pdf}}}
&gt; + 
&gt;   = Notes =
&gt;   
&gt;   You will recognize that the FO file is specified through a "URN", too, not just the
image referenced in the FO file. This is simply to make it easier for you to set up the demo.
The FO file itself will be loaded directly from the Web.
&gt;   
&gt; + Since the W3C started [http://www.w3.org/blog/systeam/2008/02/08/w3c_s_excessive_dtd_traffic
blocking abusive request patterns] for DTDs, it may be necessary to use local copies of these
DTDs instead. A good way to do this is with the catalog resolver. Errors like the following
may happen when you try using a DTD from the W3C's servers:
&gt; + 
&gt; + {{{
&gt; + java.io.IOException: Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
&gt; + }}}
&gt; + 
&gt; 
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
&gt; For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org
&gt; 

-- 
Simon Pepping
home page: http://www.leverkruid.eu

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Base 14 fonts</title>
<author><name>Vincent Hennebert &lt;vhennebert@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200912.mbox/%3c4B19410D.7050107@gmail.com%3e"/>
<id>urn:uuid:%3c4B19410D-7050107@gmail-com%3e</id>
<updated>2009-12-04T17:04:13Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Gregory,

Gregory Buchenberger wrote:
&gt; Hi,
&gt; 
&gt; Does anyone know of a free source where I might find the base 14 fonts?

You can get the fonts distributed with Ghostscript at the following
address:
http://sourceforge.net/projects/gs-fonts/

They are clones of the Base14 fonts contributed by URW++ and made
available under the GPL license.


&gt; Thanks,
&gt; 
&gt; Greg Buchenberger

HTH,
Vincent

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



</pre>
</div>
</content>
</entry>
<entry>
<title>AW: again strange keeps</title>
<author><name>&quot;Georg Datterl&quot; &lt;georg.datterl@geneon.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200912.mbox/%3c4525C911607AFB4A9AFF7D0B6BEB195607C5CD0D@galaxy.nbg.geneon.de%3e"/>
<id>urn:uuid:%3c4525C911607AFB4A9AFF7D0B6BEB195607C5CD0D@galaxy-nbg-geneon-de%3e</id>
<updated>2009-12-04T16:08:27Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Vincent, 

I'll try your suggestion on Monday. Thanks a lot. 

I do try to simplify my fos, but usually I end up with a simple fo which doesn't show the
problem any longer. But I did not know this values make debugging harder. I'll keep it in
mind for the next problem. 

Regards and have a nice weekend,
 
Georg Datterl
 
------ Kontakt ------
 
Georg Datterl
 
Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg
 
HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert 

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20
 
www.geneon.de
 
Weitere Mitglieder der Willmy MediaGroup:
 
IRS Integrated Realization Services GmbH:    www.irs-nbg.de 
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult &amp; Content GmbH:                 www.willmycc.de 
-----Ursprüngliche Nachricht-----
Von: Vincent Hennebert [mailto:vhennebert@gmail.com] 
Gesendet: Freitag, 4. Dezember 2009 17:03
An: fop-users@xmlgraphics.apache.org
Betreff: Re: again strange keeps

Hi Georg,

Georg Datterl wrote:
&gt; Hi Vincent,
&gt; 
&gt; You explanations sounds quite good, but if I replace the keeps "5" with "always", the
whole block, images and everything, move to the next page. Is that, because that's more "desireable"?


That's because you use keep-with-next.within-page instead of .within-column, and that has
a side-effect on the table algorithm. In
short: .within-column forbids any block-level break whatsoever, whereas .within-page only
forbids page breaks. This is enough for the table algorithm to build a different sequence
of elements, and skip the preferable break after the 'TEST' block. Replace your keep.within-page
with keep.within-column and you get the expected output.


&gt; The present solution with the headre and the final, empty line on the next page is in
any case least desireable, because it looks ugly. Do you see a way to force the images and
two tables on the first page, the third table and image on the second page?
&gt; 
&gt; Regards,
&gt;  
&gt; Georg Datterl

HTH,
Vincent

PS: please, next time, could you try and simplify your FO document to use more 'regular' dimensions?
For example, a padding of 1.5pt instead of 1.417pt, a space-after of 6pt instead of 5.669pt,
etc. That would ease the debugging a lot (provided you can still reproduce your problem, of
course). Thanks :-)


&gt; ------ Kontakt ------
&gt;  
&gt; Georg Datterl


&gt;  
&gt; Geneon media solutions gmbh
&gt; Gutenstetter Straße 8a
&gt; 90449 Nürnberg
&gt;  
&gt; HRB Nürnberg: 17193
&gt; Geschäftsführer: Yong-Harry Steiert
&gt; 
&gt; Tel.: 0911/36 78 88 - 26
&gt; Fax: 0911/36 78 88 - 20
&gt;  
&gt; www.geneon.de
&gt;  
&gt; Weitere Mitglieder der Willmy MediaGroup:
&gt;  
&gt; IRS Integrated Realization Services GmbH:    www.irs-nbg.de 
&gt; Willmy PrintMedia GmbH:                            www.willmy.de
&gt; Willmy Consult &amp; Content GmbH:                 www.willmycc.de 
&gt; -----Ursprüngliche Nachricht-----
&gt; Von: Vincent Hennebert [mailto:vhennebert@gmail.com]
&gt; Gesendet: Donnerstag, 3. Dezember 2009 13:24
&gt; An: fop-users@xmlgraphics.apache.org
&gt; Betreff: Re: again strange keeps
&gt; 
&gt; Hi Georg,
&gt; 
&gt; Georg Datterl wrote:
&gt;&gt; Hi everybody, hi Vincent,
&gt;&gt;
&gt;&gt; Attached fo file contains the already well known tables, now for A6 format. In this
case, the right column contains three short tables and one image. Since that's too much for
one page, fop inserts a break before the last line of the third table, overriding a keep-with-next.within-page="5".
Now I would have expected the keep at the red block with the "TEST"-Text, since this block
does not have any keeps, but obviously I'm missing something here. Can somebody help?
&gt; 
&gt; Support for integer keeps is very limited at the moment. A break 
&gt; occurring within an integer keep will simply be given maximum penalty 
&gt; in the hope that breaks at better places (i.e., where keep has been 
&gt; left to
&gt; auto) will be privileged. All integer values result into the same 
&gt; break penalty. In fact, the current implementation supports only 3 
&gt; keep
&gt; values: auto, 'highly desirable', always.
&gt; 
&gt; A break where keep is highly desirable may still be privileged over a 
&gt; break where keep is auto if that leads to a better overall layout; for 
&gt; example, if breaking at auto places would lead to half-empty pages 
&gt; whereas breaking at undesirable places would give full pages. (This is 
&gt; not compliant with the Recommendation, for that matter.)
&gt; 
&gt; In the present case, however, there is something else that comes into
&gt; play: since the two images in the first column must be kept together, they make a big
unbreakable block. Therefore, the table algorithm will put as much content from the second
column as possible to match the height of the first one (the heuristic being that full tables
are more desirable). By doing that, it will skip the acceptable breaks after the TEST blocks,
and will end up with the less acceptable ones inside the inner tables.
&gt; 
&gt; 
&gt;&gt; Regards,
&gt;&gt;  
&gt;&gt; Georg Datterl
&gt;&gt;  
&gt;&gt; ------ Kontakt ------
&gt;&gt;  
&gt;&gt; Georg Datterl
&gt;&gt;  
&gt;&gt; Geneon media solutions gmbh
&gt;&gt; Gutenstetter Straße 8a
&gt;&gt; 90449 Nürnberg
&gt;&gt;  
&gt;&gt; HRB Nürnberg: 17193
&gt;&gt; Geschäftsführer: Yong-Harry Steiert
&gt;&gt;
&gt;&gt; Tel.: 0911/36 78 88 - 26
&gt;&gt; Fax: 0911/36 78 88 - 20
&gt;&gt;  
&gt;&gt; www.geneon.de
&gt;&gt;  
&gt;&gt; Weitere Mitglieder der Willmy MediaGroup:
&gt;&gt;  
&gt;&gt; IRS Integrated Realization Services GmbH:    www.irs-nbg.de 
&gt;&gt; Willmy PrintMedia GmbH:                            www.willmy.de
&gt;&gt; Willmy Consult &amp; Content GmbH:                 www.willmycc.de 
&gt; 
&gt; 
&gt; Vincent

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


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: again strange keeps</title>
<author><name>Vincent Hennebert &lt;vhennebert@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200912.mbox/%3c4B1932A7.9000208@gmail.com%3e"/>
<id>urn:uuid:%3c4B1932A7-9000208@gmail-com%3e</id>
<updated>2009-12-04T16:02:47Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Georg,

Georg Datterl wrote:
&gt; Hi Vincent, 
&gt; 
&gt; You explanations sounds quite good, but if I replace the keeps "5" with "always", the
whole block, images and everything, move to the next page. Is that, because that's more "desireable"?


Thatâ€™s because you use keep-with-next.within-page instead of
.within-column, and that has a side-effect on the table algorithm. In
short: .within-column forbids any block-level break whatsoever, whereas
.within-page only forbids page breaks. This is enough for the table
algorithm to build a different sequence of elements, and skip the
preferable break after the â€˜TESTâ€™ block. Replace your keep.within-page
with keep.within-column and you get the expected output.


&gt; The present solution with the headre and the final, empty line on the next page is in
any case least desireable, because it looks ugly. Do you see a way to force the images and
two tables on the first page, the third table and image on the second page?
&gt; 
&gt; Regards,
&gt;  
&gt; Georg Datterl

HTH,
Vincent

PS: please, next time, could you try and simplify your FO document to
use more â€˜regularâ€™ dimensions? For example, a padding of 1.5pt instead
of 1.417pt, a space-after of 6pt instead of 5.669pt, etc. That would
ease the debugging a lot (provided you can still reproduce your problem,
of course). Thanks :-)


&gt; ------ Kontakt ------
&gt;  
&gt; Georg Datterl


&gt;  
&gt; Geneon media solutions gmbh
&gt; Gutenstetter StraÃŸe 8a
&gt; 90449 NÃ¼rnberg
&gt;  
&gt; HRB NÃ¼rnberg: 17193
&gt; GeschÃ¤ftsfÃ¼hrer: Yong-Harry Steiert 
&gt; 
&gt; Tel.: 0911/36 78 88 - 26
&gt; Fax: 0911/36 78 88 - 20
&gt;  
&gt; www.geneon.de
&gt;  
&gt; Weitere Mitglieder der Willmy MediaGroup:
&gt;  
&gt; IRS Integrated Realization Services GmbH:    www.irs-nbg.de 
&gt; Willmy PrintMedia GmbH:                            www.willmy.de
&gt; Willmy Consult &amp; Content GmbH:                 www.willmycc.de 
&gt; -----UrsprÃ¼ngliche Nachricht-----
&gt; Von: Vincent Hennebert [mailto:vhennebert@gmail.com] 
&gt; Gesendet: Donnerstag, 3. Dezember 2009 13:24
&gt; An: fop-users@xmlgraphics.apache.org
&gt; Betreff: Re: again strange keeps
&gt; 
&gt; Hi Georg,
&gt; 
&gt; Georg Datterl wrote:
&gt;&gt; Hi everybody, hi Vincent,
&gt;&gt;
&gt;&gt; Attached fo file contains the already well known tables, now for A6 format. In this
case, the right column contains three short tables and one image. Since that's too much for
one page, fop inserts a break before the last line of the third table, overriding a keep-with-next.within-page="5".
Now I would have expected the keep at the red block with the "TEST"-Text, since this block
does not have any keeps, but obviously I'm missing something here. Can somebody help?
&gt; 
&gt; Support for integer keeps is very limited at the moment. A break occurring within an
integer keep will simply be given maximum penalty in the hope that breaks at better places
(i.e., where keep has been left to
&gt; auto) will be privileged. All integer values result into the same break penalty. In fact,
the current implementation supports only 3 keep
&gt; values: auto, 'highly desirable', always.
&gt; 
&gt; A break where keep is highly desirable may still be privileged over a break where keep
is auto if that leads to a better overall layout; for example, if breaking at auto places
would lead to half-empty pages whereas breaking at undesirable places would give full pages.
(This is not compliant with the Recommendation, for that matter.)
&gt; 
&gt; In the present case, however, there is something else that comes into
&gt; play: since the two images in the first column must be kept together, they make a big
unbreakable block. Therefore, the table algorithm will put as much content from the second
column as possible to match the height of the first one (the heuristic being that full tables
are more desirable). By doing that, it will skip the acceptable breaks after the TEST blocks,
and will end up with the less acceptable ones inside the inner tables.
&gt; 
&gt; 
&gt;&gt; Regards,
&gt;&gt;  
&gt;&gt; Georg Datterl
&gt;&gt;  
&gt;&gt; ------ Kontakt ------
&gt;&gt;  
&gt;&gt; Georg Datterl
&gt;&gt;  
&gt;&gt; Geneon media solutions gmbh
&gt;&gt; Gutenstetter StraÃŸe 8a
&gt;&gt; 90449 NÃ¼rnberg
&gt;&gt;  
&gt;&gt; HRB NÃ¼rnberg: 17193
&gt;&gt; GeschÃ¤ftsfÃ¼hrer: Yong-Harry Steiert
&gt;&gt;
&gt;&gt; Tel.: 0911/36 78 88 - 26
&gt;&gt; Fax: 0911/36 78 88 - 20
&gt;&gt;  
&gt;&gt; www.geneon.de
&gt;&gt;  
&gt;&gt; Weitere Mitglieder der Willmy MediaGroup:
&gt;&gt;  
&gt;&gt; IRS Integrated Realization Services GmbH:    www.irs-nbg.de 
&gt;&gt; Willmy PrintMedia GmbH:                            www.willmy.de
&gt;&gt; Willmy Consult &amp; Content GmbH:                 www.willmycc.de 
&gt; 
&gt; 
&gt; Vincent

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Base 14 fonts</title>
<author><name>Venkat Reddy &lt;vanukuri.venkat@googlemail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200912.mbox/%3c4B191262.30808@googlemail.com%3e"/>
<id>urn:uuid:%3c4B191262-30808@googlemail-com%3e</id>
<updated>2009-12-04T13:45:06Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

This is from the latest FOP documentation...


    Base-14 Fonts

The Adobe PostScript and PDF Specification specify a set of 14 fonts 
that must be available to every PostScript interpreter and PDF reader: 
Helvetica (normal, bold, italic, bold italic), Times (normal, bold, 
italic, bold italic), Courier (normal, bold, italic, bold italic), 
Symbol and ZapfDingbats.

The following font family names are hard-coded into FOP for the Base-14 
font set:

Base-14 font 	font families
Helvetica 	Helvetica, sans-serif, SansSerif
Times 	Times, Times Roman, Times-Roman, serif, any
Courier 	Courier, monospace, Monospaced
Symbol 	Symbol
ZapfDingbats 	ZapfDingbats

Please note that recent versions of Adobe Acrobat Reader replace 
"Helvetica" with "Arial" and "Times" with "Times New Roman" internally. 
GhostScript replaces "Helvetica" with "Nimbus Sans L" and "Times" with 
"Nimbus Roman No9 L". Other document viewers may do similar font 
substitutions. If you need to make sure that there are no such 
substitutions, you need to specify an explicit font and embed it in the 
target document.


Venkat.



Gregory Buchenberger wrote:
&gt; Hi,
&gt;
&gt; Does anyone know of a free source where I might find the base 14 fonts?
&gt;
&gt; Thanks,
&gt;
&gt; Greg Buchenberger
&gt;


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Base 14 fonts</title>
<author><name>Venkat Reddy &lt;vanukuri.venkat@googlemail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200912.mbox/%3c4B19119E.1050400@googlemail.com%3e"/>
<id>urn:uuid:%3c4B19119E-1050400@googlemail-com%3e</id>
<updated>2009-12-04T13:41:50Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,


      Base-14 Fonts

The Adobe PDF Specification specifies a set of 14 fonts that must be 
available to every PDF reader: Helvetica (normal, bold, italic, bold 
italic), Times (normal, bold, italic, bold italic), Courier (normal, 
bold, italic, bold italic), Symbol and ZapfDingbats.

http://www.cs.helsinki.fi/group/xmltools/formatters/fop/fop-0.20.5/build/site/fonts.html#Base-14+Fonts

Venkat.


Gregory Buchenberger wrote:
&gt; Hi,
&gt;
&gt; Does anyone know of a free source where I might find the base 14 fonts?
&gt;
&gt; Thanks,
&gt;
&gt; Greg Buchenberger
&gt;


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Base 14 fonts</title>
<author><name>Gregory Buchenberger &lt;gregb@eightfoldconsulting.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200912.mbox/%3cdd7a5d0e0912032106s5eb57489k8803bc7cfb1c1010@mail.gmail.com%3e"/>
<id>urn:uuid:%3cdd7a5d0e0912032106s5eb57489k8803bc7cfb1c1010@mail-gmail-com%3e</id>
<updated>2009-12-04T05:06:59Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

Does anyone know of a free source where I might find the base 14 fonts?

Thanks,

Greg Buchenberger


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Temp_Accessibility</title>
<author><name>Gregory Buchenberger &lt;gregb@eightfoldconsulting.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200912.mbox/%3cdd7a5d0e0912032054w732047b7m5565d69f03a4d02b@mail.gmail.com%3e"/>
<id>urn:uuid:%3cdd7a5d0e0912032054w732047b7m5565d69f03a4d02b@mail-gmail-com%3e</id>
<updated>2009-12-04T04:54:12Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Thanks guys for the fast reply! I was able to find the branch in revisions.
I'm happy to see that it has been merged into Trunk. I was a bit worried
Jost Klopfstein's fine work had been lost.

On Thu, Dec 3, 2009 at 5:47 AM, Vincent Hennebert &lt;vhennebert@gmail.com&gt;wrote:

&gt; Hi,
&gt;
&gt; (Just some additional information.)
&gt;
&gt; Pascal Sancho wrote:
&gt; &gt; Hi,
&gt; &gt;
&gt; &gt; This dev branche has yet been merged to TRUNK (rev 830293).
&gt; &gt; Reading SVN logs, the Temp_Accessibility branch has been removed from
&gt; &gt; there (rev 830299) instead of been moved to branches/archive.
&gt;
&gt; That branch was managed using Subversion 1.5’s new merge feature. After
&gt; it has been merged back to the Trunk it becomes unusable, and the
&gt; recommended best practice is to remove it altogether. For more
&gt; information, see:
&gt;
&gt; http://svnbook.red-bean.com/en/1.5/svn.branchmerge.basicmerging.html#svn.branchemerge.basicmerging.stayinsync
&gt; (excellent documentation, BTW)
&gt;
&gt; If for some reason you want to have a look at the branch, you can still
&gt; check it out using the following command:
&gt; svn co -r 830293
&gt;
&gt; http://svn.eu.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility/
&gt;
&gt; But you most probably just want to use a recent Trunk version instead.
&gt;
&gt;
&gt; &gt; Pascal
&gt; &gt;
&gt; &gt; Gregory Buchenberger a écrit :
&gt; &gt;&gt; There was once a branch of FOP that supported PDF Accessibility at
&gt; &gt;&gt; svn.apache.org/xmlgraphics/fop/branches/Temp_Accessibility. I cannot
&gt; &gt;&gt; find it
&gt; &gt;&gt; now. Please excuse my Subversion ignorance but is it available still?
&gt; How
&gt; &gt;&gt; can I check out the source?
&gt;
&gt; Vincent
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
&gt; For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Getting a jpeg output with fop</title>
<author><name>Diego Medina &lt;hall900@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200912.mbox/%3c4B180D68.1060303@gmail.com%3e"/>
<id>urn:uuid:%3c4B180D68-1060303@gmail-com%3e</id>
<updated>2009-12-03T19:11:36Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Venkat

Thanks for your response. I need this renderer to support GIF and JPEG, 
I was looking the code of TIFF Renderer to adapt it to a JPEG and GIF 
renderer, and I saw that "stopRenderer()" was the best place to write 
code using ImageIO to convert Java2D/AWT renderer work.

The most of the work was change the static strings of types 
(image/tiff), and I create the corresponding maker, configurator ,etc ...

If someone need it, I attach the classes here.

Here I leave a example of use the renderer:

Thanks for all. I'm pleased to help a little.

// OutputStream out = what you want
            FopFactory fopFactory = FopFactory.newInstance();
            RendererFactory rendererFactory = null;
            FOUserAgent foUserAgent = null;

            rendererFactory = fopFactory.getRendererFactory();
            rendererFactory.addRendererMaker(new 
MultiRendererMaker("jpeg"));
            foUserAgent = fopFactory.newFOUserAgent();
            rendererFactory.createRenderer(foUserAgent, "image/jpeg");
   
            Fop fop = fopFactory.newFop("image/jpeg", foUserAgent, out);

//Use fop as normal case



Venkat Reddy escribió:
&gt; Hi,
&gt;
&gt; As per the below documentation, Java2D/AWT renderer used in FOP only 
&gt; supports PNG/TIFF output formats. For more information, read the 
&gt; following document...
&gt; http://xmlgraphics.apache.org/fop/trunk/output.html#bitmap
&gt;
&gt; Venkat.
&gt;
&gt; Diego Medina wrote:
&gt;&gt; Hi everyone
&gt;&gt;
&gt;&gt; I have been using Fop from long time ago, and to start I have to say 
&gt;&gt; thanks for that great job. Now recently, I have a new need to get 
&gt;&gt; another output different of pdf. In later versions I see that 
&gt;&gt; mimeType image/jpeg is a valid constant to output format (but I don't 
&gt;&gt; test this functionality until now) but in versión 0.95 said  " Don't 
&gt;&gt; know how to handle "image/jpeg" as an output format". I was studding 
&gt;&gt; the fop config file and other configuration issues, but all my test 
&gt;&gt; didn't works. Is possible to render a jpeg output without adding 
&gt;&gt; another render to fop 0.95?. In case of not, how can I add my own 
&gt;&gt; renderer to render a image/jpeg?.
&gt;&gt;
&gt;&gt; Thanks so much.
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
&gt;&gt; For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
&gt;&gt;
&gt;&gt;
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
&gt; For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Getting a jpeg output with fop</title>
<author><name>Venkat Reddy &lt;vanukuri.venkat@googlemail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200912.mbox/%3c4B17E516.2040304@googlemail.com%3e"/>
<id>urn:uuid:%3c4B17E516-2040304@googlemail-com%3e</id>
<updated>2009-12-03T16:19:34Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

As per the below documentation, Java2D/AWT renderer used in FOP only 
supports PNG/TIFF output formats. For more information, read the 
following document...
http://xmlgraphics.apache.org/fop/trunk/output.html#bitmap

Venkat.

Diego Medina wrote:
&gt; Hi everyone
&gt;
&gt; I have been using Fop from long time ago, and to start I have to say 
&gt; thanks for that great job. Now recently, I have a new need to get 
&gt; another output different of pdf. In later versions I see that mimeType 
&gt; image/jpeg is a valid constant to output format (but I don't test this 
&gt; functionality until now) but in versión 0.95 said  " Don't know how to 
&gt; handle "image/jpeg" as an output format". I was studding the fop 
&gt; config file and other configuration issues, but all my test didn't 
&gt; works. Is possible to render a jpeg output without adding another 
&gt; render to fop 0.95?. In case of not, how can I add my own renderer to 
&gt; render a image/jpeg?.
&gt;
&gt; Thanks so much.
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
&gt; For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
&gt;
&gt;


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Using &lt;fo:external-graphic ... /&gt; in applet</title>
<author><name>dahepe &lt;peger@gmx.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200912.mbox/%3c26628106.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26628106-post@talk-nabble-com%3e</id>
<updated>2009-12-03T15:47:07Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hi,

I'm trying to integrate FOP in a client side application that is made
available as applet/java webstart application. The integration works well
but I'm not able to use the &amp;lt;fo:external-graphic ... /&amp;gt; tag to embed
image files into the generated PDF. When trying to embed an image using the
following directive

...
&amp;lt;fo:block&amp;gt;
    &amp;lt;fo:external-graphic content-height="70"
src="url('file:c:///temp/my-image.png')" /&amp;gt;
&amp;lt;/fo:block&amp;gt;
...


I get a

access: access denied (java.io.FilePermission file:c:\temp\my-image.png
read)


on the Java console. Enabling security debug output (Runtime parameter
-Djava.security.debug=access:failure) yielded the following details
(complete output:  http://old.nabble.com/file/p26628106/fop-stacktrace.log
fop-stacktrace.log )

access: access denied (java.io.FilePermission file:c:\temp\my-image.png
read)
java.lang.Exception: Stack trace
	at java.lang.Thread.dumpStack(Unknown Source)
	at java.security.AccessControlContext.checkPermission(Unknown Source)
	at java.security.AccessController.checkPermission(Unknown Source)
	at java.lang.SecurityManager.checkPermission(Unknown Source)
	at java.lang.SecurityManager.checkRead(Unknown Source)
	at java.io.File.canRead(Unknown Source)
	...
	at
com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endElement(Unknown
Source)
	at MyXSLTemplate.template$dot$0()
	at MyXSLTemplate.applyTemplates()
	at MyXSLTemplate.applyTemplates()
	at MyXSLTemplate.transform()
	at
com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.transform(Unknown
Source)
        ...
	at
com.transflow.cosa.portal.client.PortalClient$RunThread.run(PortalClient.java:422)
access: access allowed (java.security.SecurityPermission getPolicy)
access: domain that failed ProtectionDomain  (null )

com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl$TransletClassLoader@1573872
 &amp;lt;no principals&amp;gt;
 java.security.Permissions@96d2c2 (
 (java.util.PropertyPermission line.separator read)
 ...
 (java.net.SocketPermission localhost:1024- listen,resolve)
 (java.lang.RuntimePermission stopThread)
)


FEHLER:  'access denied (java.io.FilePermission file:c:\temp\my-image.png
read)'
Fehler in write: java.security.AccessControlException: access denied
(java.io.FilePermission file:c:\temp\my-image.png read)


For me this looks like xalan dynamically generates a class for my XSL
template (MyXSLTemplate) and this class tries to access the external file.
The application is running with a security manager (applet/web start) and
this class does not have the permission to access the file as it is not
signed (unlike the rest of the application).

The file location (locally HD or on a web server) doesn't seem to matter as
the error is always the same...

Is this problem already known and is there a possible solution/workaround
for this? Can't image I'm the first one to try to embed an external graphic
using FOP in an applet context, but search didn't give my any usable
results...

Java version: JRE 1.6.0_17

FOP version: 0.94


Best regards

-- 
View this message in context: http://old.nabble.com/Using-%3Cfo%3Aexternal-graphic-...--%3E-in-applet-tp26628106p26628106.html
Sent from the FOP - Users mailing list archive at Nabble.com.


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Temp_Accessibility</title>
<author><name>Vincent Hennebert &lt;vhennebert@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200912.mbox/%3c4B17B365.3020906@gmail.com%3e"/>
<id>urn:uuid:%3c4B17B365-3020906@gmail-com%3e</id>
<updated>2009-12-03T12:47:33Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

(Just some additional information.)

Pascal Sancho wrote:
&gt; Hi,
&gt; 
&gt; This dev branche has yet been merged to TRUNK (rev 830293).
&gt; Reading SVN logs, the Temp_Accessibility branch has been removed from
&gt; there (rev 830299) instead of been moved to branches/archive.

That branch was managed using Subversion 1.5â€™s new merge feature. After
it has been merged back to the Trunk it becomes unusable, and the
recommended best practice is to remove it altogether. For more
information, see:
http://svnbook.red-bean.com/en/1.5/svn.branchmerge.basicmerging.html#svn.branchemerge.basicmerging.stayinsync
(excellent documentation, BTW)

If for some reason you want to have a look at the branch, you can still
check it out using the following command:
svn co -r 830293
http://svn.eu.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility/

But you most probably just want to use a recent Trunk version instead.


&gt; Pascal
&gt; 
&gt; Gregory Buchenberger a Ã©crit :
&gt;&gt; There was once a branch of FOP that supported PDF Accessibility at
&gt;&gt; svn.apache.org/xmlgraphics/fop/branches/Temp_Accessibility. I cannot
&gt;&gt; find it
&gt;&gt; now. Please excuse my Subversion ignorance but is it available still? How
&gt;&gt; can I check out the source?

Vincent

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



</pre>
</div>
</content>
</entry>
<entry>
<title>AW: again strange keeps</title>
<author><name>&quot;Georg Datterl&quot; &lt;georg.datterl@geneon.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200912.mbox/%3c4525C911607AFB4A9AFF7D0B6BEB195607C5CCA2@galaxy.nbg.geneon.de%3e"/>
<id>urn:uuid:%3c4525C911607AFB4A9AFF7D0B6BEB195607C5CCA2@galaxy-nbg-geneon-de%3e</id>
<updated>2009-12-03T12:34:15Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Vincent, 

You explanations sounds quite good, but if I replace the keeps "5" with "always", the whole
block, images and everything, move to the next page. Is that, because that's more "desireable"?


The present solution with the headre and the final, empty line on the next page is in any
case least desireable, because it looks ugly. Do you see a way to force the images and two
tables on the first page, the third table and image on the second page?

Regards,
 
Georg Datterl
 
------ Kontakt ------
 
Georg Datterl
 
Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg
 
HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert 

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20
 
www.geneon.de
 
Weitere Mitglieder der Willmy MediaGroup:
 
IRS Integrated Realization Services GmbH:    www.irs-nbg.de 
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult &amp; Content GmbH:                 www.willmycc.de 
-----Ursprüngliche Nachricht-----
Von: Vincent Hennebert [mailto:vhennebert@gmail.com] 
Gesendet: Donnerstag, 3. Dezember 2009 13:24
An: fop-users@xmlgraphics.apache.org
Betreff: Re: again strange keeps

Hi Georg,

Georg Datterl wrote:
&gt; Hi everybody, hi Vincent,
&gt; 
&gt; Attached fo file contains the already well known tables, now for A6 format. In this case,
the right column contains three short tables and one image. Since that's too much for one
page, fop inserts a break before the last line of the third table, overriding a keep-with-next.within-page="5".
Now I would have expected the keep at the red block with the "TEST"-Text, since this block
does not have any keeps, but obviously I'm missing something here. Can somebody help?

Support for integer keeps is very limited at the moment. A break occurring within an integer
keep will simply be given maximum penalty in the hope that breaks at better places (i.e.,
where keep has been left to
auto) will be privileged. All integer values result into the same break penalty. In fact,
the current implementation supports only 3 keep
values: auto, 'highly desirable', always.

A break where keep is highly desirable may still be privileged over a break where keep is
auto if that leads to a better overall layout; for example, if breaking at auto places would
lead to half-empty pages whereas breaking at undesirable places would give full pages. (This
is not compliant with the Recommendation, for that matter.)

In the present case, however, there is something else that comes into
play: since the two images in the first column must be kept together, they make a big unbreakable
block. Therefore, the table algorithm will put as much content from the second column as possible
to match the height of the first one (the heuristic being that full tables are more desirable).
By doing that, it will skip the acceptable breaks after the TEST blocks, and will end up with
the less acceptable ones inside the inner tables.


&gt; Regards,
&gt;  
&gt; Georg Datterl
&gt;  
&gt; ------ Kontakt ------
&gt;  
&gt; Georg Datterl
&gt;  
&gt; Geneon media solutions gmbh
&gt; Gutenstetter Straße 8a
&gt; 90449 Nürnberg
&gt;  
&gt; HRB Nürnberg: 17193
&gt; Geschäftsführer: Yong-Harry Steiert
&gt; 
&gt; Tel.: 0911/36 78 88 - 26
&gt; Fax: 0911/36 78 88 - 20
&gt;  
&gt; www.geneon.de
&gt;  
&gt; Weitere Mitglieder der Willmy MediaGroup:
&gt;  
&gt; IRS Integrated Realization Services GmbH:    www.irs-nbg.de 
&gt; Willmy PrintMedia GmbH:                            www.willmy.de
&gt; Willmy Consult &amp; Content GmbH:                 www.willmycc.de 


Vincent

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


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: again strange keeps</title>
<author><name>Vincent Hennebert &lt;vhennebert@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200912.mbox/%3c4B17ADF6.6030606@gmail.com%3e"/>
<id>urn:uuid:%3c4B17ADF6-6030606@gmail-com%3e</id>
<updated>2009-12-03T12:24:22Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Georg,

Georg Datterl wrote:
&gt; Hi everybody, hi Vincent,
&gt; 
&gt; Attached fo file contains the already well known tables, now for A6 format. In this case,
the right column contains three short tables and one image. Since that's too much for one
page, fop inserts a break before the last line of the third table, overriding a keep-with-next.within-page="5".
Now I would have expected the keep at the red block with the "TEST"-Text, since this block
does not have any keeps, but obviously I'm missing something here. Can somebody help?

Support for integer keeps is very limited at the moment. A break
occurring within an integer keep will simply be given maximum penalty in
the hope that breaks at better places (i.e., where keep has been left to
auto) will be privileged. All integer values result into the same break
penalty. In fact, the current implementation supports only 3 keep
values: auto, â€˜highly desirableâ€™, always.

A break where keep is highly desirable may still be privileged over
a break where keep is auto if that leads to a better overall layout; for
example, if breaking at auto places would lead to half-empty pages
whereas breaking at undesirable places would give full pages. (This is
not compliant with the Recommendation, for that matter.)

In the present case, however, there is something else that comes into
play: since the two images in the first column must be kept together,
they make a big unbreakable block. Therefore, the table algorithm will
put as much content from the second column as possible to match the
height of the first one (the heuristic being that full tables are more
desirable). By doing that, it will skip the acceptable breaks after the
TEST blocks, and will end up with the less acceptable ones inside the
inner tables.


&gt; Regards,
&gt;  
&gt; Georg Datterl
&gt;  
&gt; ------ Kontakt ------
&gt;  
&gt; Georg Datterl
&gt;  
&gt; Geneon media solutions gmbh
&gt; Gutenstetter StraÃŸe 8a
&gt; 90449 NÃ¼rnberg
&gt;  
&gt; HRB NÃ¼rnberg: 17193
&gt; GeschÃ¤ftsfÃ¼hrer: Yong-Harry Steiert 
&gt; 
&gt; Tel.: 0911/36 78 88 - 26
&gt; Fax: 0911/36 78 88 - 20
&gt;  
&gt; www.geneon.de
&gt;  
&gt; Weitere Mitglieder der Willmy MediaGroup:
&gt;  
&gt; IRS Integrated Realization Services GmbH:    www.irs-nbg.de 
&gt; Willmy PrintMedia GmbH:                            www.willmy.de
&gt; Willmy Consult &amp; Content GmbH:                 www.willmycc.de 


Vincent

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Temp_Accessibility</title>
<author><name>Pascal Sancho &lt;pascal.sancho@takoma.fr&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200912.mbox/%3c4B177B37.5050305@takoma.fr%3e"/>
<id>urn:uuid:%3c4B177B37-5050305@takoma-fr%3e</id>
<updated>2009-12-03T08:47:51Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

This dev branche has yet been merged to TRUNK (rev 830293).
Reading SVN logs, the Temp_Accessibility branch has been removed from 
there (rev 830299) instead of been moved to branches/archive.

Pascal

Gregory Buchenberger a Ã©crit :
&gt; There was once a branch of FOP that supported PDF Accessibility at
&gt; svn.apache.org/xmlgraphics/fop/branches/Temp_Accessibility. I cannot find it
&gt; now. Please excuse my Subversion ignorance but is it available still? How
&gt; can I check out the source?

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to run (user)config.xml to add Fonts in embedded FOP 020.5 with PDF</title>
<author><name>Pascal Sancho &lt;pascal.sancho@takoma.fr&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200912.mbox/%3c4B1778EF.2010200@takoma.fr%3e"/>
<id>urn:uuid:%3c4B1778EF-2010200@takoma-fr%3e</id>
<updated>2009-12-03T08:38:07Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

FOP 0.20.x is no longer maintained. I strongly suggest you to upgrade to 
latest release (FOP 0.95).
However, in your config file,  I don't see any &lt;font&gt; element (under 
fonts), like this:

&lt;fonts&gt;
  &lt;font metrics-file="metric_file.xml" kerning="yes" 
embed-file="font_file_pfb_or_ttf"&gt;
    &lt;font-triplet name="font_name" style="normal_or_italic" 
weight="normal_bold_or_100-900"/&gt;
  &lt;/font&gt;
&lt;/fonts&gt;

Note that with FOP 0.20.x, you need to make xml metrics files with 
appropriate tool in FOP distribution.

J. de Hoop a Ã©crit :
&gt; Hi,
&gt;
&gt; we are having problems with certain characters in PDF, resulting in #
&gt; (Ã‚ÄƒÃ£Ã†Ã¦ÃŸÄŒÄÂ¢ results in Ã‚#Ã£Ã†Ã¦ÃŸ##Â¢).
&gt; Within the (user)config.xml you can add Fonts, see code, but how to run it
&gt; from the XSQLFOPSerializer ????.
&gt; We copied the Arial Window fonts to Linux.
&gt; I tried several things but nothing worked, see code:
&gt; /**
&gt; * Tested with the FOP 0.20.3RC release from 19-Jan-2002
&gt; */
&gt; public class XSQLFOPSerializer implements XSQLDocumentSerializer {
&gt; private static final String PDFMIME = "application/pdf";
&gt; public void serialize(Document doc, XSQLPageRequest env) throws Throwable {
&gt; try {
&gt; // First make sure we can load the driver
&gt; Driver FOPDriver = new Driver();
&gt; Logger logger = new ConsoleLogger(ConsoleLogger.LEVEL_DEBUG); // ipv. INFO
&gt; MessageHandler.setScreenLogger(logger);
&gt; FOPDriver.setLogger(logger);
&gt; // Some of FOP's messages appear to still use MessageHandler.
&gt; // MessageHandler.setOutputMethod(MessageHandler.NONE);
&gt; // Then set the content type before getting the reader/
&gt; env.setContentType(PDFMIME);
&gt; // Tried the following, but does not work !!!!
&gt; // String userConfig = "/u02/gba/tent/userconfig.xml";
&gt; // File userConfigFile;
&gt; // userConfigFile = new File(userConfig);
&gt; // Options options = new Options();
&gt; // options.loadUserconfiguration(userConfigFile);
&gt; FOPDriver.setOutputStream(env.getOutputStream());
&gt; FOPDriver.setRenderer(FOPDriver.RENDER_PDF);
&gt; FOPDriver.render(doc);
&gt; } catch (Exception e) {
&gt; e.printStackTrace(System.err);
&gt; }
&gt; }
&gt; }
&gt;
&gt; userconfig.xml
&gt;  &lt;entry&gt;
&gt;  &lt;key&gt;fontBaseDir&lt;/key&gt;
&gt;  &lt;value&gt;/usr/share/fonts/ttf&lt;/value&gt;
&gt;  &lt;/entry&gt;
&gt; &lt;fonts&gt;
&gt;     &lt;font-triplet name="Arial" style="normal" weight="normal"/&gt;
&gt;     &lt;font-triplet name="ArialMT" style="normal" weight="normal"/&gt;
&gt;     &lt;font-triplet name="Arial" style="normal" weight="bold"/&gt;
&gt;     &lt;font-triplet name="ArialMT" style="normal" weight="bold"/&gt;
&gt;     &lt;font-triplet name="Arial" style="italic" weight="normal"/&gt;
&gt;     &lt;font-triplet name="ArialMT" style="italic" weight="normal"/&gt;
&gt;     &lt;font-triplet name="Arial" style="italic" weight="bold"/&gt;
&gt;     &lt;font-triplet name="ArialMT" style="italic" weight="bold"/&gt;
&gt;
&gt; Keywords:
&gt; FOP 020.5
&gt; XML2HTML / PDF
&gt; XSQLFOP
&gt; Embedded in ADF (fop.jar)
&gt; Linux

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: underline doesn't work [was: Help??]</title>
<author><name>Pascal Sancho &lt;pascal.sancho@takoma.fr&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200912.mbox/%3c4B177632.3030302@takoma.fr%3e"/>
<id>urn:uuid:%3c4B177632-3030302@takoma-fr%3e</id>
<updated>2009-12-03T08:26:26Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Jeca,

Please, ask such question on FOP USER list, DEV list is for FOP 
development questions.
What FOP version do you use?
What font do you use?
Can you provide short XSL-FO (not XSLT)  that reproduce your problem?

At this stage, I can only suppose that either text-decoration is never 
used in final XSL-FO,
or there is a text-decoration with "none" or "no-underline" value in a 
nested FO.

Pascal

Jeca a Ã©crit :
&gt; Hi There, I added a new FONT that I wanted to use in a document Iâ€™m 
&gt; creating. But, in the document Iâ€™m only able to see regular font and 
&gt; bolded. If I specify text-decoration=â€underlineâ€ attribute in my 
&gt; fo:block, or fo:inline, text is not being underlined!!! Am I missing 
&gt; anything? Is there anything in configuration that I missed?? This is 
&gt; what I have in configuration: Thanks in advance


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Temp_Accessibility</title>
<author><name>&quot;Gregory Buchenberger&quot; &lt;gregb@eightfoldconsulting.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200912.mbox/%3c!&!AAAAAAAAAAAYAAAAAAAAAFZpvEAR0d9Pm3kRPc+tgnPCgAAAEAAAACSVTu5WNXFJkTsW5JCXvdMBAAAAAA==@eightfoldconsulting.com%3e"/>
<id>urn:uuid:%3c!&!AAAAAAAAAAAYAAAAAAAAAFZpvEAR0d9Pm3kRPc+tgnPCgAAAEAAAACSVTu5WNXFJkTsW5JCXvdMBAAAAAA==@eightfoldconsulting-com%3e</id>
<updated>2009-12-03T01:40:35Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
There was once a branch of FOP that supported PDF Accessibility at
svn.apache.org/xmlgraphics/fop/branches/Temp_Accessibility. I cannot find it
now. Please excuse my Subversion ignorance but is it available still? How
can I check out the source?



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



</pre>
</div>
</content>
</entry>
<entry>
<title>How to run (user)config.xml to add Fonts in embedded FOP 020.5 with PDF</title>
<author><name>&quot;J. de Hoop&quot; &lt;jos.de.hoop@capgemini.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200912.mbox/%3c26610373.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26610373-post@talk-nabble-com%3e</id>
<updated>2009-12-02T15:04:46Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hi,

we are having problems with certain characters in PDF, resulting in #
(Ã‚ÄƒÃ£Ã†Ã¦ÃŸÄŒÄÂ¢ results in Ã‚#Ã£Ã†Ã¦ÃŸ##Â¢).

Within the (user)config.xml you can add Fonts, see code, but how to run it
from the XSQLFOPSerializer ????.
We copied the Arial Window fonts to Linux.

I tried several things but nothing worked, see code:

/**
* Tested with the FOP 0.20.3RC release from 19-Jan-2002
*/
public class XSQLFOPSerializer implements XSQLDocumentSerializer {
private static final String PDFMIME = "application/pdf";

public void serialize(Document doc, XSQLPageRequest env) throws Throwable {
try {

// First make sure we can load the driver
Driver FOPDriver = new Driver();

Logger logger = new ConsoleLogger(ConsoleLogger.LEVEL_DEBUG); // ipv. INFO
MessageHandler.setScreenLogger(logger);
FOPDriver.setLogger(logger);

// Some of FOP's messages appear to still use MessageHandler.
// MessageHandler.setOutputMethod(MessageHandler.NONE);
// Then set the content type before getting the reader/
env.setContentType(PDFMIME);

// Tried the following, but does not work !!!!

// String userConfig = "/u02/gba/tent/userconfig.xml";
// File userConfigFile;
// userConfigFile = new File(userConfig);
// Options options = new Options();
// options.loadUserconfiguration(userConfigFile); 

FOPDriver.setOutputStream(env.getOutputStream());
FOPDriver.setRenderer(FOPDriver.RENDER_PDF);
FOPDriver.render(doc);
} catch (Exception e) {
e.printStackTrace(System.err);
}
}
}


userconfig.xml
 &lt;entry&gt;
 &lt;key&gt;fontBaseDir&lt;/key&gt;
 &lt;value&gt;/usr/share/fonts/ttf&lt;/value&gt;
 &lt;/entry&gt;

&lt;fonts&gt;
 
    &lt;font-triplet name="Arial" style="normal" weight="normal"/&gt;
    &lt;font-triplet name="ArialMT" style="normal" weight="normal"/&gt;
 
 
    &lt;font-triplet name="Arial" style="normal" weight="bold"/&gt;
    &lt;font-triplet name="ArialMT" style="normal" weight="bold"/&gt;
 
 
    &lt;font-triplet name="Arial" style="italic" weight="normal"/&gt;
    &lt;font-triplet name="ArialMT" style="italic" weight="normal"/&gt;
 
 
    &lt;font-triplet name="Arial" style="italic" weight="bold"/&gt;
    &lt;font-triplet name="ArialMT" style="italic" weight="bold"/&gt;
 



Keywords:

FOP 020.5
XML2HTML / PDF
XSQLFOP
Embedded in ADF (fop.jar)
Linux

-- 
View this message in context: http://old.nabble.com/How-to-run-%28user%29config.xml-to-add-Fonts-in-embedded-FOP-020.5-with-PDF-tp26610373p26610373.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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [DEBUG] Last page-sequence produced 3 pages.</title>
<author><name>Pascal Sancho &lt;pascal.sancho@takoma.fr&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200912.mbox/%3c4B162430.3040303@takoma.fr%3e"/>
<id>urn:uuid:%3c4B162430-3040303@takoma-fr%3e</id>
<updated>2009-12-02T08:24:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

Pardha Paruchuri a Ã©crit :
&gt; I tried running a WordML file through the new install 0.95 and it is throwing errors
for a custom font though I added it to the fop.xconf, for invalid property: leader-length="NaNpt"
and ignoring page breaks.
"NaN" means "Not a Number", witch is most probably thrown by XSLT.
You should debug your XSLT to find where this occurs.
&gt;  so I created a simple Word file just to test the page break issue but it did not put
page breaks in Pdf. here is a snippet from a simple fo file that has 2 page breaks.
&gt;
&gt;
&gt; - &lt;fo:inline&gt;
&gt;   &lt;fo:block break-before="page"/&gt;
&gt;   &lt;/fo:inline&gt;
This is a curious construction.
fo:inline surrounding a page break.

Since there is yet an error with fo:leader, the rest of the XSL-FO may 
not be handled correctly, but you can remove this fo:inline.

HTH,

Pascal


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [DEBUG] Last page-sequence produced 3 pages.</title>
<author><name>Pardha Paruchuri &lt;pardha_paruchuri@yahoo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200912.mbox/%3c515694.81905.qm@web30202.mail.mud.yahoo.com%3e"/>
<id>urn:uuid:%3c515694-81905-qm@web30202-mail-mud-yahoo-com%3e</id>
<updated>2009-12-01T23:42:05Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I tried running a WordML file through the new install 0.95 and it is throwing errors for a
custom font though I added it to the fop.xconf, for invalid property: leader-length="NaNpt"
and ignoring page breaks. so I created a simple Word file just to test the page break issue
but it did not put page breaks in Pdf. here is a snippet from a simple fo file that has 2
page breaks.


- &lt;fo:blockfont-family="TimesNewRoman"font-size="12pt"language="EN-US"&gt;
- &lt;fo:inline&gt;
  &lt;fo:leader leader-length="0pt"/&gt; 
  Page 1 
  &lt;/fo:inline&gt;
  &lt;/fo:block&gt;
- &lt;fo:blockfont-family="TimesNewRoman"font-size="12pt"language="EN-US"&gt;
- &lt;fo:inline&gt;
  &lt;fo:block break-before="page"/&gt; 
  &lt;/fo:inline&gt;
  &lt;/fo:block&gt;
- &lt;fo:blockfont-family="TimesNewRoman"font-size="12pt"language="EN-US"&gt;
- &lt;fo:inline&gt;
  &lt;fo:leader leader-length="0pt"/&gt; 
  Page 2 
  &lt;/fo:inline&gt;
  &lt;/fo:block&gt;
- &lt;fo:blockfont-family="TimesNewRoman"font-size="12pt"language="EN-US"&gt;
- &lt;fo:inline&gt;
  &lt;fo:block break-before="page"/&gt; 
  &lt;/fo:inline&gt;
  &lt;/fo:block&gt;
- &lt;fo:blockfont-family="TimesNewRoman"font-size="12pt"language="EN-US"&gt;
- &lt;fo:inline&gt;
  &lt;fo:leader leader-length="0pt"/&gt; 
  Page 3 
  &lt;/fo:inline&gt;
  &lt;/fo:block&gt;
  &lt;/fo:block&gt;



----- Original Message ----
From: J.Pietschmann &lt;j3322ptm@yahoo.de&gt;
To: fop-users@xmlgraphics.apache.org
Sent: Wed, November 25, 2009 5:13:27 PM
Subject: Re: [DEBUG] Last page-sequence produced 3 pages.

On 25.11.2009 20:56, Pardha Paruchuri wrote:
&gt; I have a WordML file that I am trying to convert into PDF using FOP 0.20.5, is giving
below error.
...
&gt; Caused by: java.lang.ClassCastException
For FOP 0.20.5, this usually indicates a violation of the XSLFO schema; a common
case is producing inline FO elements or text as direct child of a flow.

There isn't much more to say without having a look at your inputs. You
can try to run your XML/XSLT through FOP 0.95, which should give you
an informative error message rather than a JAva exception. Switching
to 0.95 is recommended anyway.

&gt; when I ran in debug mode it is showing this message '[DEBUG] Last page-sequence produced
3 pages'.
That's just an information, no error.

J.Pietschmann

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


      

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



</pre>
</div>
</content>
</entry>
<entry>
<title>again strange keeps</title>
<author><name>&quot;Georg Datterl&quot; &lt;georg.datterl@geneon.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200912.mbox/%3c4525C911607AFB4A9AFF7D0B6BEB195607C5CC19@galaxy.nbg.geneon.de%3e"/>
<id>urn:uuid:%3c4525C911607AFB4A9AFF7D0B6BEB195607C5CC19@galaxy-nbg-geneon-de%3e</id>
<updated>2009-12-01T16:34:29Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi everybody, hi Vincent,

Attached fo file contains the already well known tables, now for A6 format. In this case,
the right column contains three short tables and one image. Since that's too much for one
page, fop inserts a break before the last line of the third table, overriding a keep-with-next.within-page="5".
Now I would have expected the keep at the red block with the "TEST"-Text, since this block
does not have any keeps, but obviously I'm missing something here. Can somebody help?

Regards,
 
Georg Datterl
 
------ Kontakt ------
 
Georg Datterl
 
Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg
 
HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert 

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20
 
www.geneon.de
 
Weitere Mitglieder der Willmy MediaGroup:
 
IRS Integrated Realization Services GmbH:    www.irs-nbg.de 
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult &amp; Content GmbH:                 www.willmycc.de 


</pre>
</div>
</content>
</entry>
<entry>
<title>AW: Linebreaking question</title>
<author><name>&quot;Georg Datterl&quot; &lt;georg.datterl@geneon.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200912.mbox/%3c4525C911607AFB4A9AFF7D0B6BEB195607C5CBDA@galaxy.nbg.geneon.de%3e"/>
<id>urn:uuid:%3c4525C911607AFB4A9AFF7D0B6BEB195607C5CBDA@galaxy-nbg-geneon-de%3e</id>
<updated>2009-12-01T08:52:01Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Jörg, 

Thanks for the explanation. 
 
Georg Datterl
 
------ Kontakt ------
 
Georg Datterl
 
Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg
 
HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert 

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20
 
www.geneon.de
 
Weitere Mitglieder der Willmy MediaGroup:
 
IRS Integrated Realization Services GmbH:    www.irs-nbg.de 
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult &amp; Content GmbH:                 www.willmycc.de 
-----Ursprüngliche Nachricht-----
Von: J.Pietschmann [mailto:j3322ptm@yahoo.de] 
Gesendet: Montag, 30. November 2009 23:12
An: fop-users@xmlgraphics.apache.org
Betreff: Re: Linebreaking question

On 30.11.2009 15:18, Georg Datterl wrote:
&gt; I have a (simplified) table, one cell with one text string.
 &gt; The cell width is restricted to less than the text would need,  &gt; but the text, as
you can see below, contains an ordinary blank.
 &gt; So I would expect two lines but I get one line with text growing  &gt; out of the cell.
Inserting a zero-width-space leads to a break.
 &gt; Is there a reason for this behaviour?
...
&gt; &lt;fo:inline&gt;0.07 ...0.08&lt;/fo:inline&gt;

Well the Table 2 in UAX#14 (http://www.unicode.org/reports/tr14/)
has NU^IS, i.e. no break between a number an a numeric punctuation even if there is a space
in between, apparently due to LB13.

There is always a break opportunity after a ZWS, so inserting one is the universal work around
for getting line breaks.

J.Pietschmann

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


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Linebreaking question</title>
<author><name>&quot;J.Pietschmann&quot; &lt;j3322ptm@yahoo.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200911.mbox/%3c4B144346.70007@yahoo.de%3e"/>
<id>urn:uuid:%3c4B144346-70007@yahoo-de%3e</id>
<updated>2009-11-30T22:12:22Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On 30.11.2009 15:18, Georg Datterl wrote:
&gt; I have a (simplified) table, one cell with one text string.
 &gt; The cell width is restricted to less than the text would need,
 &gt; but the text, as you can see below, contains an ordinary blank.
 &gt; So I would expect two lines but I get one line with text growing
 &gt; out of the cell. Inserting a zero-width-space leads to a break.
 &gt; Is there a reason for this behaviour?
...
&gt; &lt;fo:inline&gt;0.07 ...0.08&lt;/fo:inline&gt;

Well the Table 2 in UAX#14 (http://www.unicode.org/reports/tr14/)
has NU^IS, i.e. no break between a number an a numeric punctuation
even if there is a space in between, apparently due to LB13.

There is always a break opportunity after a ZWS, so inserting one
is the universal work around for getting line breaks.

J.Pietschmann

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Linebreaking question</title>
<author><name>&quot;Georg Datterl&quot; &lt;georg.datterl@geneon.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200911.mbox/%3c4525C911607AFB4A9AFF7D0B6BEB195607C5CB9D@galaxy.nbg.geneon.de%3e"/>
<id>urn:uuid:%3c4525C911607AFB4A9AFF7D0B6BEB195607C5CB9D@galaxy-nbg-geneon-de%3e</id>
<updated>2009-11-30T14:18:54Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi everybody,

I have a (simplified) table, one cell with one text string. The cell width is restricted to
less than the text would need, but the text, as you can see below, contains an ordinary blank.
So I would expect two lines but I get one line with text growing out of the cell. Inserting
a zero-width-space leads to a break. Is there a reason for this behaviour? 

&lt;fo:table table-layout="fixed"&gt;
	&lt;fo:table-column column-width="30.066pt" column-number="1"/&gt;
	&lt;fo:table-body&gt;
		&lt;fo:table-row&gt;
			&lt;fo:table-cell&gt;
				&lt;fo:block-container&gt;
					&lt;fo:block&gt;
						&lt;fo:block&gt;
							&lt;fo:inline&gt;0.07 ...0.08&lt;/fo:inline&gt;
						&lt;/fo:block&gt;
					&lt;/fo:block&gt;
				&lt;/fo:block-container&gt;
			&lt;/fo:table-cell&gt;
		&lt;/fo:table-row&gt;
	&lt;/fo:table-body&gt;
&lt;/fo:table&gt;

Regards,
 
Georg Datterl
 
------ Kontakt ------
 
Georg Datterl
 
Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg
 
HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert 

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20
 
www.geneon.de
 
Weitere Mitglieder der Willmy MediaGroup:
 
IRS Integrated Realization Services GmbH:    www.irs-nbg.de 
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult &amp; Content GmbH:                 www.willmycc.de 

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Head of chapters (problem solved, two solutions)</title>
<author><name>Faehndrich Philippe &lt;phfaehndrich@bluewin.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200911.mbox/%3c200911301113.05896.phfaehndrich@bluewin.ch%3e"/>
<id>urn:uuid:%3c200911301113-05896-phfaehndrich@bluewin-ch%3e</id>
<updated>2009-11-30T10:13:05Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Le dimanche 29 novembre 2009 à 15:07, J.Pietschmann a écrit:
&gt; Anyway, why don't you use a separate page sequence for every
&gt; chapter?

I'm a newbie, and I didn't even know it was possible to call a 
&lt;fo:page-sequence&gt; from deeper in the &lt;xsl:template&gt; hierarchy than on the 
first level of &lt;fo:root&gt;. After your answer, I've found an example from 
Jordan Naftolin on the web, and, with a few adaptations, it works. So the 
problem is solved for me.

Le dimanche 29 novembre 2009 à 22:18, J.Pietschmann a écrit:
&gt; No, I meant using markers. There are several ways to get
&gt; what you probably want. The following might work (beware,
&gt; untested!):
&gt;   &lt;fo:static-content ...&gt;
&gt;     &lt;fo:retrieve-marker retrieve-class-name="chapter-title"
&gt;       retrieve-position="first-starting-within-page"
&gt;       retrieve-boundary="document"/&gt;
&gt;    ...
&gt;   &lt;fo:block&gt;
&gt;     &lt;!-- first an empty marker --&gt;
&gt;     &lt;fo:marker marker-class-name="chapter-title"/&gt;
&gt;     &lt;!-- now  with the title text for subsequent page headers --&gt;
&gt;     &lt;fo:marker marker-class-name="chapter-title"&gt;The Chapter
&gt;      Title&lt;/fo:marker&gt;
&gt;     &lt;!-- now the title text for the flow --&gt;
&gt;     The Chapter Title
&gt;   &lt;/fo:block&gt;

I've tried this too. It works, with a few adaptations: 
- I doesn't to work (by me) with an empty element:
    &lt;fo:marker marker-class-name="chapter-title"/&gt;, 
but it works with an empty content:
    &lt;fo:marker marker-class-name="chapitre"&gt;
        &lt;xsl:text&gt; &lt;/xsl:text&gt;
    &lt;/fo:marker&gt;

- I had to put the &lt;fo:marker&gt;'s on a lower level than 'chapter'. The first 
paragraph gives an marker with an empty content, all others the marker I want 
on the top of the page:
    &lt;xsl:template match="para"&gt;
        &lt;fo:block&gt;
            &lt;xsl:if test="count(preceding-sibling::para) = 0"&gt;
                &lt;fo:marker marker-class-name="chapitre"&gt;
                    &lt;xsl:text&gt; &lt;/xsl:text&gt;
                &lt;/fo:marker&gt;
            &lt;/xsl:if&gt;
            &lt;xsl:if test="count(preceding-sibling::para) &gt; 0"&gt;
                &lt;fo:marker marker-class-name="chapitre"&gt;
                    &lt;xsl:text&gt;Chapitre &lt;/xsl:text&gt;
                    &lt;xsl:number select=".." format="1"/&gt;
                &lt;/fo:marker&gt;
            &lt;/xsl:if&gt;
            &lt;xsl:apply-templates/&gt;
        &lt;/fo:block&gt;
    &lt;/xsl:template&gt;

In the &lt;fo:page-sequence&gt;, the page head is so defined:
    &lt;fo:static-content flow-name="titre_courant"&gt;
        &lt;fo:block/&gt;
        &lt;fo:block text-align="center" space-before="1.5cm"&gt;
            &lt;fo:retrieve-marker retrieve-class-name="chapitre"
                retrieve-position="first-starting-within-page"
                retrieve-boundary="page"/&gt;
        &lt;/fo:block&gt;
    &lt;/fo:static-content&gt;

There are perhaps some other ways to obtain the same result.

Anyway, very gratefully thanks. I've learned a lot yesterday and this morning.

Philippe

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Getting a jpeg output with fop</title>
<author><name>Diego Medina &lt;hall900@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200911.mbox/%3c4B130E15.5050608@gmail.com%3e"/>
<id>urn:uuid:%3c4B130E15-5050608@gmail-com%3e</id>
<updated>2009-11-30T00:13:09Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi everyone

I have been using Fop from long time ago, and to start I have to say 
thanks for that great job. Now recently, I have a new need to get 
another output different of pdf. In later versions I see that mimeType 
image/jpeg is a valid constant to output format (but I don't test this 
functionality until now) but in versión 0.95 said  " Don't know how to 
handle "image/jpeg" as an output format". I was studding the fop config 
file and other configuration issues, but all my test didn't works. Is 
possible to render a jpeg output without adding another render to fop 
0.95?. In case of not, how can I add my own renderer to render a 
image/jpeg?.

Thanks so much.

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Head of chapters</title>
<author><name>&quot;J.Pietschmann&quot; &lt;j3322ptm@yahoo.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200911.mbox/%3c4B12E510.90506@yahoo.de%3e"/>
<id>urn:uuid:%3c4B12E510-90506@yahoo-de%3e</id>
<updated>2009-11-29T21:18:08Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On 29.11.2009 15:32, Faehndrich Philippe wrote:
&gt; Isn't it, the opposite way, the same problem? Don't I must call a different
&gt; page-master for the first page of each chapter?

No, I meant using markers. There are several ways to get
what you probably want. The following might work (beware,
untested!):
  &lt;fo:static-content ...&gt;
    &lt;fo:retrieve-marker retrieve-class-name="chapter-title"
      retrieve-position="first-starting-within-page"
      retrieve-boundary="document"/&gt;
   ...

  &lt;fo:block&gt;
    &lt;!-- first an empty marker --&gt;
    &lt;fo:marker marker-class-name="chapter-title"/&gt;
    &lt;!-- now  with the title text for subsequent page headers --&gt;
    &lt;fo:marker marker-class-name="chapter-title"&gt;The Chapter
     Title&lt;/fo:marker&gt;
    &lt;!-- now the title text for the flow --&gt;
    The Chapter Title
  &lt;/fo:block&gt;

&gt;&gt; Anyway, why don't you use a separate page sequence for every
&gt;&gt; chapter?
&gt;
&gt; I must then find a solution for page numbering...

I don't understand why this poses a problem. Did you try
initial-page-number="auto"?

J.Pietschmann

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Use SVG  group/element-id values as labels in pdf; SVG to PDF; FOP 0.95</title>
<author><name>Tobias Schulz &lt;PropperDX@gmx.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200911.mbox/%3c4B12B1B5.7020106@gmx.net%3e"/>
<id>urn:uuid:%3c4B12B1B5-7020106@gmx-net%3e</id>
<updated>2009-11-29T17:39:01Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
oh... bad news for me. thanks for trial.
So, i have to create a SVG-file instead. Beause its not possible for 
them to edit this large PDF-File without named elements...

Tobias


Jeremias Maerki schrieb:
&gt; Tobias,
&gt; I took a quick look. The example was maybe a bit simplistic to read
&gt; patterns from it: just one rectangle. Anyway, this is the content
&gt; stream:
&gt; /OC /MC0 BDC 
&gt; 0 0.576 0.886 0 k
&gt; 0 0 0 1 K
&gt; 4 M 
&gt; /GS0 gs
&gt; 200 153.63 -152.481 170.37 re
&gt; B
&gt; EMC 
&gt;
&gt; So Illustrator makes use of the /OC (optional content, a PDF 1.5 feature)
&gt; together with marked content. /MC0 is the identifier for the optional
&gt; content group and there's a Properties dictionary that assigns /OC the
&gt; /Name "NamedGroup1". I guess that's what you were looking for. It's also
&gt; pretty much the same mechanism I've seen Illustrator use for layers
&gt; which some people were after some time ago.
&gt;
&gt; As I've said, I can only determine at this time what it is you're
&gt; looking for. FOP would need some changes to support that. It could also
&gt; be a bit tricky, since in PDFGraphics2D, we only get painting
&gt; instructions. At that point there's no more information on the "id"
&gt; attributes in SVG. I guess that would require some special Batik element
&gt; bridges to carry this information over to the PDF. Definitely not just a
&gt; two-day task.
&gt;
&gt; HTH
&gt;
&gt; On 26.11.2009 12:07:21 Tobias Schulz wrote:
&gt;   
&gt;&gt; Hi Jeremias,
&gt;&gt;
&gt;&gt; thanks for your help.
&gt;&gt;
&gt;&gt; here are the requested Illustrator AI/PDF samples.
&gt;&gt;
&gt;&gt; Tobias
&gt;&gt;
&gt;&gt;
&gt;&gt;     
&gt;&gt;&gt;&gt; i dont know what you mean with named destinations. it's difficult to 
&gt;&gt;&gt;&gt; translate the german words to matching english words....
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; so, i try again.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; i use a fo-document to include a external svg-file:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; &lt;fo:external-graphic src="'url(test.svg)'" content-height="100%"/&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; svg sample:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; &lt;g id="i_need_this_id_in_pdf"&gt;
&gt;&gt;&gt;&gt;        &lt;rect id="i_need_this_id_in_pdf_too" x="56.589" y="83.25" 
&gt;&gt;&gt;&gt; fill="#F9F342" width="10.236" height="56.693"/&gt;
&gt;&gt;&gt;&gt;     &lt;rect id="i_need_this_id_in_pdf_too2" x="80.589" y="100" 
&gt;&gt;&gt;&gt; fill="#F9F342" width="10.236" height="56.693"/&gt;
&gt;&gt;&gt;&gt; &lt;/g&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; if you open the svg file in illustrator you are able to see the named 
&gt;&gt;&gt;&gt; elements / layers or how it named in english... (watch screen-ai-svg.gif)
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; but if i create the pdf with: fop -fo test.fo -pdf test.pdf and open the

&gt;&gt;&gt;&gt; resulting pdf in illustrator  all names are gone. (watch 
&gt;&gt;&gt;&gt; screen-resulting-pdf.gif)
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; i tried to add some more attributes like "label" , "desc" and "title" 
&gt;&gt;&gt;&gt; but - no luck...
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; thanks
&gt;&gt;&gt;&gt; tobias
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Jeremias Maerki schrieb:
&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt; Do you mean named destinations? If yes, that's not supported from within
&gt;&gt;&gt;&gt;&gt; SVG. I don't have Illustrator, so I can't find out what exactly it would
&gt;&gt;&gt;&gt;&gt; look for. Maybe you can post a small Illustrator example so I can find
&gt;&gt;&gt;&gt;&gt; out what it is you're looking for. I might be able to give some pointers.
&gt;&gt;&gt;&gt;&gt; But at any rate, the functionality you're looking for is most probably
&gt;&gt;&gt;&gt;&gt; not available.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; On 24.11.2009 20:17:58 Tobias Schulz wrote:
&gt;&gt;&gt;&gt;&gt;   
&gt;&gt;&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt;&gt;&gt;&gt; hi,
&gt;&gt;&gt;&gt;&gt;&gt; i use "fo:external-graphic" in xsl documents to include and render

&gt;&gt;&gt;&gt;&gt;&gt; svg-files to pdf.
&gt;&gt;&gt;&gt;&gt;&gt; in the resulting pdf file all elements are labeled like "&lt;path
x&gt;" or 
&gt;&gt;&gt;&gt;&gt;&gt; "&lt;group&gt;".
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; is it possible to use the orininal group/element id-values  in svg
as 
&gt;&gt;&gt;&gt;&gt;&gt; labels in pdf instead? it would be much easier to edit the pdf file
in 
&gt;&gt;&gt;&gt;&gt;&gt; AdobeIllustrator.
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; i tried to add "desc" and "title" tags/attributes in my svg-file,
but 
&gt;&gt;&gt;&gt;&gt;&gt; without any results.
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; btw. really, realy nice tool! thanks!
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Versions:
&gt;&gt;&gt;&gt;&gt;&gt; FOP release 0.95
&gt;&gt;&gt;&gt;&gt;&gt; Windows 7 64bit / Windows Vista 64bit
&gt;&gt;&gt;&gt;&gt;&gt; JRE 1.6.0.16
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; i hope i did not miss a similar question...
&gt;&gt;&gt;&gt;&gt;&gt; thanks for your help!
&gt;&gt;&gt;&gt;&gt;&gt; tobias
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt;&gt;&gt;&gt; Jeremias Maerki
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;   
&gt;&gt;&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt;&gt; -- 
&gt;&gt;&gt;&gt; **** ACHTUNG! Ab dem 01.09.2009 neue Adresse! ****
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Tobias Schulz &gt;&gt;&gt; In der Kirchtanne 27 &gt;&gt;&gt; 64297 Darmstadt-Eberstadt
&gt;&gt;&gt;&gt; PropperDX@gmx.net &gt;&gt;&gt; http://www.propperdx.de
&gt;&gt;&gt;&gt; ____________________________________________________________________________
&gt;&gt;&gt;&gt; Diese Nachricht ist mit einer elektronischen Signatur versehen
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; Viele GrÃ¼sse
&gt;&gt;&gt; Jeremias MÃ¤rki
&gt;&gt;&gt; _________________________________________________________
&gt;&gt;&gt; Jeremias MÃ¤rki, Software-Development and Consulting
&gt;&gt;&gt; Contact Information: http://www.jeremias-maerki.ch/contact.html
&gt;&gt;&gt; Blog: http://www.jeremias-maerki.ch/blog/
&gt;&gt;&gt;
&gt;&gt;&gt;   
&gt;&gt;&gt;       
&gt;&gt; -- 
&gt;&gt; **** ACHTUNG! Ab dem 01.09.2009 neue Adresse! ****
&gt;&gt;
&gt;&gt; Tobias Schulz &gt;&gt;&gt; In der Kirchtanne 27 &gt;&gt;&gt; 64297 Darmstadt-Eberstadt
&gt;&gt; PropperDX@gmx.net &gt;&gt;&gt; http://www.propperdx.de
&gt;&gt; ____________________________________________________________________________
&gt;&gt; Diese Nachricht ist mit einer elektronischen Signatur versehen
&gt;&gt;
&gt;&gt;     
&gt;
&gt;
&gt;
&gt;
&gt; Jeremias Maerki
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
&gt; For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
&gt;
&gt;   

-- 
**** ACHTUNG! Ab dem 01.09.2009 neue Adresse! ****

Tobias Schulz &gt;&gt;&gt; In der Kirchtanne 27 &gt;&gt;&gt; 64297 Darmstadt-Eberstadt
PropperDX@gmx.net &gt;&gt;&gt; http://www.propperdx.de
____________________________________________________________________________
Diese Nachricht ist mit einer elektronischen Signatur versehen



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Head of chapters</title>
<author><name>Faehndrich Philippe &lt;phfaehndrich@bluewin.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200911.mbox/%3c200911291532.28570.phfaehndrich@bluewin.ch%3e"/>
<id>urn:uuid:%3c200911291532-28570-phfaehndrich@bluewin-ch%3e</id>
<updated>2009-11-29T14:32:28Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Le dimanche 29 novembre 2009 à 15:07, J.Pietschmann a écrit:
&gt; A neat trick is to print the chapter title on every page, and
&gt; print something on top of it in order to obscure it on the
&gt; first page of the chapter, usually a white SVG graphic in a
&gt; block-container.

Isn't it, the opposite way, the same problem? Don't I must call a different 
page-master for the first page of each chapter?

&gt; Anyway, why don't you use a separate page sequence for every
&gt; chapter?

I must then find a solution for page numbering...

Thanks anyway.
Philippe








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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Head of chapters</title>
<author><name>&quot;J.Pietschmann&quot; &lt;j3322ptm@yahoo.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200911.mbox/%3c4B12803B.6010502@yahoo.de%3e"/>
<id>urn:uuid:%3c4B12803B-6010502@yahoo-de%3e</id>
<updated>2009-11-29T14:07:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On 29.11.2009 12:46, Faehndrich Philippe wrote:
&gt; In a book, I wish to have the title of the current chapter printed on the top
&gt; of each page. But I don't want it on the first page of each chapter.
&gt;
&gt; I can't find the condition with which I could do this in a
&gt; &lt;fo:repeatable-page-master-alternatives&gt;. «page-position="first"» works only
&gt; for the very first page of the book, i. e. the title page.

A neat trick is to print the chapter title on every page, and
print something on top of it in order to obscure it on the
first page of the chapter, usually a white SVG graphic in a
block-container.

Anyway, why don't you use a separate page sequence for every
chapter?

J.Pietschmann

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Head of chapters</title>
<author><name>Faehndrich Philippe &lt;phfaehndrich@bluewin.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200911.mbox/%3c200911291246.33455.phfaehndrich@bluewin.ch%3e"/>
<id>urn:uuid:%3c200911291246-33455-phfaehndrich@bluewin-ch%3e</id>
<updated>2009-11-29T11:46:33Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,

In a book, I wish to have the title of the current chapter printed on the top 
of each page. But I don't want it on the first page of each chapter.

I can't find the condition with which I could do this in a 
&lt;fo:repeatable-page-master-alternatives&gt;. «page-position="first"» works only 
for the very first page of the book, i. e. the title page.

There is for sure something I don't really understand. Could someone give me a 
little help?

Thanks in advance,
Philippe

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: New experimental hyphenation patterns</title>
<author><name>&quot;J.Pietschmann&quot; &lt;j3322ptm@yahoo.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200911.mbox/%3c4B102389.9030006@yahoo.de%3e"/>
<id>urn:uuid:%3c4B102389-9030006@yahoo-de%3e</id>
<updated>2009-11-27T19:07:53Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On 26.11.2009 09:56, Simon Pepping wrote:
&gt; &lt;hyphenation code="de" use="de_1901"/&gt;

Yes.

&gt;&gt; I'm a bit behind on the hyphenation front, but I thought the kind
&gt;&gt; of classes used in TeX hyphenation patterns aren't of much use
&gt;&gt; if the patterns use Unicode. There is a Unicode standard for
&gt;&gt; parsing words out of text:
&gt;&gt;   http://www.unicode.org/reports/tr29/#Word_Boundaries
&gt;&gt; aren't we using this already?
&gt;
&gt; We do not use that. It is my impression that classes are required for
&gt; being able to build the hyphenation tree. Is that not so?

Well, I looked it up. Classes are used to map several code points
like upper/lower case of a character to a single character for
the hyphenation pattern, a kind of normalization.

J.Pietschmann

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Use SVG  group/element-id values as labels in pdf; SVG to PDF; FOP 0.95</title>
<author><name>Jeremias Maerki &lt;dev@jeremias-maerki.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200911.mbox/%3c20091126163249.A748.60BA733C@jeremias-maerki.ch%3e"/>
<id>urn:uuid:%3c20091126163249-A748-60BA733C@jeremias-maerki-ch%3e</id>
<updated>2009-11-26T15:44:12Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Tobias,
I took a quick look. The example was maybe a bit simplistic to read
patterns from it: just one rectangle. Anyway, this is the content
stream:
/OC /MC0 BDC 
0 0.576 0.886 0 k
0 0 0 1 K
4 M 
/GS0 gs
200 153.63 -152.481 170.37 re
B
EMC 

So Illustrator makes use of the /OC (optional content, a PDF 1.5 feature)
together with marked content. /MC0 is the identifier for the optional
content group and there's a Properties dictionary that assigns /OC the
/Name "NamedGroup1". I guess that's what you were looking for. It's also
pretty much the same mechanism I've seen Illustrator use for layers
which some people were after some time ago.

As I've said, I can only determine at this time what it is you're
looking for. FOP would need some changes to support that. It could also
be a bit tricky, since in PDFGraphics2D, we only get painting
instructions. At that point there's no more information on the "id"
attributes in SVG. I guess that would require some special Batik element
bridges to carry this information over to the PDF. Definitely not just a
two-day task.

HTH

On 26.11.2009 12:07:21 Tobias Schulz wrote:
&gt; Hi Jeremias,
&gt; 
&gt; thanks for your help.
&gt; 
&gt; here are the requested Illustrator AI/PDF samples.
&gt; 
&gt; Tobias
&gt; 
&gt; 
&gt; &gt;&gt; i dont know what you mean with named destinations. it's difficult to 
&gt; &gt;&gt; translate the german words to matching english words....
&gt; &gt;&gt;
&gt; &gt;&gt; so, i try again.
&gt; &gt;&gt;
&gt; &gt;&gt; i use a fo-document to include a external svg-file:
&gt; &gt;&gt;
&gt; &gt;&gt; &lt;fo:external-graphic src="'url(test.svg)'" content-height="100%"/&gt;
&gt; &gt;&gt;
&gt; &gt;&gt; svg sample:
&gt; &gt;&gt;
&gt; &gt;&gt; &lt;g id="i_need_this_id_in_pdf"&gt;
&gt; &gt;&gt;        &lt;rect id="i_need_this_id_in_pdf_too" x="56.589" y="83.25" 
&gt; &gt;&gt; fill="#F9F342" width="10.236" height="56.693"/&gt;
&gt; &gt;&gt;     &lt;rect id="i_need_this_id_in_pdf_too2" x="80.589" y="100" 
&gt; &gt;&gt; fill="#F9F342" width="10.236" height="56.693"/&gt;
&gt; &gt;&gt; &lt;/g&gt;
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt; if you open the svg file in illustrator you are able to see the named 
&gt; &gt;&gt; elements / layers or how it named in english... (watch screen-ai-svg.gif)
&gt; &gt;&gt;
&gt; &gt;&gt; but if i create the pdf with: fop -fo test.fo -pdf test.pdf and open the 
&gt; &gt;&gt; resulting pdf in illustrator  all names are gone. (watch 
&gt; &gt;&gt; screen-resulting-pdf.gif)
&gt; &gt;&gt;
&gt; &gt;&gt; i tried to add some more attributes like "label" , "desc" and "title" 
&gt; &gt;&gt; but - no luck...
&gt; &gt;&gt;
&gt; &gt;&gt; thanks
&gt; &gt;&gt; tobias
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt; Jeremias Maerki schrieb:
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt; Do you mean named destinations? If yes, that's not supported from within
&gt; &gt;&gt;&gt; SVG. I don't have Illustrator, so I can't find out what exactly it would
&gt; &gt;&gt;&gt; look for. Maybe you can post a small Illustrator example so I can find
&gt; &gt;&gt;&gt; out what it is you're looking for. I might be able to give some pointers.
&gt; &gt;&gt;&gt; But at any rate, the functionality you're looking for is most probably
&gt; &gt;&gt;&gt; not available.
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; On 24.11.2009 20:17:58 Tobias Schulz wrote:
&gt; &gt;&gt;&gt;   
&gt; &gt;&gt;&gt;       
&gt; &gt;&gt;&gt;&gt; hi,
&gt; &gt;&gt;&gt;&gt; i use "fo:external-graphic" in xsl documents to include and render 
&gt; &gt;&gt;&gt;&gt; svg-files to pdf.
&gt; &gt;&gt;&gt;&gt; in the resulting pdf file all elements are labeled like "&lt;path x&gt;"
or 
&gt; &gt;&gt;&gt;&gt; "&lt;group&gt;".
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; is it possible to use the orininal group/element id-values  in svg as

&gt; &gt;&gt;&gt;&gt; labels in pdf instead? it would be much easier to edit the pdf file
in 
&gt; &gt;&gt;&gt;&gt; AdobeIllustrator.
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; i tried to add "desc" and "title" tags/attributes in my svg-file, but

&gt; &gt;&gt;&gt;&gt; without any results.
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; btw. really, realy nice tool! thanks!
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; Versions:
&gt; &gt;&gt;&gt;&gt; FOP release 0.95
&gt; &gt;&gt;&gt;&gt; Windows 7 64bit / Windows Vista 64bit
&gt; &gt;&gt;&gt;&gt; JRE 1.6.0.16
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; i hope i did not miss a similar question...
&gt; &gt;&gt;&gt;&gt; thanks for your help!
&gt; &gt;&gt;&gt;&gt; tobias
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;     
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; Jeremias Maerki
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;   
&gt; &gt;&gt;&gt;       
&gt; &gt;&gt; -- 
&gt; &gt;&gt; **** ACHTUNG! Ab dem 01.09.2009 neue Adresse! ****
&gt; &gt;&gt;
&gt; &gt;&gt; Tobias Schulz &gt;&gt;&gt; In der Kirchtanne 27 &gt;&gt;&gt; 64297 Darmstadt-Eberstadt
&gt; &gt;&gt; PropperDX@gmx.net &gt;&gt;&gt; http://www.propperdx.de
&gt; &gt;&gt; ____________________________________________________________________________
&gt; &gt;&gt; Diese Nachricht ist mit einer elektronischen Signatur versehen
&gt; &gt;&gt;
&gt; &gt;&gt;     
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; Viele GrÃ¼sse
&gt; &gt; Jeremias MÃ¤rki
&gt; &gt; _________________________________________________________
&gt; &gt; Jeremias MÃ¤rki, Software-Development and Consulting
&gt; &gt; Contact Information: http://www.jeremias-maerki.ch/contact.html
&gt; &gt; Blog: http://www.jeremias-maerki.ch/blog/
&gt; &gt;
&gt; &gt;   
&gt; 
&gt; -- 
&gt; **** ACHTUNG! Ab dem 01.09.2009 neue Adresse! ****
&gt; 
&gt; Tobias Schulz &gt;&gt;&gt; In der Kirchtanne 27 &gt;&gt;&gt; 64297 Darmstadt-Eberstadt
&gt; PropperDX@gmx.net &gt;&gt;&gt; http://www.propperdx.de
&gt; ____________________________________________________________________________
&gt; Diese Nachricht ist mit einer elektronischen Signatur versehen
&gt; 




Jeremias Maerki


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: error in pdf with tiff image inside which was created by fop</title>
<author><name>lexa2009 &lt;myworkacc01@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200911.mbox/%3c26528536.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26528536-post@talk-nabble-com%3e</id>
<updated>2009-11-26T12:09:11Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

ye thank you a lot! all work good now. you are my hero :)
-- 
View this message in context: http://old.nabble.com/error-in-pdf-with-tiff-image-inside-which-was-created-by-fop-tp26509340p26528536.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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Use SVG  group/element-id values as labels in pdf; SVG to PDF; FOP 0.95</title>
<author><name>Tobias Schulz &lt;PropperDX@gmx.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200911.mbox/%3c4B0E6169.1030405@gmx.net%3e"/>
<id>urn:uuid:%3c4B0E6169-1030405@gmx-net%3e</id>
<updated>2009-11-26T11:07:21Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Jeremias,

thanks for your help.

here are the requested Illustrator AI/PDF samples.

Tobias


&gt;&gt; i dont know what you mean with named destinations. it's difficult to 
&gt;&gt; translate the german words to matching english words....
&gt;&gt;
&gt;&gt; so, i try again.
&gt;&gt;
&gt;&gt; i use a fo-document to include a external svg-file:
&gt;&gt;
&gt;&gt; &lt;fo:external-graphic src="'url(test.svg)'" content-height="100%"/&gt;
&gt;&gt;
&gt;&gt; svg sample:
&gt;&gt;
&gt;&gt; &lt;g id="i_need_this_id_in_pdf"&gt;
&gt;&gt;        &lt;rect id="i_need_this_id_in_pdf_too" x="56.589" y="83.25" 
&gt;&gt; fill="#F9F342" width="10.236" height="56.693"/&gt;
&gt;&gt;     &lt;rect id="i_need_this_id_in_pdf_too2" x="80.589" y="100" 
&gt;&gt; fill="#F9F342" width="10.236" height="56.693"/&gt;
&gt;&gt; &lt;/g&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; if you open the svg file in illustrator you are able to see the named 
&gt;&gt; elements / layers or how it named in english... (watch screen-ai-svg.gif)
&gt;&gt;
&gt;&gt; but if i create the pdf with: fop -fo test.fo -pdf test.pdf and open the 
&gt;&gt; resulting pdf in illustrator  all names are gone. (watch 
&gt;&gt; screen-resulting-pdf.gif)
&gt;&gt;
&gt;&gt; i tried to add some more attributes like "label" , "desc" and "title" 
&gt;&gt; but - no luck...
&gt;&gt;
&gt;&gt; thanks
&gt;&gt; tobias
&gt;&gt;
&gt;&gt;
&gt;&gt; Jeremias Maerki schrieb:
&gt;&gt;     
&gt;&gt;&gt; Do you mean named destinations? If yes, that's not supported from within
&gt;&gt;&gt; SVG. I don't have Illustrator, so I can't find out what exactly it would
&gt;&gt;&gt; look for. Maybe you can post a small Illustrator example so I can find
&gt;&gt;&gt; out what it is you're looking for. I might be able to give some pointers.
&gt;&gt;&gt; But at any rate, the functionality you're looking for is most probably
&gt;&gt;&gt; not available.
&gt;&gt;&gt;
&gt;&gt;&gt; On 24.11.2009 20:17:58 Tobias Schulz wrote:
&gt;&gt;&gt;   
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt; hi,
&gt;&gt;&gt;&gt; i use "fo:external-graphic" in xsl documents to include and render 
&gt;&gt;&gt;&gt; svg-files to pdf.
&gt;&gt;&gt;&gt; in the resulting pdf file all elements are labeled like "&lt;path x&gt;"
or 
&gt;&gt;&gt;&gt; "&lt;group&gt;".
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; is it possible to use the orininal group/element id-values  in svg as 
&gt;&gt;&gt;&gt; labels in pdf instead? it would be much easier to edit the pdf file in 
&gt;&gt;&gt;&gt; AdobeIllustrator.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; i tried to add "desc" and "title" tags/attributes in my svg-file, but 
&gt;&gt;&gt;&gt; without any results.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; btw. really, realy nice tool! thanks!
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Versions:
&gt;&gt;&gt;&gt; FOP release 0.95
&gt;&gt;&gt;&gt; Windows 7 64bit / Windows Vista 64bit
&gt;&gt;&gt;&gt; JRE 1.6.0.16
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; i hope i did not miss a similar question...
&gt;&gt;&gt;&gt; thanks for your help!
&gt;&gt;&gt;&gt; tobias
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; Jeremias Maerki
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;   
&gt;&gt;&gt;       
&gt;&gt; -- 
&gt;&gt; **** ACHTUNG! Ab dem 01.09.2009 neue Adresse! ****
&gt;&gt;
&gt;&gt; Tobias Schulz &gt;&gt;&gt; In der Kirchtanne 27 &gt;&gt;&gt; 64297 Darmstadt-Eberstadt
&gt;&gt; PropperDX@gmx.net &gt;&gt;&gt; http://www.propperdx.de
&gt;&gt; ____________________________________________________________________________
&gt;&gt; Diese Nachricht ist mit einer elektronischen Signatur versehen
&gt;&gt;
&gt;&gt;     
&gt;
&gt;
&gt;
&gt;
&gt; Viele GrÃ¼sse
&gt; Jeremias MÃ¤rki
&gt; _________________________________________________________
&gt; Jeremias MÃ¤rki, Software-Development and Consulting
&gt; Contact Information: http://www.jeremias-maerki.ch/contact.html
&gt; Blog: http://www.jeremias-maerki.ch/blog/
&gt;
&gt;   

-- 
**** ACHTUNG! Ab dem 01.09.2009 neue Adresse! ****

Tobias Schulz &gt;&gt;&gt; In der Kirchtanne 27 &gt;&gt;&gt; 64297 Darmstadt-Eberstadt
PropperDX@gmx.net &gt;&gt;&gt; http://www.propperdx.de
____________________________________________________________________________
Diese Nachricht ist mit einer elektronischen Signatur versehen



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: New experimental hyphenation patterns</title>
<author><name>Simon Pepping &lt;spepping@leverkruid.eu&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200911.mbox/%3c20091126085603.GA3795@leverkruid.eu%3e"/>
<id>urn:uuid:%3c20091126085603-GA3795@leverkruid-eu%3e</id>
<updated>2009-11-26T08:56:03Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Wed, Nov 25, 2009 at 11:30:54PM +0100, J.Pietschmann wrote:
&gt; On 25.11.2009 21:40, Simon Pepping wrote:
&gt; &gt;When a language uses various alternative spelling rules, some
&gt; &gt;descriptive suffix is appended to the file name, e.g. de_1901; users
&gt; &gt;who prefer these pattern files over the default ones will have to
&gt; &gt;rename the pattern files in the jar file.
&gt; 
&gt; Hmm. I'd rather invent a FOP configuration for mapping the language(s)
&gt; given in the FO to hyphenation pattern names.

That is a good idea. Something like:

&lt;hyphenation code="de" use="de_1901"/&gt;
 
&gt; &gt;Classes: ...  Since 3 September 2009 these classes are built into
&gt; &gt;FOP.
&gt; 
&gt; I'm a bit behind on the hyphenation front, but I thought the kind
&gt; of classes used in TeX hyphenation patterns aren't of much use
&gt; if the patterns use Unicode. There is a Unicode standard for
&gt; parsing words out of text:
&gt;  http://www.unicode.org/reports/tr29/#Word_Boundaries
&gt; aren't we using this already?

We do not use that. It is my impression that classes are required for
being able to build the hyphenation tree. Is that not so?

Simon

-- 
Simon Pepping
home page: http://www.leverkruid.eu

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Japanese fonts in SVG fop 0.95</title>
<author><name>Jeremias Maerki &lt;dev@jeremias-maerki.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200911.mbox/%3c20091126081230.A72C.60BA733C@jeremias-maerki.ch%3e"/>
<id>urn:uuid:%3c20091126081230-A72C-60BA733C@jeremias-maerki-ch%3e</id>
<updated>2009-11-26T07:28:14Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Very simple: just install the fonts as if you had to install them for
any other application (like a word processor) that uses system fonts. So
the actual installation depends on your operating system. Check the
documentation of your operating system for detailed instructions.

On 25.11.2009 23:25:17 Lucian Opris wrote:
&gt; Hi,
&gt; Do you have an idea how to install fonts "via the operating system and
&gt; AWT" for Batik? I never did such a thing before. I will of course
&gt; goggle it but in case someone did it before it would be nice to have
&gt; instructions.
&gt; 
&gt; Thanks a lot again
&gt; 
&gt; Lucian Opris
&gt; 
&gt; -----Original Message-----
&gt; From: Jeremias Maerki [mailto:dev@jeremias-maerki.ch] 
&gt; Sent: Wednesday, November 25, 2009 4:18 PM
&gt; To: fop-users@xmlgraphics.apache.org
&gt; Subject: Re: Japanese fonts in SVG fop 0.95
&gt; 
&gt; Pascal is right. The fonts actually need to be available to both FOP (via
&gt; configuration) and Batik (via the operating system and AWT). If Batik
&gt; doesn't have access to the font it replaces it and that may cause FOP to
&gt; select a font that doesn't have the glyphs you need.
&gt; 
&gt; On 25.11.2009 15:31:18 Pascal Sancho wrote:
&gt; &gt; Hi,
&gt; &gt; 
&gt; &gt; Batik uses the fonts installed on the host rather than thoses indicated 
&gt; &gt; in the FOP config file.
&gt; &gt; You have to install used fonts directly on the local system to have the 
&gt; &gt; correct font with text in SVG.
&gt; &gt; 
&gt; &gt; Pascal
&gt; &gt; 
&gt; &gt; Lucian Opris a Ã©crit :
&gt; &gt; &gt;
&gt; &gt; &gt; Hi All,
&gt; &gt; &gt;
&gt; &gt; &gt; I switched to fop 0.95 successfully and now I encounter another 
&gt; &gt; &gt; problem. The Japanese Fonts inside SVG are showing as ##### even if 
&gt; &gt; &gt; the font-family inside SVG is correct.
&gt; &gt; &gt;
&gt; &gt; &gt; Attached are the files Iâ€™m using with command line. Is this issue 
&gt; &gt; &gt; related to Batik used in the new FOP? I was working fine using Fop 0.25.
&gt; &gt; &gt;
&gt; &gt; &gt;  
&gt; &gt; &gt;
&gt; &gt; &gt; s ./fop -d -r -v -c conf/fop.xconf -xml Hello.xml -xsl hello.xsl -pdf 
&gt; &gt; &gt;  JapHelloFOP.pdf
&gt; &gt; &gt;
&gt; &gt; &gt;  
&gt; &gt; &gt;
&gt; &gt; &gt; Thanks a lot
&gt; &gt; &gt;
&gt; &gt; &gt;  
&gt; &gt; &gt;
&gt; &gt; &gt; Lucian Opris
&gt; &gt; &gt;
&gt; &gt; &gt;  
&gt; &gt; &gt;
&gt; &gt; 
&gt; &gt; 
&gt; &gt; ---------------------------------------------------------------------
&gt; &gt; To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
&gt; &gt; For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
&gt; 
&gt; 
&gt; 
&gt; 
&gt; Jeremias Maerki
&gt; 
&gt; 
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
&gt; For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
&gt; 
&gt; 
&gt; 
&gt; 
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
&gt; For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
&gt; 




Jeremias Maerki


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: New experimental hyphenation patterns</title>
<author><name>&quot;J.Pietschmann&quot; &lt;j3322ptm@yahoo.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200911.mbox/%3c4B0DB01E.4030300@yahoo.de%3e"/>
<id>urn:uuid:%3c4B0DB01E-4030300@yahoo-de%3e</id>
<updated>2009-11-25T22:30:54Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On 25.11.2009 21:40, Simon Pepping wrote:
&gt; When a language uses various alternative spelling rules, some
&gt; descriptive suffix is appended to the file name, e.g. de_1901; users
&gt; who prefer these pattern files over the default ones will have to
&gt; rename the pattern files in the jar file.

Hmm. I'd rather invent a FOP configuration for mapping the language(s)
given in the FO to hyphenation pattern names.

&gt; Classes: ...  Since 3 September 2009 these classes are built into
&gt; FOP.

I'm a bit behind on the hyphenation front, but I thought the kind
of classes used in TeX hyphenation patterns aren't of much use
if the patterns use Unicode. There is a Unicode standard for
parsing words out of text:
  http://www.unicode.org/reports/tr29/#Word_Boundaries
aren't we using this already?

J.Pietschmann

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



</pre>
</div>
</content>
</entry>
</feed>
