jefft       2003/07/28 23:21:17

  Modified:    targets/fop anttask.html fonts.html fonts.pdf resources.html
                        resources.pdf
               targets/fop/design/alt.design FOPropertySets.html
                        FoXMLEvent.html SyncedFoXmlEventsBuffer.html
                        XMLNamespaces.html codedisplay.js
               targets/fop/design/alt.design/properties
                        AbstractPropertyValue.html FOAttributes.html
                        PropNames.html Property.html PropertyConsts.html
                        PropertyParser.html PropertySets.html
                        PropertyTokenizer.html PropertyValue.html
                        PropertyValueList.html ShorthandPropSets.html
                        codedisplay.js
  Added:       targets/fop ttf-encoding.html
  Log:
  Automatic publish at Tue Jul 29 08:21:24 CEST 2003 from 
http://forrestbot.cocoondev.org.
  
  Revision  Changes    Path
  1.11      +6 -6      xml-site/targets/fop/anttask.html
  
  Index: anttask.html
  ===================================================================
  RCS file: /home/cvs/xml-site/targets/fop/anttask.html,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- anttask.html      10 Jul 2003 18:47:12 -0000      1.10
  +++ anttask.html      29 Jul 2003 06:21:13 -0000      1.11
  @@ -309,20 +309,20 @@
   </table>
   <ul class="minitoc">
   <li>
  -<a href="#Description">Description</a>
  +<a href="#basics">Description</a>
   </li>
   <li>
  -<a href="#Parameters+for+FOP+Ant+task">Parameters for FOP Ant task</a>
  +<a href="#parameters">Parameters for FOP Ant task</a>
   </li>
   <li>
  -<a href="#Examples">Examples</a>
  +<a href="#examples">Examples</a>
   </li>
   </ul>
       
   <p>
       FOP provides an Ant task for automating the document build process.</p>
       
  -<a name="N101C1"></a><a name="Description"></a>
  +<a name="N101C1"></a><a name="basics"></a>
   <h3>Description</h3>
   <div style="margin-left: 0 ; border: 2px">
   <p>
  @@ -349,7 +349,7 @@
   </div>
       <!-- TODO: Installation/Configuration -->
       
  -<a name="N101DA"></a><a name="Parameters+for+FOP+Ant+task"></a>
  +<a name="N101DA"></a><a name="parameters"></a>
   <h3>Parameters for FOP Ant task</h3>
   <div style="margin-left: 0 ; border: 2px">
   <table class="ForrestTable" cellspacing="1" cellpadding="4">
  @@ -474,7 +474,7 @@
   </table>
   </div>
       
  -<a name="N102DF"></a><a name="Examples"></a>
  +<a name="N102DF"></a><a name="examples"></a>
   <h3>Examples</h3>
   <div style="margin-left: 0 ; border: 2px">
   <p>
  
  
  
  1.32      +98 -14    xml-site/targets/fop/fonts.html
  
  Index: fonts.html
  ===================================================================
  RCS file: /home/cvs/xml-site/targets/fop/fonts.html,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- fonts.html        10 Jul 2003 18:47:14 -0000      1.31
  +++ fonts.html        29 Jul 2003 06:21:14 -0000      1.32
  @@ -345,7 +345,7 @@
   <a name="N101C9"></a><a name="intro"></a>
   <h3>Summary</h3>
   <div style="margin-left: 0 ; border: 2px">
  -<p>The following table summarizes the font capabilites of the various FOP 
renderers:</p>
  +<p>The following table summarizes the font capabilities of the various FOP 
renderers:</p>
   <table class="ForrestTable" cellspacing="1" cellpadding="4">
           
   <tr>
  @@ -498,14 +498,25 @@
   <p>Windows:</p>
   <pre class="code">java -cp 
build\fop.jar;lib\avalon-framework.jar;lib\xml-apis.jar;
            lib\xercesImpl.jar;lib\xalan.jar
  -           org.apache.fop.fonts.apps.PFMReader pfm-file xml-file</pre>
  +           org.apache.fop.fonts.apps.PFMReader [options] pfm-file 
