You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by ps...@apache.org on 2012/12/14 10:55:59 UTC
svn commit: r1421773 - in /xmlgraphics/site/trunk/content/fop:
1.0/fonts.mdtext 1.1/fonts.mdtext 1.1/pdfencryption.mdtext
trunk/fonts.mdtext trunk/pdfencryption.mdtext
Author: psancho
Date: Fri Dec 14 09:55:58 2012
New Revision: 1421773
URL: http://svn.apache.org/viewvc?rev=1421773&view=rev
Log:
fixed some syntax issues
Modified:
xmlgraphics/site/trunk/content/fop/1.0/fonts.mdtext
xmlgraphics/site/trunk/content/fop/1.1/fonts.mdtext
xmlgraphics/site/trunk/content/fop/1.1/pdfencryption.mdtext
xmlgraphics/site/trunk/content/fop/trunk/fonts.mdtext
xmlgraphics/site/trunk/content/fop/trunk/pdfencryption.mdtext
Modified: xmlgraphics/site/trunk/content/fop/1.0/fonts.mdtext
URL: http://svn.apache.org/viewvc/xmlgraphics/site/trunk/content/fop/1.0/fonts.mdtext?rev=1421773&r1=1421772&r2=1421773&view=diff
==============================================================================
--- xmlgraphics/site/trunk/content/fop/1.0/fonts.mdtext (original)
+++ xmlgraphics/site/trunk/content/fop/1.0/fonts.mdtext Fri Dec 14 09:55:58 2012
@@ -232,15 +232,15 @@ There are two different ways how you can
1. For automatically configured fonts there's a different mechanism to specify which fonts should be referenced rather than embedded. This is done in the "referenced-fonts" element in the configuration. Here's an example:
- :::xml
- <fop version="1.0">
- <fonts>
- <referenced-fonts>
- <match font-family="Helvetica"/>
- <match font-family="DejaVu.*"/>
- </referenced-fonts>
- </fonts>
- </fop>
+ :::xml
+ <fop version="1.0">
+ <fonts>
+ <referenced-fonts>
+ <match font-family="Helvetica"/>
+ <match font-family="DejaVu.*"/>
+ </referenced-fonts>
+ </fonts>
+ </fop>
At the moment, you can only match fonts against their font-family. It is possible to use regular expressions as is shown in the second example above ("DejaVu.*"). The syntax for the regular expressions used here are the one used by the [package](http://java.sun.com/j2se/1.4/docs/api/java/util/regex/package-summary.html). So, in the above snippet "Helvetica" and all variants of the "DejaVu" font family are referenced. If you want to reference all fonts, just specify `font-family=".*"`.
Modified: xmlgraphics/site/trunk/content/fop/1.1/fonts.mdtext
URL: http://svn.apache.org/viewvc/xmlgraphics/site/trunk/content/fop/1.1/fonts.mdtext?rev=1421773&r1=1421772&r2=1421773&view=diff
==============================================================================
--- xmlgraphics/site/trunk/content/fop/1.1/fonts.mdtext (original)
+++ xmlgraphics/site/trunk/content/fop/1.1/fonts.mdtext Fri Dec 14 09:55:58 2012
@@ -229,15 +229,15 @@ There are two different ways how you can
1. For automatically configured fonts there's a different mechanism to specify which fonts should be referenced rather than embedded. This is done in the "referenced-fonts" element in the configuration. Here's an example:
- :::xml
- <fop version="1.0">
- <fonts>
- <referenced-fonts>
- <match font-family="Helvetica"/>
- <match font-family="DejaVu.*"/>
- </referenced-fonts>
- </fonts>
- </fop>
+ :::xml
+ <fop version="1.0">
+ <fonts>
+ <referenced-fonts>
+ <match font-family="Helvetica"/>
+ <match font-family="DejaVu.*"/>
+ </referenced-fonts>
+ </fonts>
+ </fop>
At the moment, you can only match fonts against their font-family. It is possible to use regular expressions as is shown in the second example above ("DejaVu.*"). The syntax for the regular expressions used here are the one used by the [package](http://java.sun.com/j2se/1.4/docs/api/java/util/regex/package-summary.html). So, in the above snippet "Helvetica" and all variants of the "DejaVu" font family are referenced. If you want to reference all fonts, just specify `font-family=".*"`.
Modified: xmlgraphics/site/trunk/content/fop/1.1/pdfencryption.mdtext
URL: http://svn.apache.org/viewvc/xmlgraphics/site/trunk/content/fop/1.1/pdfencryption.mdtext?rev=1421773&r1=1421772&r2=1421773&view=diff
==============================================================================
--- xmlgraphics/site/trunk/content/fop/1.1/pdfencryption.mdtext (original)
+++ xmlgraphics/site/trunk/content/fop/1.1/pdfencryption.mdtext Fri Dec 14 09:55:58 2012
@@ -33,7 +33,7 @@ Further restrictions can be imposed by u
| `-noprinthq` | disable high quality printing |
-## Usage (embedded) {#Usage-%28embedded%29}
+## Usage (embedded) {#embedded}
When FOP is embedded in another Java application you need to set an options map on the renderer. These are the supported options:
Modified: xmlgraphics/site/trunk/content/fop/trunk/fonts.mdtext
URL: http://svn.apache.org/viewvc/xmlgraphics/site/trunk/content/fop/trunk/fonts.mdtext?rev=1421773&r1=1421772&r2=1421773&view=diff
==============================================================================
--- xmlgraphics/site/trunk/content/fop/trunk/fonts.mdtext (original)
+++ xmlgraphics/site/trunk/content/fop/trunk/fonts.mdtext Fri Dec 14 09:55:58 2012
@@ -229,15 +229,15 @@ There are two different ways how you can
1. For automatically configured fonts there's a different mechanism to specify which fonts should be referenced rather than embedded. This is done in the "referenced-fonts" element in the configuration. Here's an example:
- :::xml
- <fop version="1.0">
- <fonts>
- <referenced-fonts>
- <match font-family="Helvetica"/>
- <match font-family="DejaVu.*"/>
- </referenced-fonts>
- </fonts>
- </fop>
+ :::xml
+ <fop version="1.0">
+ <fonts>
+ <referenced-fonts>
+ <match font-family="Helvetica"/>
+ <match font-family="DejaVu.*"/>
+ </referenced-fonts>
+ </fonts>
+ </fop>
At the moment, you can only match fonts against their font-family. It is possible to use regular expressions as is shown in the second example above ("DejaVu.*"). The syntax for the regular expressions used here are the one used by the [package](http://java.sun.com/j2se/1.4/docs/api/java/util/regex/package-summary.html). So, in the above snippet "Helvetica" and all variants of the "DejaVu" font family are referenced. If you want to reference all fonts, just specify `font-family=".*"`.
Modified: xmlgraphics/site/trunk/content/fop/trunk/pdfencryption.mdtext
URL: http://svn.apache.org/viewvc/xmlgraphics/site/trunk/content/fop/trunk/pdfencryption.mdtext?rev=1421773&r1=1421772&r2=1421773&view=diff
==============================================================================
--- xmlgraphics/site/trunk/content/fop/trunk/pdfencryption.mdtext (original)
+++ xmlgraphics/site/trunk/content/fop/trunk/pdfencryption.mdtext Fri Dec 14 09:55:58 2012
@@ -33,7 +33,7 @@ Further restrictions can be imposed by u
| `-noprinthq` | disable high quality printing |
-## Usage (embedded) {#Usage-%28embedded%29}
+## Usage (embedded) {#embedded}
When FOP is embedded in another Java application you need to set an options map on the renderer. These are the supported options:
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org