xmlgraphics-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r850540 - in /websites/staging/xmlgraphics/trunk/content: ./ fop/trunk/fonts.html
Date Wed, 13 Feb 2013 23:14:11 GMT
Author: buildbot
Date: Wed Feb 13 23:14:11 2013
New Revision: 850540

Log:
Staging update by buildbot for xmlgraphics

Modified:
    websites/staging/xmlgraphics/trunk/content/   (props changed)
    websites/staging/xmlgraphics/trunk/content/fop/trunk/fonts.html

Propchange: websites/staging/xmlgraphics/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Feb 13 23:14:11 2013
@@ -1 +1 @@
-1445435
+1445976

Modified: websites/staging/xmlgraphics/trunk/content/fop/trunk/fonts.html
==============================================================================
--- websites/staging/xmlgraphics/trunk/content/fop/trunk/fonts.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/trunk/fonts.html Wed Feb 13 23:14:11 2013
@@ -472,7 +472,7 @@ $(document).ready(function () {
 <p>The Java2D family of renderers (Java2D, AWT, Print, TIFF, PNG), use the Java AWT
subsystem for font metric information. Through operating system registration, the AWT subsystem
knows what fonts are available on the system, and the font metrics for each one.</p>
 <p>When working with one of these output formats and you're missing a font, just install
it in your operating system and they should be available for these renderers. Please note
that this is not true for other output formats such as PDF or PostScript.</p>
 <h2 id="custom">Custom Fonts</h2>
-<p>Support for custom fonts is highly output format dependent (see above table). This
section shows how to add Type 1 and TrueType fonts to the PDF, PostScript and Java2D-based
renderers. Other renderers (like AFP) support other font formats. Details in this case can
be found on the page about <a href="output.html">output formats</a>. FOP does
not support OpenType fonts yet, although that is in the roadmap for the next release. </p>
+<p>Support for custom fonts is highly output format dependent (see above table). This
section shows how to add Type 1 and TrueType fonts (TTF) to the PDF, PostScript and Java2D-based
renderers. Other renderers (like AFP) support other font formats. Details in this case can
be found on the page about <a href="output.html">output formats</a>. FOP does
not support OpenType fonts (OTF) yet, although that is in the roadmap for the next release.
</p>
 <p>In earlier FOP versions, it was always necessary to create an XML font metrics file
if you wanted to add a custom font. This unconvenient step has been removed and in addition
to that, FOP supports auto-registration of fonts, i.e. FOP can find fonts installed in your
operating system or can scan user-specified directories for fonts. Font registration via XML
font metrics has been deprecated and is not recommended although it is still supported by
the current code.</p>
 <p>More information about fonts can be found at <a href="http://www.adobe.com/devnet/font.html">Adobe
Font Technical Notes</a>.</p>
 <h2 id="bulk">Bulk Font Configuration</h2>
@@ -500,12 +500,12 @@ $(document).ready(function () {
 <div class="codehilite"><pre><span class="nt">&lt;renderers&gt;</span>
    <span class="nt">&lt;renderer</span> <span class="na">mime=</span><span
class="s">&quot;application/pdf&quot;</span><span class="nt">&gt;</span>
        <span class="nt">&lt;fonts&gt;</span>
-           <span class="c">&lt;!-- register a particular font --&gt;</span>
-           <span class="nt">&lt;font</span> <span class="na">kerning=</span><span
class="s">&quot;yes&quot;</span>
-                 <span class="na">embed-url=</span><span class="s">&quot;/System/Library/fonts/Arial.ttf&quot;</span>
-                 <span class="na">embedding-mode=</span><span class="s">&quot;subset&quot;</span><span
class="nt">&gt;</span>
+           <span class="nt">&lt;font</span> <span class="na">kerning=</span><span
class="s">&quot;yes&quot;</span> <span class="na">embed-url=</span><span
class="s">&quot;/System/Library/Fonts/Arial.ttf&quot;</span> <span class="na">embedding-mode=</span><span
class="s">&quot;subset&quot;</span><span class="nt">&gt;</span>
                <span class="nt">&lt;font-triplet</span> <span class="na">name=</span><span
class="s">&quot;Arial&quot;</span> <span class="na">style=</span><span
class="s">&quot;normal&quot;</span> <span class="na">weight=</span><span
class="s">&quot;normal&quot;</span><span class="nt">/&gt;</span>
            <span class="nt">&lt;/font&gt;</span>
+           <span class="nt">&lt;font</span> <span class="na">kerning=</span><span
class="s">&quot;yes&quot;</span> <span class="na">embed-url=</span><span
class="s">&quot;/System/Library/Fonts/AEHO____.PFB&quot;</span><span class="nt">&gt;</span>
+               <span class="nt">&lt;font-triplet</span> <span class="na">name=</span><span
class="s">&quot;Avenir-HeavyOblique&quot;</span> <span class="na">style=</span><span
class="s">&quot;normal&quot;</span> <span class="na">weight=</span><span
class="s">&quot;bold&quot;</span><span class="nt">/&gt;</span>
+           <span class="nt">&lt;/font&gt;</span>
        <span class="nt">&lt;/fonts&gt;</span>
    <span class="nt">&lt;/renderer&gt;</span>
 <span class="nt">&lt;/renderers&gt;</span>
@@ -517,7 +517,7 @@ $(document).ready(function () {
 <p>The "embed-url" attribute is used to specify the font file. Relative URLs are resolved
relative to the font-base property (or base) if available. See <a href="configuration.html">FOP:
Configuration</a> for more information. </p>
 </li>
 <li>
-<p>The "embedding-mode" attribute is optional and can take two values: subset (the
default) and full. If not specified the font is subset embedded unless is explicitly referenced
(see below).</p>
+<p>The "embedding-mode" attribute is optional and can take two values: subset (the
default) and full. If not specified the font is subset embedded for TTF or full embedded for
Type 1, unless it is explicitly referenced (see below). Subset embedding for Type 1 fonts
is not supported.</p>
 </li>
 <li>
 <p>The font "kerning" attribute is optional. Default is "true".</p>



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


Mime
View raw message