xml-file</pre>
   <p>Unix:</p>
   <pre class="code">java -cp 
build/fop.jar:lib/avalon-framework.jar:lib/xml-apis.jar:
            lib/xercesImpl.jar:lib/xalan.jar
  -           org.apache.fop.fonts.apps.PFMReader pfm-file xml-file</pre>
  +           org.apache.fop.fonts.apps.PFMReader [options] pfm-file 
xml-file</pre>
  +<p>PFMReader [options]:</p>
  +<ul>
  +          
  +<li>
  +<strong>-fn &lt;fontname&gt;</strong> By default, FOP uses the fontname from 
the
  +.pfm file when embedding the font. Use the "-fn" option to override this 
name with one you have
  +chosen. This may be useful in some cases to ensure that applications using 
the output document
  +(Acrobat Reader for example) use the embedded font instead of a local font 
with the same
  +name.</li>
  +        
  +</ul>
   <div class="frame note">
   <div class="label">Note</div>
  -<div class="content">The classpath in the above example has been simplified 
for readibity.
  +<div class="content">The classpath in the above example has been simplified 
for readability.
   You will have to adjust the classpath to the names of the actual JAR files 
in the lib directory.
   avalon-framework.jar is necessary only for versions 0.20.5 or later.
   xml-apis.jar, xercesImpl.jar and xalan.jar are not necessary for JDK version 
1.4 or later.</div>
  @@ -518,18 +529,90 @@
   The constructed values however appear to have no visible influence.</div>
   </div>
   </div>
  -<a name="N10353"></a><a name="truetype-metrics"></a>
  +<a name="N1035E"></a><a name="truetype-metrics"></a>
   <h4>TrueType Font Metrics</h4>
   <div style="margin-left: 0 ; border: 2px">
   <p>FOP includes TTFReader, which reads the TTF file and generates an 
appropriate font metrics file for it.
   Use it in a similar manner to PFMReader.
  -For example, to create such a metcis file in Windows from the TrueType font 
at c:\myfonts\cmr10.ttf:</p>
  +For example, to create such a metrics file in Windows from the TrueType font 
at c:\myfonts\cmr10.ttf:</p>
   <pre class="code">java -cp 
build\fop.jar;lib\avalon-framework.jar;lib\xml-apis.jar;
            lib\xercesImpl.jar;lib\xalan.jar
  -           org.apache.fop.fonts.apps.TTFReader
  +           org.apache.fop.fonts.apps.TTFReader [options]
                C:\myfonts\cmr10.ttf ttfcm.xml</pre>
  +<p>TTFReader [options]:</p>
  +<ul>
  +          
  +<li>
  +<strong>-d &lt;DEBUG | INFO &gt;</strong> Sets the debug level (default is
  +INFO).</li>
  +          
  +<li>
  +<strong>-fn &lt;fontname&gt;</strong> Same as for PFMReader.</li>
  +          
  +<li>
  +<strong>-ttcname &lt;fontname&gt;</strong> If you're reading data from a
  +TrueType Collection (.ttc file) you must specify which font from the 
collection you will read
  +metrics from.
  +If you read from a .ttc file without this option, the fontnames will be 
listed for you.</li>
  +          
  +<li>
  +<strong>-enc ansi</strong> Creates a WinAnsi-encoded font metrics file.
  +Without this option, a CID-keyed font metrics file is created.
  +The table below summarizes the differences between these two encoding 
options as currently
  +used within FOP.
  +Please note that this information only applies to TrueType fonts and 
TrueType collections:</li>
  +        
  +</ul>
  +<a name="ttf-encoding"></a>
  +<table class="ForrestTable" cellspacing="1" cellpadding="4">
  +          
  +<tr>
  +            
  +<th colspan="1" rowspan="1">Issue</th>
  +            <th colspan="1" rowspan="1">WinAnsi</th>
  +            <th colspan="1" rowspan="1">CID-keyed</th>
  +          
  +</tr>
  +          
  +<tr>
  +            
  +<td colspan="1" rowspan="1">Usable Character Set</td>
  +            <td colspan="1" rowspan="1">Limited to WinAnsi character set, 
which is roughly equivalent to iso-8889-1.</td>
  +            <td colspan="1" rowspan="1">Limited only by the characters in 
the font itself.</td>
  +          
  +</tr>
  +          
  +<tr>
  +            
  +<td colspan="1" rowspan="1">Character Encoding in the Output Document.</td>
  +            <td colspan="1" rowspan="1">Correct.</td>
  +            <td colspan="1" rowspan="1">Never correct. Search, index, and 
cut-and-paste operations in the output document
  +will produce incorrect results.</td>
  +          
  +</tr>
  +          
  +<tr>
  +            
  +<td colspan="1" rowspan="1">Character Display</td>
  +            <td colspan="1" rowspan="1">Correct.</td>
  +            <td colspan="1" rowspan="1">Correct if and only if the font is 
embedded in the output. (This is possible
  +because, although the underlying characters are encoded incorrectly, the 
embedded font is
  +also encoded incorrectly).</td>
  +          
  +</tr>
  +        
  +</table>
  +<a name="cid-keyed-encoding-ttf"></a>
  +<div class="frame warning">
  +<div class="label">Warning</div>
  +<div class="content">As shown in the above table, regardless of
  +whether the font is embedded or not, text generated from a CID-keyed font 
metrics file
  +will <em>never </em>be encoded properly.
  +Further, if the related font is not embedded, it cannot even be displayed 
properly.
  +Obviously, this behavior is not desirable, and we hope to correct it in 
upcoming releases.</div>
  +</div>
   </div>
  -<a name="N10361"></a><a name="truetype-collections-metrics"></a>
  +<a name="N103D9"></a><a name="truetype-collections-metrics"></a>
   <h4>TrueType Collections Font Metrics</h4>
   <div style="margin-left: 0 ; border: 2px">
   <p>TrueType collections (.ttc files) contain more than one font.
  @@ -542,7 +625,7 @@
              org.apache.fop.fonts.apps.TTFReader -ttcname "MS Mincho"
                msmincho.ttc msminch.xml</pre>
   </div>
  -<a name="N10375"></a><a name="register"></a>
  +<a name="N103ED"></a><a name="register"></a>
   <h4>Register Fonts with FOP</h4>
   <div style="margin-left: 0 ; border: 2px">
   <p>You must tell FOP how to find and use the font metrics files by 
registering them in the <a href="configuration.html">FOP Configuration</a>. Add 
entries for your custom fonts, regardless of font type, to the configuration 
file in a manner similar to the following:</p>
  @@ -569,7 +652,7 @@
   <div class="content">Cocoon users will need to setup the config, see 
FOPSerializer for more information.</div>
   </div>
   </div>
  -<a name="N103A1"></a><a name="embedding"></a>
  +<a name="N10419"></a><a name="embedding"></a>
   <h4>Embedding</h4>
   <div style="margin-left: 0 ; border: 2px">
   <div class="frame note">
  @@ -582,16 +665,17 @@
   </div>
   <p>Font embedding is enabled in the userconfig.xml file and controlled by 
the embed-file attribute.
   If you don't specify the embed-file attribute the font will not be embedded, 
but will only be referenced.</p>
  -<p>When FOP embeds a font, it scrambles its fontname by inserting a prefix 
that ensures that the fontname will not match the fontname of an installed font.
  +<p>When FOP embeds a font, it adds a prefix to the fontname to ensure that 
the name will not match the fontname of an installed font.
   This is helpful with older versions of Acrobat Reader that preferred 
installed fonts over embedded fonts.</p>
   <p>When embedding PostScript fonts, the entire font is always embedded.</p>
  -<p>When embedding TrueType fonts (ttf) or TrueType Collections (ttc), a new 
font, containing only the glyphs used, is created from the original font and 
embedded in the pdf.
  +<p>When embedding TrueType fonts (ttf) or TrueType Collections (ttc), a 
subset of the original font, containing only the glyphs used, is embedded in 
the output document.
   Currently, this embedded font contains only the minimum data needed to be 
embedded in a pdf document, and does not contain any codepage information.
   The PDF document contains indexes to the glyphs in the font instead of to 
encoded characters.
   While the document will be displayed correctly, the net effect of this is 
that searching, indexing, and cut-and-paste will not work properly.</p>
  -<p>One workaround for this behavior is to use the -ansi option when 
generating metrics with TTFReader.
  +<p>One workaround for this behavior is to use the "-enc ansi" option when 
generating metrics with TTFReader.
   This will cause the whole font to be embedded in the pdf document.
  -Characters will be WinAnsi encoded (as specified in the PDF spec), so you 
lose the ability to use characters from other character sets.</p>
  +Characters will be WinAnsi encoded (as specified in the PDF spec), so you 
lose the ability to use characters from other character sets.
  +See <a href="#ttf-encoding">Table of TTF Encoding Options</a> for more 
details.</p>
   </div>
   </div>
     
  
  
  
  1.12      +405 -216  xml-site/targets/fop/fonts.pdf
  
        <<Binary file>>
  
  
  1.35      +1 -1      xml-site/targets/fop/resources.html
  
  Index: resources.html
  ===================================================================
  RCS file: /home/cvs/xml-site/targets/fop/resources.html,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- resources.html    10 Jul 2003 18:47:14 -0000      1.34
  +++ resources.html    29 Jul 2003 06:21:14 -0000      1.35
  @@ -442,7 +442,7 @@
   <ul>
             
   <li>
  -<a target="_top" 
href="http://partners.adobe.com/asn/developer/acrosdk/docs/filefmtspecs/PDFReference.pdf";>Portable
 Document Format (PDF) 1.4 Reference Manual</a>
  +<a target="_top" 
href="http://partners.adobe.com/asn/tech/pdf/specifications.jsp";>Portable 
Document Format (PDF) Reference Manual</a>
            
   </li>
           
  
  
  
  1.16      +89 -89    xml-site/targets/fop/resources.pdf
  
        <<Binary file>>
  
  
  1.1                  xml-site/targets/fop/ttf-encoding.html
  
  Index: ttf-encoding.html
  ===================================================================
  <html><head><title>Resource not Found</title><STYLE><!--H1{font-family : 
sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} 
BODY{font-family : sans-serif,Arial,Tahoma;color : black;background-color : 
white;} B{color : white;background-color : #0086b2;} HR{color : #0086b2;} 
--></STYLE> </head><body><h1>Cocoon 2 - Resource not Found</h1><hr size="1" 
noshade="noshade"/><p><b>type</b> resource-not-found</p><p><b>message</b> 
<u>Page Not Available.</u></p><p><b>description</b> <u>The requested resource 
couldn't be found.</u></p><p><b>sender</b> 
org.apache.cocoon.Main</p><p><b>source</b> Cocoon commandline 
(Main.java)</p><p><b>request-uri</b><pre>ttf-encoding</pre></p><p><b>missing-file</b><pre>/usr/serverlocal/forrestbot/scripts/work/build/bot/xml-fop/site/ttf-encoding.html</pre></p><hr
 size="1" noshade="true"/></body></html>
  
  
  1.34      +0 -0      
xml-site/targets/fop/design/alt.design/FOPropertySets.html
  
  Index: FOPropertySets.html
  ===================================================================
  RCS file: 
/home/cvs/xml-site/targets/fop/design/alt.design/FOPropertySets.html,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  
  
  
  1.25      +0 -0      xml-site/targets/fop/design/alt.design/FoXMLEvent.html
  
  Index: FoXMLEvent.html
  ===================================================================
  RCS file: /home/cvs/xml-site/targets/fop/design/alt.design/FoXMLEvent.html,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  
  
  
  1.25      +0 -0      
xml-site/targets/fop/design/alt.design/SyncedFoXmlEventsBuffer.html
  
  Index: SyncedFoXmlEventsBuffer.html
  ===================================================================
  RCS file: 
/home/cvs/xml-site/targets/fop/design/alt.design/SyncedFoXmlEventsBuffer.html,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  
  
  
  1.25      +0 -0      xml-site/targets/fop/design/alt.design/XMLNamespaces.html
  
  Index: XMLNamespaces.html
  ===================================================================
  RCS file: 
/home/cvs/xml-site/targets/fop/design/alt.design/XMLNamespaces.html,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  
  
  
  1.24      +0 -0      xml-site/targets/fop/design/alt.design/codedisplay.js
  
  Index: codedisplay.js
  ===================================================================
  RCS file: /home/cvs/xml-site/targets/fop/design/alt.design/codedisplay.js,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  
  
  
  1.34      +0 -0      
xml-site/targets/fop/design/alt.design/properties/AbstractPropertyValue.html
  
  Index: AbstractPropertyValue.html
  ===================================================================
  RCS file: 
/home/cvs/xml-site/targets/fop/design/alt.design/properties/AbstractPropertyValue.html,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  
  
  
  1.34      +0 -0      
xml-site/targets/fop/design/alt.design/properties/FOAttributes.html
  
  Index: FOAttributes.html
  ===================================================================
  RCS file: 
/home/cvs/xml-site/targets/fop/design/alt.design/properties/FOAttributes.html,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  
  
  
  1.34      +0 -0      
xml-site/targets/fop/design/alt.design/properties/PropNames.html
  
  Index: PropNames.html
  ===================================================================
  RCS file: 
/home/cvs/xml-site/targets/fop/design/alt.design/properties/PropNames.html,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  
  
  
  1.34      +0 -0      
xml-site/targets/fop/design/alt.design/properties/Property.html
  
  Index: Property.html
  ===================================================================
  RCS file: 
/home/cvs/xml-site/targets/fop/design/alt.design/properties/Property.html,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  
  
  
  1.34      +0 -0      
xml-site/targets/fop/design/alt.design/properties/PropertyConsts.html
  
  Index: PropertyConsts.html
  ===================================================================
  RCS file: 
/home/cvs/xml-site/targets/fop/design/alt.design/properties/PropertyConsts.html,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  
  
  
  1.34      +0 -0      
xml-site/targets/fop/design/alt.design/properties/PropertyParser.html
  
  Index: PropertyParser.html
  ===================================================================
  RCS file: 
/home/cvs/xml-site/targets/fop/design/alt.design/properties/PropertyParser.html,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  
  
  
  1.34      +0 -0      
xml-site/targets/fop/design/alt.design/properties/PropertySets.html
  
  Index: PropertySets.html
  ===================================================================
  RCS file: 
/home/cvs/xml-site/targets/fop/design/alt.design/properties/PropertySets.html,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  
  
  
  1.34      +0 -0      
xml-site/targets/fop/design/alt.design/properties/PropertyTokenizer.html
  
  Index: PropertyTokenizer.html
  ===================================================================
  RCS file: 
/home/cvs/xml-site/targets/fop/design/alt.design/properties/PropertyTokenizer.html,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  
  
  
  1.34      +0 -0      
xml-site/targets/fop/design/alt.design/properties/PropertyValue.html
  
  Index: PropertyValue.html
  ===================================================================
  RCS file: 
/home/cvs/xml-site/targets/fop/design/alt.design/properties/PropertyValue.html,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  
  
  
  1.34      +0 -0      
xml-site/targets/fop/design/alt.design/properties/PropertyValueList.html
  
  Index: PropertyValueList.html
  ===================================================================
  RCS file: 
/home/cvs/xml-site/targets/fop/design/alt.design/properties/PropertyValueList.html,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  
  
  
  1.34      +0 -0      
xml-site/targets/fop/design/alt.design/properties/ShorthandPropSets.html
  
  Index: ShorthandPropSets.html
  ===================================================================
  RCS file: 
/home/cvs/xml-site/targets/fop/design/alt.design/properties/ShorthandPropSets.html,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  
  
  
  1.24      +0 -0      
xml-site/targets/fop/design/alt.design/properties/codedisplay.js
  
  Index: codedisplay.js
  ===================================================================
  RCS file: 
/home/cvs/xml-site/targets/fop/design/alt.design/properties/codedisplay.js,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to