Преглед изворни кода

No longer required


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194072 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-0_18_1
arved пре 23 година
родитељ
комит
af8a6b395d

+ 0
- 5
jpfop-0.17.0/makesample_jpfop.bat Прегледај датотеку

@@ -1,5 +0,0 @@
set XERCES=..\lib\xerces.jar
set XALAN=..\lib\xalan.jar
set BSF=..\lib\bsf.jar

java -cp ..\build\fop-0.16.0-jp.jar;%XERCES%;%XALAN%;%BSF%;..\lib\w3c.jar org.apache.fop.apps.CommandLine -d sample_jpfop.fo sample_jpfop.pdf

+ 0
- 8
jpfop-0.17.0/makesample_jpfop.sh Прегледај датотеку

@@ -1,8 +0,0 @@
#!/bin/sh

XERCES=../lib/xerces.jar
XALAN=../lib/xalan.jar
BSF=../lib/bsf.jar

$JAVA_HOME/bin/java -cp ../build/fop-0.16.0-jp.jar:$XERCES:$XALAN:$BSF:../lib/w3c.jar org.apache.fop.apps.CommandLine -d sample_jpfop.fo sample_jpfop.pdf


+ 0
- 276
jpfop-0.17.0/readme.html Прегледај датотеку

@@ -1,276 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<title>JAPANIZED PATCH for FOP-0.16.0</title>
</head>

<body>
<h1>JAPANIZED PATCH for FOP-0.16.0</h1>



<br><br><br>
<h1>1. Introduction</h1>
<p>This patch supports the Type0 fonts for FOP-0.16.0 that is provided <a href="http://xml.apache.org/fop">http://xml.apache.org/fop</a> . When you have patched , you can use following family font name:</p>
<ul>
<li>MS-Mincho</li>
<li>MS-Gothic</li>
<li>Ryumin-Light</li>
<li>GothicBBB-Medium</li>
<li>Osaka</li>
</ul>
<p>This patch is tested for compile and create PDF file following environments :</p>
<ul>
<li>WindowsNT4.0+SP6a ( Japanese version ) , SUN J2SE,v1.3.0_01</li>
<li>Solaris2.6 , SUN J2SE,v1.3.0</li>
</ul>

<p><b>NOTE: </b>It is not possible that this patch works fine for other than Internationalized ( or Localized ) JDK . And if your machine does not support the japanese fonts , this patch can't create the PDF File that written in japanese .</p>

<br><br><br>
<h1>2. Installation</h1>

<ol>
<li>Access <a href="http://xml.apache.org/dist/fop/">http://xml.apache.org/dist/fop/</a> , and download <a href="http://xml.apache.org/dist/fop/fop-0_16_0.zip">fop-0_16_0.zip</a> ( or <a href="http://xml.apache.org/dist/fop/fop-0_16_0.tar.gz">fop-0_16_0.tar.gz</a> ) .</li>
<li>Uncompress and extract fop-0_16_0.zip ( or .tar.gz ) .</li>
<dl><dl><dt>This will create a directory named fop-0_16_0 .</dt></dl></dl>
<li>Access <a href="http://www.sourceforge.net/projects/jpfop/">http://www.sourceforge.net/projects/jpfop/</a> , and download jpfop_0_16_0.zip ( or jpfop_0_16_0.tar.gz ) .</li>
<li>Uncompress and extract jpfop-0.16.0.zip ( or .tar.gz ) under fop-0_16_0 directory .</li>
<dl><dl><dt>This will create a directory named jpfop-0.16.0 under fop-0_16_0 directory .</dt></dl></dl>
<li>Access <a href="http://xml.apache.org/dist/xalan-j/">http://xml.apache.org/dist/xalan-j/</a> , and download <a href="http://xml.apache.org/dist/xalan-j/xalan-j_1_2_2.zip">xalan-j_1_2_2.zip</a> ( or <a href="http://xml.apache.org/dist/xalan-j/xalan-j_1_2_2.zip">xalan-j_1_2_2.tar.gz</a> ) .
<li>Bundle xerces.jar , xalan.jar and bsf.jar in xalan-j_1_2_2.zip ( or .tar.gz ) .
<dl><dl><dt>This patch can conveniently bundle xerces.jar , xalan.jar andbsf.jar, if you copy them to fop-0_16_0/lib directory .</dt></dl></dl></li>
<li><dl>
<dt>Run following command :</dt>
<dd>&gt; cd fop-0_16_0</dd>
<dd>&gt; build-jpfop ( ./build-jpfop.sh )</dd>
</dl></li>
<li>The JAPANIZED Fop that named fop-0.16.0-jp.jar will be created after the Ant prints out <b>BUILD SUCCESSED</b> .</li>
<li><dl>
<dt>Test JAPANIZED Fop following way :</dt>
<dd>&gt; cd jpfop</dd>
<dd>&gt; makesample_jpfop ( or ./makesample_jpfop.sh )</dd>
<dt>When no exception is thrown , following sample_jpfop.pdf file is created .</dt>
</dl></li>
</ol>
<center>
<p><img src="./images/jppdf.gif" border="3"></p>
<b>Figure. sample_jpfop.pdf</b>
</center>

<p><b>Note:</b> This patch only provides Japanese Font , but it is easy to support Chinese or Korea . If you want to use the other CJKFont that does not include in this patch , you can use them to create font information in fop-0_16_0/src/codegen/cidfont and fop-0_16_0/src/codegen/cmp and to added it to FontSetup.java and build-jpfop.xml .</p>

<p></p>


<br><br><br>
<h1>3. Sources</h1>

<h2>3.1 Updated sources</h2>

<p>This patch have updated following classes .</p>
<blockquote><dl>
<dt>org.apache.fop.layout.LineArea</dt>
<dt>org.apache.fop.pdf.PDFFontDescriptor</dt>
<dt>org.apache.fop.pdf.PDFDocument</dt>
<dt>org.apache.fop.render.pdf.PDFRenderer</dt>
<dt>org.apache.fop.render.pdf.FontSetup</dt>
</dl></blockquote>


<h3>3.1.1 org.apache.fop.layout.LineArea</h3>
<blockquote>
<p>The addText() method is updated . A Type0 composit font uses single-byte or multi-byte character codes that range is from 0 to 65535 . In FOP-0.16.0 , the character code is automatically transrated to &quot;#&quot , if it is higher than 127 . I commented out that codes .</p>
<p>And I added new line code . In japanese , the words is not separated by whitespace , but currently fop only supports the new line algorithm that judges at every words . In this patch , when a line contains japanese , it breaks if overrun .</p>
</blockquote>


<h3>3.1.2 org.apache.fop.pdf.PDFFontDescriptor</h3>
<blockquote>
<p>The toPDF() method is updated . A type of return value for Rectangle.toPDF() was byte[] , so A PDF Rectangle format was not exactly . I think that this is FOP's BUG .</p>
<dl>
<dt>previous codes:</dt>
<dd><code>
p.append("\n/FontBBox "); p.append(fontBBox.toPDF());
</code></dd>
<dt>updated codes:</dt>
<dd><code>
p.append("\n/FontBBox "); p.append(new String(fontBBox.toPDF()));
</code></dd>
</dl>
</blockquote>


<h3>3.1.3 org.apache.fop.pdf.PDFDocument</h3>
<blockquote>
<p>The makeFont() and makeFontDescriptor() methods is updated .</p>

<p><b>makeFont() method: </b>When the implemented Font object does not have FontDescriptor object and that Font object is the instance of CIDFont , create Type0 font object .</p>

<p><b>makeFontDescriptor() method: </b>I added the algorithm of OptionalFontDescriptor instance creation . And , in the original code of PDFFontDescriptor instance creation , the position of ItalicAngle and StemV was swapped . I think that this is FOP's BUG .</p>
</blockquote>


<h3>3.1.4 org.apache.fop.render.pdf.PDFRenderer</h3>
<blockquote>
<p>The renderInlineArea() method is updated . The code of Type0 font ( CIDFont ) is added . The UTF-8 strings is encoded to by specified file encoding in CIDFont . If the CIDType in CIDFont is CIDFontType2 , encoded string is written because it's code poing is TrueType .</p>

<p>If the CIDType in CIDFont is CIDFontType0 , that cocoded strings is mapped to Adobe Type1 by CMap . When the font-style attribute in FO is specified Italic , Tm is written in PDF File . And/or if the font-weigth attribute is BOLD , TD is used .</p>
</blockquote>


<h3>3.1.5 org.apache.fop.render.pdf.FontSetup</h3>
<blockquote>
<p>The setup() method is updated . I added the japanese font informations .</p>
</blockquote>


<br><br>
<h2>3.2 Added classes and interfaces</h2>

<p>This patch have updated following classes or interfaces .</p>
<blockquote><dl>
<dt>org.apache.fop.layout.OptionalFontDescriptor</dt>
<dt>org.apache.fop.pdf.PDFCIDFont</dt>
<dt>org.apache.fop.pdf.PDFOptionalFontDescriptor</dt>
<dt>org.apache.fop.pdf.PDFFontType0</dt>
<dt>org.apache.fop.render.pdf.CIDFont</dt>
<dt>org.apache.fop.render.pdf.CMap</dt>
</dl></blockquote>


<h3>3.2.1 org.apache.fop.layout.OptionalFontDescriptor</h3>
<blockquote>
<p>This interface is a FontDescriptor with optional attributes . For more details of FontDescriptor , see <i>PDF1.3 Reference Manual</i> [<a href="#references_1">1</a>] 7.11 Font descriptors page on 222 .</p>
</blockquote>


<h3>3.2.2 org.apache.fop.pdf.PDFCIDFont</h3>
<blockquote>
<p>This class is a CIDFont in a PDF file . For more details of CIDFont , see <i>PDF1.3 Reference Manual</i> [<a href="#references_1">1</a>] 7.8 CIDFonts page on 210 and <i>Adobe CMap and CID Font Files Specification Version 1.0</i> [<a href="#references_2">2</a>] .</p>
</blockquote>


<h3>3.2.3 org.apache.fop.pdf.PDFOptionalFontDescriptor</h3>
<blockquote>
<p>This class is a FontDescriptor with optional attributes in a PDF file .</p>
</blockquote>


<h3>3.2.4 org.apache.fop.pdf.PDFFontType0</h3>
<blockquote>
<p>This class is a Type0 Font in a PDF file . For more details of Type0 Font , see <i>PDF1.3 Reference Manual</i> [<a href="#references_1">1</a>] 7.7.7 Type0 Fonts page on 207 .</p>
</blockquote>


<h3>3.2.5 org.apache.fop.render.pdf.CIDFont</h3>
<blockquote>
<p>This abstract class represents a CIDFont .</p>
</blockquote>


<h3>3.2.6 org.apache.fop.render.pdf.CIDFontWidthsEntry</h3>
<blockquote>
<p>This class is an entry of Width in a CIDFont . In CIDFonts , following two formats is used to specify the width of glyphs:</p>
<ul>
<li>C [ W1 W2 ... Wn ]</li>
<li>C<sub>first</sub> C<sub>last</sub> W</li>
</ul>
<p>For more details of the width of CIDFont , see <i>PDF1.3 Reference Manual</i> [<a href="#references_1">1</a>] 7.8.3 Character widths in CIDFonts page on 213 .</p>
</blockquote>
</blockquote>


<h3>3.2.7 org.apache.fop.render.pdf.CMap</h3>
<blockquote>
<p>The CMap classes must implement this interface . The mapping() methods in the implemtend classes maps code points to a font number . For more details of Japanese CMaps , see <i>Adobe CMap and CID Font Files Specification Version 1.0</i> [<a href="#references_2">2</a>] and <i>Adobe-Japan1-4 Character Collection for CID-Keyed Fonts</i> [<a href="#references_3">3</a>] .</p>
</blockquote>

<h3>3.2.8 org.apache.fop.render.pdf.Widths</h3>
<blockquote>
<p>This class is Width . This class can use Type1 , TruType , etc. , too .</p>
</blockquote>


<br><br>
<h2>3.3 codegens</h2>

<p>This patch automatically generates the following codes .</p>
<blockquote><dl>
<dt>org.apache.fop.render.pdf.cmap._90ms_RKSJ_H</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.GothicBBBMedium</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSGothic</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSGothicAlias</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSGothicBold</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSGothicBoldAlias</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSGothicBoldItalic</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSGothicBoldItalicAlias</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSGothicItalic</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSGothicItalicAlias</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSMincho</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSMinchoAlias</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSMinchoBold</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSMinchoBoldAlias</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSMinchoBoldItalic</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSMinchoBoldItalicAlias</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSMinchoItalic</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSMinchoItalicAlias</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.Osaka</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.RyuminLight</dt>
</dl></blockquote>


<br><br><br>
<h1>4. Known problems</h1>

<p>In this section , I write the known problems for this pathc . If you want to know about FOP's problems , see fop-dev@xml.apache.org and fop-cvs@xml.apache.org .</p>

<ul>
<li><b>Japanese in SVG</b>
<blockquote>
In svg namespace tags , Japanese can currently not use .
</blockquote></li>

<li><b>Hyphenations</b>
<blockquote>
The mixed line that contains Japanese and other words can't do hyphenations , if the last words in a line terminates a non-Japanese word . This is because there is no customs of hypenation in Japanese .
</blockquote></li>

<li><b>Unicode</b>
<blockquote>
The Type0 fonts can use ToUnicde to embedding Unicode code points in the PDF file ( see , <i>PDF1.3 Reference Manual</i> [<a href="#references_1">1</a>] Section 7.7 Fonts page on 199 and Section 7.10.1 ToUnicode CMaps page on 219 ) . This patch does not support this feature . I think that this is the problem for FOP other then this patch .
</blockquote></li>

<li><b>CMaps</b>
<blockquote>
The CMap informations can embed in PDF file ( see , <i>PDF1.3 Reference Manual</i> [<a href="#references_1">1</a>] Section 7.10 CMaps page on 117 ) . This patch does not support this feature .
</blockquote></li>

<li><b>Embedded Font</b>
<blockquote>
It is possible to embed font files in PDF file by specifing FontDescriptor ( see , <i>PDF1.3 Reference Manual</i> [<a href="#references_1">1</a>] Section 7.11 Font descriptors page on 223 ) . This patch does not support this feature . I think that this is the problem for FOP other then this patch .
</blockquote></li>

<li><b>Font Subsets</b>
<blockquote>
The value of the font's BaseFont key and the font descriptor's FontName key use the <i>pseudoUniqueTag+PostScriptName</i> format ( see , <i>PDF1.3 Reference Manual</i> [<a href="#references_1">1</a>] Section 7.7.4 Font Subsets page on 204 ) . This patch does not add six uppercase alphabetic characters to before PostScriptName .
</blockquote></li>
</ul>


<br><br><a name="references"><br></a>
<h1>5. References</h1>
<ol>
<a name="references_1"><li></a>Portable Document Format Reference Manual Version 1.3:<br>
<a href="http://partners.adobe.com/asn/developer/acrosdk/DOCS/PDFRef.pdf">http://partners.adobe.com/asn/developer/acrosdk/DOCS/PDFRef.pdf</a></li>
<a name="references_2"><li></a>Adobe CMap and CID Font Files Specification Version 1.0:<br>
<a href="http://partners.adobe.com/asn/developer/PDFS/TN/5014.CMap_CIDFont_Spec.pdf">http://partners.adobe.com/asn/developer/PDFS/TN/5014.CMap_CIDFont_Spec.pdf</a></li>
<a name="references_3"><li></a>Adobe-Japan1-4 Character Collection for CID-Keyed Fonts:<br>
<a href="http://partners.adobe.com/asn/developer/PDFS/TN/5078.Adobe-Japan1-4.pdf">http://partners.adobe.com/asn/developer/PDFS/TN/5078.Adobe-Japan1-4.pdf</a></li>
<a name="references_4"><li></a>Adobe Font Metrics File Format Specification Version 4.1:<br>
<a href="http://partners.adobe.com/asn/developer/PDFS/TN/5004.AFM_Spec.pdf">http://partners.adobe.com/asn/developer/PDFS/TN/5004.AFM_Spec.pdf</a></li>
</ol>

</body>
</html>

+ 0
- 292
jpfop-0.17.0/readme_jp.html Прегледај датотеку

@@ -1,292 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-2022-jp">
<title>FOP-0.16.0 $BF|K\8l2=%Q%C%A(B</title>
</head>

<body>
<h1>FOP-0.16.0 $BF|K\8l2=%Q%C%A(B</h1>



<br><br><br>
<h1>1. $B$O$8$a$K(B</h1>
<p>$BK\%Q%C%A$O!"(B<a href="http://xml.apache.org/fop">http://xml.apache.org/fop</a> $B$,Ds6!$7$F$$$k(B FOP-0.16.0 $B$GF|K\8l(B ( Type0 $B%U%)%s%H(B ) $B$rI=<(2DG=$K$9$k$?$a$N%Q%C%A$G$9!#K\%Q%C%A$K$h$j!"0J2<$N%U%!%_%j%U%)%s%HL>$,;HMQ2DG=$H$J$j$^$9!#(B</p>
<ul>
<li>$B#M#SL@D+(B or MS-Mincho</li>
<li>$B#M#S%4%7%C%/(B or MS-Gothic</li>
<li>Ryumin-Light</li>
<li>GothicBBB-Medium</li>
<li>Osaka</li>
</ul>
<p>$BK\%Q%C%A$O!"0J2<$N4D6-$G%3%s%Q%$%k$H(B PDF $B:n@.$NF0:n3NG'$r$7$F$*$j$^$9!#(B</p>
<ul>
<li>WindowsNT4.0+SP6a ( $BF|K\8lHG(B ) , SUN J2SE,v1.3.0_01</li>
<li>Solaris2.6 , SUN J2SE,v1.3.0</li>
</ul>

<p><b>$BCm0U!'(B</b>$BK\%Q%C%A$O!"9q:]2=BP1~HG(B JDK $B$G$J$1$l$P!"@5$7$/<B9T$9$k;v$,$G$-$J$$$+$b$7$l$^$;$s!#$^$?!"F|K\8l%U%)%s%HI=<(2DG=$J%^%7%s4D6-$G$J$1$l$P!"K\%Q%C%A$G@8@.$5$l$?(B PDF $B%U%!%$%k$r@5$7$/I=<($G$-$J$$$+$b$7$l$^$;$s!#(B</p>

<br><br><br>
<h1>2. $B%$%s%9%H!<%k(B</h1>

<ol>
<li><a href="http://xml.apache.org/dist/fop/">http://xml.apache.org/dist/fop/</a> $B$h$j(B <a href="http://xml.apache.org/dist/fop/fop-0_16_0.zip">fop-0_16_0.zip</a> ( or <a href="http://xml.apache.org/dist/fop/fop-0_16_0.tar.gz">fop-0_16_0.tar.gz</a> ) $B$r%@%&%s%m!<%I(B</li>
<li>fop-0_16_0.zip ( or .tar.gz ) $B$r2rE`(B</li>
<li><a href="http://www.sourceforge.net/projects/jpfop/">http://www.sourceforge.net/projects/jpfop/</a> $B$h$j(B jpfop_0_16_0.zip ( or jpfop_0_16_0.tar.gz ) $B$r%@%&%s%m!<%I(B</li>
<li>fop-0_16_0 $B%G%#%l%/%H%jG[2<$K(B jpfop_0_16_0.zip ( or .tar.gz ) $B$r2rE`(B</li>
<li><a href="http://xml.apache.org/dist/xalan-j/">http://xml.apache.org/dist/xalan-j/</a> $B$h$j(B <a href="http://xml.apache.org/dist/xalan-j/xalan-j_1_2_2.zip">xalan-j_1_2_2.zip</a> ( or <a href="http://xml.apache.org/dist/xalan-j/xalan-j_1_2_2.zip">xalan-j_1_2_2.tar.gz</a> ) $B$r%@%&%s%m!<%I(B
<li>xalan-j_1_2_2.zip ( or .tar.gz ) $BFb$N(B xerces.jar$B!"(Bxalan.jar$B!"(Bbsf.jar $B$r%/%i%9%Q%9$K4^$a$k!#(B
<dl><dl><dt>$BK\%Q%C%A$G$O!"4J0WE*$K!"(Bxerces.jar$B!"(Bxalan.jar$B!"(Bbsf.jar $B$r(B fop-0_16_0/lib $B%G%#%l%/%H%j$K%3%T!<$9$k$3$H$K$h$j!"<+F0E*$K$3$l$i(B jar $B%U%!%$%k$,%/%i%9%Q%9$K4^$^$l$^$9!#$b$7!"$=$l0J30$N>l=j$K(B jar $B%U%!%$%k$,$"$k>l9g$K$O!"(Bbuild-jpfop.bat $BFb$NJQ?t(B XERCES$B!"(BXALAN$B!"(BBSF $B$K(B jar $B%U%!%$%k$N>l=j$r;XDj$7$F2<$5$$!#(B</dt></dl></dl></li>
<li><dl>
<dt>$B%3%^%s%I%i%$%s$h$j(B</dt>
<dd>&gt; cd fop-0_16_0</dd>
<dd>&gt; build-jpfop ( or ./build-jpfop.sh )</dd>
<dt>$B$r<B9T!#(B</dt>
</dl></li>
<li><b>BUILD SUCCESSED</b> $B$HI=<($5$l$l$P!"F|K\8lBP1~HG(B fop-0.16.0-jp.jar $B40@.(B</li>
<li><dl>
<dt>$BB3$1$F!"%3%^%s%I%i%$%s$h$j(B</dt>
<dd>&gt; cd jpfop</dd>
<dd>&gt; makesample_jpfop ( or ./makesample_jpfop.sh )</dd>
<dt>$B$H<B9T$9$k$3$H$K$h$j!"F|K\8lBP1~HG(B FOP $B$K$h$j!"(Bsample_jpfop.pdf $B$,@8@.(B</dt>
</dl></li>
</ol>
<center>
<p><img src="./images/jppdf.gif" border="3"></p>
<b>$B?^!%(Bsample_jpfop.pdf</b>
</center>

<p><b>$BCm0U!'(B</b>$BK\%Q%C%A$O!"F|K\8l%U%)%s%H$7$+Ds6!$7$F$$$^$;$s$,!"4Z9q8l!"Cf9q8l$X$N3HD%$bMF0W$K=PMh$k$O$:$G$9!#$b$7!"K\%Q%C%A$,Ds6!$7$F$$$k0J30$N%U%)%s%H$r;HMQ$7$?$$>l9g!"(Bfop-0_16_0/src/codegen/cidfont $B$d(B fop-0_16_0/src/codegen/cmp $BG[2<$K>pJs$r:n@.$7!"(BFontSetup.java $B$H(B build-jpfop.xml $B$K$=$N>pJs$rDI2C$7$F2<$5$$!#(B</p>

<br><br><br>
<h2>3.1 $BF|K\?M3+H/<T$NJ}$X(B</h2>
<p>$B6/@)$G$O$"$j$^$;$s$,!"0J2<$K$D$$$F!"(B<a href="mailto:jpfop-develop@lists.sourceforge.net">jpfop-develop@lists.sourceforge.net</a> $B$XJs9p$r$7$F$$$?$@$1$k$HHs>o$K=u$+$j$^$9!#K\%a!<%j%s%0%j%9%H$N>\:Y$O!"(B<a href="http://lists.sourceforge.net/lists/listinfo/jpfop-develop">http://lists.sourceforge.net/lists/listinfo/jpfop-develop</a> $B$r;2>H$7$F2<$5$$!#(B</p>
<dl>
<dt><b>$B%3%s%Q%$%k$K$D$$$F(B</b></dt>
<dd>$B$"$J$?$N4D6-(B ( OS , JDK $B$J$I(B ) $B$G!"K\%Q%C%A$rMQ$$$F(B fop-0.16.0-jp.jar $B$,:n@.$G$-$?$+H]$+!#FC$K!"(BLinux$B!"(BBSD$B!"(BMachintosh$B!"(BHP-UX $BEy$N4D6-$G$NJs9p$OHs>o$K=u$+$j$^$9!#:n@.$G$-$J$+$C$?>l9g!"H/@8Nc30$bJs9p$7$F$$$?$@$1$k$H=u$+$j$^$9!#(B</dd>
<dt><br></dt>
<dt><b>$B<B9T$K$D$$$F(B</b></dt>
<dd>$B$"$J$?$N4D6-$GF|K\8l(B PDF $B$r:n@.$7$?:]!"LdBj$,$"$k$+H]$+!#K\%Q%C%A$O!"MM!9$J4D6-$G$N%F%9%H$,IT==J,$J$?$a!"$"$J$?$N4D6-$G$OLdBj$,$"$k$+$b$7$l$^$;$s!#Nc$($P!"(BWindows $B$H(B Machintosh $B$G$O!"%7%U%H(B JIS $B$N(B 0x8740 $BIU6a$N%3!<%I%]%$%s%H$,0[$J$C$F$$$^$9!#(B
<blockquote><img src="./images/cp8740.gif"></blockquote>
$B$3$l$i$NJ8;z$r;HMQ$7$?:]!"J8;z2=$1Ey$NLdBj$,$"$k$+$b$7$l$^$;$s!#$7$+$7!";d$N<j85$K(B Machintosh $B4D6-$,$J$$$?$a!"$3$l$i$N3NG'$r9T$&$3$H$,$G$-$F$$$^$;$s!#(B</dd>
<dt><br></dt>
<dt><b>$B1\Mw$K$D$$$F(B</b></dt>
<dd>$BK\%Q%C%A$N1\Mw$O!"8=:_!"(BWindows $BMQ(B Adobe Acrobat Reader 4.0/4.05a $B$G$N$_$7$+9T$C$F$$$^$;$s!#(BMachintosh $BMQ(B Acrobat Reader $B$d(B UNIX $BMQ(B Acrobat Reader ( acroread ) $B$G$N1\Mw$,@5>o$K9T$o$l$k$+$rJs9p$7$FD:$1$k$HHs>o$K=u$+$j$^$9!#$^$?!"LdBjJs9p$N:]$K$I$N%W%i%C%H%U%)!<%`$G:n@.$7$?(B PDF $B$r1\Mw=PMh$J$+$C$?$N$+$b=q$$$F$$$?$@$1$k$H=u$+$j$^$9!#(B</dd></dl>

<br><br><br>
<h1>3. $B%=!<%9(B</h1>

<h2>3.1 $B=$@5$7$?%/%i%9(B</h2>

<p>$BK\%Q%C%A$G$O!"(Bfop-0.16.0 $B$N0J2<$N%/%i%9$r=$@5$7$F$$$^$9!#(B</p>
<blockquote><dl>
<dt>org.apache.fop.layout.LineArea</dt>
<dt>org.apache.fop.pdf.PDFFontDescriptor</dt>
<dt>org.apache.fop.pdf.PDFDocument</dt>
<dt>org.apache.fop.render.pdf.PDFRenderer</dt>
<dt>org.apache.fop.render.pdf.FontSetup</dt>
</dl></blockquote>


<h3>3.1.1 org.apache.fop.layout.LineArea</h3>
<blockquote>
<p>$B=$@5$7$?$N$O(B addText() $B%a%=%C%I$G$9!#F|K\8l$O(B 2 $B%P%$%HJ8;z$J$N$G!"HO0O$O(B 0 $B$+$i(B 65535 $B$G$9!#=>Mh!"(B127 $B0J>e$NCM$r$H$kJ8;z$,$"$C$?>l9g!"<+F0E*$K(B &quot;#&quot; $B$KJQ49$7$F$$$?$N$G!"$=$N%3!<%I$r%3%a%s%H%"%&%H$7$^$7$?!#(B</p>
<p>$B$^$?!"=>Mh!"C18l$4$H$K2~9T$NH=Dj$r9T$C$F$$$^$7$?$,!"F|K\8l$G$OC18l$rH>3Q%9%Z!<%9$G6h@Z$i$J$$$?$a!"@5$7$/2~9T$,9T$o$l$^$;$s$G$7$?!#$=$N$?$a!"F|K\8l$N>l9g!"(B1 $B9T$KI=<($G$-$kJ8;z?t$r%*!<%P!<$7$?:]$K2~9T$9$k%3!<%I$rDI2C$7$^$7$?!#(B</p>
</blockquote>


<h3>3.1.2 org.apache.fop.pdf.PDFFontDescriptor</h3>
<blockquote>
<p>$B=$@5$7$?$N$O(B toPDF() $B%a%=%C%I$G$9!#(BRectangle.toPDF() $B$NLa$jCM$O!"(Bbyte[] $B$J$N$G!"4{B8$N%3!<%I$G$O(B Rectangle $B$KG[Ns$r@5$7$/I=<($7$F$$$J$$!#$3$l$O!"$*$=$i$/(B toPDF() $B%a%=%C%I$N(B BUG $B$G$7$g$&!#(B</p>
<dl>
<dt>$B=$@5A0!'(B</dt>
<dd><code>
p.append("\n/FontBBox "); p.append(fontBBox.toPDF());
</code></dd>
<dt>$B=$@58e!'(B</dt>
<dd><code>
p.append("\n/FontBBox "); p.append(new String(fontBBox.toPDF()));
</code></dd>
</dl>
</blockquote>


<h3>3.1.3 org.apache.fop.pdf.PDFDocument</h3>
<blockquote>
<p>$B=$@5$7$?$N$O(B makeFont() $B%a%=%C%I$H(B makeFontDescriptor() $B%a%=%C%I$G$9!#(B</p>

<p><b>makeFont() $B%a%=%C%I(B : </b>FontDescriptor $B$,;XDj$5$l$F$$$J$$:]!"(BCIDFont $B$J$N$+H=Dj$7!"(BCIDFont $B$N>l9g!"(BType0 $B%U%)%s%H$HG'<1$9$k$h$&$K=$@5$7$^$7$?!#(B</p>

<p><b>makeFontDescriptor() $B%a%=%C%I(B : </b>$B%*%W%7%g%s$NB0@-$rDs6!$7$?(B OptionalFontDescriptor $B%/%i%9$,0z?t$GEO$5$l$?>l9g$H$=$&$G$J$$>l9g$N=hM}$rJ,$1$^$7$?!#$^$?!"(BPDFFontDescriptor $B%*%V%8%'%/%H$r%$%s%9%?%s%92=$9$k:]!"(BItalicAngle $B$H(B StemV $B$N0LCV$,5U$K$J$C$F$$$^$7$?!#$3$l$O!"$*$=$i$/(B BUG $B$G$7$g$&!#(B</p>
</blockquote>


<h3>3.1.4 org.apache.fop.render.pdf.PDFRenderer</h3>
<blockquote>
<p>$B=$@5$7$?$N$O(B renderInlineArea() $B%a%=%C%I$G$9!#(BType0 $B%U%)%s%H(B ( CIDFont ) $B$N>l9g$N=hM}$rDI2C$7$^$7$?!#$^$:!"(BUTF-8 $B$NJ8;zNs$r(B CIDFont $B$G;XDj$7$?%(%s%3!<%G%#%s%0$GJQ49$7$^$9!#(BCIDFontType2 $B$N>l9g!"%3!<%I%]%$%s%H$O(B TrueType $B$J$N$G$=$N$^$^=q$-=P$7$^$9!#(B</p>

<p>CIDFontType0 $B$N>l9g!"%3!<%I%]%$%s%H$O(B Adobe Type1 $B$J$N$G!"(BCIDFont $B$G;XDj$7$?(B CMap $B$K4p$E$$$F%^%C%T%s%0$r9T$$$^$9!#$=$7$F!"(BItalic $B$N>l9g!"J8;z$r<P$a$K$7$^$9!#(BBOLD $B$N>l9g!"0LCV$r$:$i$7$J$,$i(B 4 $B2s=q$/=hM}$r$7$^$9!#(B</p>
</blockquote>


<h3>3.1.5 org.apache.fop.render.pdf.FontSetup</h3>
<blockquote>
<p>$B=$@5$7$?$N$O(B setup() $B%a%=%C%I$G$9!#F|K\8l(B Font $B$rDI2C$7$^$7$?!#(B</p>
</blockquote>


<br><br>
<h2>3.2 $B?75,$KDI2C$5$l$k%/%i%9$H%$%s%?%U%'%$%9(B</h2>

<p>$BK\%Q%C%A$G$O!"(Bfop-0.16.0 $B$KBP$7$F0J2<$N%/%i%9$H%$%s%?%U%'%$%9$r?75,$KDI2C$7$^$9!#(B</p>
<blockquote><dl>
<dt>org.apache.fop.layout.OptionalFontDescriptor</dt>
<dt>org.apache.fop.pdf.PDFCIDFont</dt>
<dt>org.apache.fop.pdf.PDFOptionalFontDescriptor</dt>
<dt>org.apache.fop.pdf.PDFFontType0</dt>
<dt>org.apache.fop.render.pdf.CIDFont</dt>
<dt>org.apache.fop.render.pdf.CMap</dt>
</dl></blockquote>


<h3>3.2.1 org.apache.fop.layout.OptionalFontDescriptor</h3>
<blockquote>
<p>$B%*%W%7%g%s$NB0@-$rDs6!$7$?(B FontDescriptor $B%$%s%?%U%'%$%9$G$9!#(BFontDescriptor $B$N>\:Y$K$D$$$F$O!"(BPDF1.3 Reference Manual [<a href="#references_1">1</a>] 7.11 Font descriptors p.222 $B$r;2>H$7$F2<$5$$!#(B</p>
</blockquote>


<h3>3.2.2 org.apache.fop.pdf.PDFCIDFont</h3>
<blockquote>
<p>PDF $BCf$N(B CIDFont $B%*%V%8%'%/%H$rI=$9%/%i%9$G$9!#(BCIDFont $B$N>\:Y$K$D$$$F$O!"(BPDF1.3 Reference Manual [<a href="#references_1">1</a>] 7.8 CIDFonts p.210 $B$d(B Adobe CMap and CID Font Files Specification Version 1.0 [<a href="#references_2">2</a>] $B$r;2>H$7$F2<$5$$!#(B</p>
</blockquote>


<h3>3.2.3 org.apache.fop.pdf.PDFOptionalFontDescriptor</h3>
<blockquote>
<p>PDF $BCf$N(B FontDescriptor $B$N%*%W%7%g%s$NB0@-$rI=$9%/%i%9$G$9!#(B</p>
</blockquote>


<h3>3.2.4 org.apache.fop.pdf.PDFFontType0</h3>
<blockquote>
<p>PDF $BCf$N(B Type0 $B%U%)%s%H$rI=$9%/%i%9$G$9!#(BType0 $B%U%)%s%H$N>\:Y$K$D$$$F$O!"(BPDF1.3 Reference Manual [<a href="#references_1">1</a>] 7.7.7 Type0 Fonts p.207 $B$r;2>H$7$F2<$5$$!#(B</p>
</blockquote>


<h3>3.2.5 org.apache.fop.render.pdf.CIDFont</h3>
<blockquote>
<p>CIDFont $B$rI=$9%/%i%9$G$9!#(B</p>
</blockquote>


<h3>3.2.6 org.apache.fop.render.pdf.CIDFontWidthsEntry</h3>
<blockquote>
<p>CIDFont $B$N(B Width $B$K4^$^$l$k%(%s%H%j$rI=$9%/%i%9$G$9!#(BCIDFont $B$G$O!"(B</p>
<ul>
<li>C [ W1 W2 ... Wn ]</li>
<li>C<sub>first</sub> C<sub>last</sub> W</li>
</ul>
<p>$B$N(B 2 $B<oN`$N%U%)!<%^%C%H$,$"$j$^$9!#>\:Y$O!"(BPDF1.3 Reference Manual [<a href="#references_1">1</a>] 7.8.3 Character widths in CIDFonts p.213 $B$r;2>H$7$F2<$5$$!#(B</p>
</blockquote>
</blockquote>


<h3>3.2.7 org.apache.fop.render.pdf.CMap</h3>
<blockquote>
<p>$B%3!<%I%]%$%s%H$rI=$9%$%s%?%U%'%$%9$G$9!#;XDj$5$l$?%3!<%I%]%$%s%H$r(B CMap $B$K=>$C$F%^%C%T%s%0$7$^$9!#F|K\8l$N(B Adobe $B%3!<%I%]%$%s%H$K$D$$$F$O!"(BAdobe-Japan1-4 Character Collection for CID-Keyed Fonts [<a href="#references_3">3</a>] $B$r;2>H$7$F2<$5$$!#(B</p>
</blockquote>

<h3>3.2.8 org.apache.fop.render.pdf.Widths</h3>
<blockquote>
<p>Width $BB0@-$rI=$9%/%i%9$G$9!#(B</p>
</blockquote>


<br><br>
<h2>3.3 $B?75,$K:n@.$5$l$k%/%i%9(B</h2>

<p>$BK\%Q%C%A$G$O!"(Bfop-0.16.0 $B$KBP$7$F!"(Bcodegen $B$rMxMQ$7$F0J2<$N%/%i%9$,(B XML $B%U%!%$%k$+$i<+F0E*$K@8@.$5$l$^$9!#(B</p>
<blockquote><dl>
<dt>org.apache.fop.render.pdf.cmap._90ms_RKSJ_H</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.GothicBBBMedium</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSGothic</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSGothicAlias</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSGothicBold</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSGothicBoldAlias</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSGothicBoldItalic</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSGothicBoldItalicAlias</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSGothicItalic</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSGothicItalicAlias</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSMincho</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSMinchoAlias</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSMinchoBold</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSMinchoBoldAlias</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSMinchoBoldItalic</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSMinchoBoldItalicAlias</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSMinchoItalic</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.MSMinchoItalicAlias</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.Osaka</dt>
<dt>org.apache.fop.render.pdf.fonts.jp.RyuminLight</dt>
</dl></blockquote>


<br><br><br>
<h1>4. $B4{CN$NF|K\8lBP1~%Q%C%A$NLdBj(B</h1>

<p>$BK\%I%-%e%a%s%H$G$O!"0lIt$r=|$-!"F|K\8lBP1~$K$*$1$k4{CN$NLdBj$N$_=q$+$l$F$$$^$9!#(BFOP $B$NLdBj$K$D$$$F$O!"(Bfop-dev@xml.apache.org $B$d(B fop-cvs@xml.apache.org $B$r;2>H$7$F2<$5$$!#(B</p>

<ul>
<li><b>SVG $B$G$NF|K\8l(B</b>
<blockquote>
$BK\%Q%C%A$G$O(B SVG $B$G$NF|K\8lI=<($r%5%]!<%H$7$F$$$^$;$s!#(B
</blockquote></li>

<li><b>$B%O%$%U%M!<%7%g%s(B</b>
<blockquote>
$BF|K\8l$HF|K\8l0J30$,4^$^$l$kJ8=q$G!"F|K\8l0J30$NC18l$,9T$N:G8e$GJ,3d$5$l$k:]!"%O%$%U%M!<%7%g%s$r;XDj$7$F$b%O%$%U%M!<%7%g%s$=$NC18l$,%O%$%U%M!<%7%g%s$5$l$^$;$s!#$3$l$O!"F|K\8lJ8=q$G$O%O%$%U%M!<%7%g%s$r;HMQ$7$J$$$+$i$G$9!#(B
</blockquote></li>

<li><b>Unicode $BL$%5%]!<%H(B</b>
<blockquote>
PDF1.3 Reference Manual [<a href="#references_1">1</a>] 7.7 Fonts p.199 $B$d(B 7.10.1 ToUnicode CMaps p.219 $B$K$h$k$H!"(BType0 $B%U%)%s%H$G$b(B ToUnicode $BB0@-$rMQ$$$k$3$H$K$h$jJ8;z%3!<%I$r(B Unicode $B$K%^%C%T%s%02DG=$H$J$C$F$$$^$9!#$7$+$7!"K\%Q%C%A$G$O$3$N5!G=$r%5%]!<%H$7$F$$$^$;$s!#$3$l$O!"F|K\8l2=%Q%C%A$H$$$&$h$j$b(B FOP $B$NLdBj$+$b$7$l$^$;$s!#(B
</blockquote></li>

<li><b>$BKd$a9~$_(B CMap $BL$%5%]!<%H(B</b>
<blockquote>
PDF1.3 Reference Manual [<a href="#references_1">1</a>] 7.10 CMaps p.117 $B$K$h$k$H!"(BPDF $BJ8=qFb$K(B CMap $B$N>pJs$rKd$a9~$`$3$H$,$G$-$^$9!#$7$+$7!"K\%Q%C%A$G$O(B CMap $B>pJs$r(B PDF $BJ8=qFb$KKd$a9~$`$3$H$O$G$-$^$;$s!#(B
</blockquote></li>

<li><b>$BKd$a9~$_%U%)%s%HL$%5%]!<%H(B</b>
<blockquote>
PDF1.3 Reference Manual [<a href="#references_1">1</a>] $B$N(B 7.11 Font descriptors p.223 $B$K$h$k$H!"(BFontDescriptor $B$G(B PDF $BJ8=qFb$K%U%)%s%H$rKd$a9~$`$3$H$,2DG=$H$J$C$F$$$^$9!#$7$+$7!"K\%Q%C%A$G$OF|K\8l%U%)%s%H$r(B PDF $BJ8=qFb$KKd$a9~$`$3$H$O$G$-$^$;$s!#$3$l$O!"F|K\8l2=%Q%C%A$H$$$&$h$j$b(B FOP $B$NLdBj$+$b$7$l$^$;$s!#(B
</blockquote></li>

<li><b>$B%U%)%s%H%5%V%;%C%HL$%5%]!<%H(B</b>
<blockquote>
PDF1.3 Reference Manual [<a href="#references_1">1</a>] $B$N(B 7.7.4 Font Subsets p.204 $B$K$h$k$H!"(BFont $B$N(B BaseFont $B$d(B FontDescriptor $B$N(B FontName $B$NCM$N7A<0$O!"(BPostscript $BA0$K%f%K!<%/$J(B 6 $BBgJ8;z$rIU$1$k$H$J$C$F$$$^$9!#$7$+$7!"K\%Q%C%A$G$O%f%K!<%/$J(B 6 $BBgJ8;z$,IU$-$^$;$s!#(B
</blockquote></li>

<li><b>$B2<@~(B</b>
<blockquote>
$BH>3Q%9%Z!<%9$G6h@Z$i$l$?J#?t$NC18l$K2<@~$r0z$/$H!"C18lKh$K2<@~$,ES@Z$l$F$7$^$7$^$9!#$3$l$O!"(BFOP $B$N%P%0$G$"$j!";~4|%P!<%8%g%s$G$O2~=$$5$l$^$9!#>\:Y$O!"(Bfop-dev@apache.org $B$r;2>H$7$F2<$5$$!#(B
</blockquote></li>
</ul>


<br><br><a name="references"><br></a>
<h1>5. $B%j%U%!%l%s%9(B</h1>
<ol>
<a name="references_1"><li></a>Portable Document Format Reference Manual Version 1.3$B!'(B<br>
<a href="http://partners.adobe.com/asn/developer/acrosdk/DOCS/PDFRef.pdf">http://partners.adobe.com/asn/developer/acrosdk/DOCS/PDFRef.pdf</a></li>
<a name="references_2"><li></a>Adobe CMap and CID Font Files Specification Version 1.0$B!'(B<br>
<a href="http://partners.adobe.com/asn/developer/PDFS/TN/5014.CMap_CIDFont_Spec.pdf">http://partners.adobe.com/asn/developer/PDFS/TN/5014.CMap_CIDFont_Spec.pdf</a></li>
<a name="references_3"><li></a>Adobe-Japan1-4 Character Collection for CID-Keyed Fonts$B!'(B<br>
<a href="http://partners.adobe.com/asn/developer/PDFS/TN/5078.Adobe-Japan1-4.pdf">http://partners.adobe.com/asn/developer/PDFS/TN/5078.Adobe-Japan1-4.pdf</a></li>
<a name="references_4"><li></a>Adobe Font Metrics File Format Specification Version 4.1:<br>
<a href="http://partners.adobe.com/asn/developer/PDFS/TN/5004.AFM_Spec.pdf">http://partners.adobe.com/asn/developer/PDFS/TN/5004.AFM_Spec.pdf</a></li>
</ol>

</body>
</html>

+ 0
- 251
jpfop-0.17.0/sample_jpfop.fo Прегледај датотеку

@@ -1,251 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/2000/svg">
<fo:layout-master-set>

<fo:simple-page-master master-name="first"
page-height="29.7cm"
page-width="21cm"
margin-top="0.5cm"
margin-bottom="0.5cm"
margin-left="2cm"
margin-right="2cm">
<fo:region-body margin-top="1cm"/>
<fo:region-before extent="1cm"/>
<fo:region-after extent="1cm"/>
</fo:simple-page-master>

<fo:page-sequence-master master-name="basicPSM" >
<fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference master-name="first"
page-position="first" />
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>

</fo:layout-master-set>


<fo:page-sequence master-name="basicPSM">

<!-- ページ番号 -->
<fo:static-content flow-name="xsl-region-before">
<fo:block text-align="end" font-size="8pt" line-height="10pt" font-family="Ryumin-Light">FOP-0.16.0 日本語化パッチ p. <fo:page-number/>
</fo:block>
</fo:static-content>

<!-- タイトル -->
<fo:flow flow-name="xsl-region-body">
<fo:block space-before.optimum="30pt" space-after.optimum="30pt">
<fo:instream-foreign-object>
<svg:svg width="400" height="30">
<svg:defs>
<svg:linearGradient id="Grad" x1="200" x2="250" y1="28" y2="2">
<svg:stop offset="0%" style="color:#00a000; opacity:100%"/>
<svg:stop offset="100%" style="color:#a00000; opacity:100%"/>
</svg:linearGradient>
</svg:defs>
<svg:text style="font-size: 24; font-family: Helvetica; font-weight: bold; fill:url(#Grad); stroke:#000000; stroke-width:1" x="150" y="28">JAPANIZED FOP</svg:text>
</svg:svg>
</fo:instream-foreign-object>
</fo:block>

<fo:block font-size="10pt" font-family="Ryumin-Light" line-height="12pt"
space-after.optimum="1pt" text-align="start" padding-top="1pt">本パッチは、Apache の FOP ( <fo:inline font-style="italic" font-family="Ryumin-Light"><fo:basic-link color="blue" external-destination="http://xml.apache.org/fop">http://xml.apache.org/fop</fo:basic-link></fo:inline> ) の日本語対応パッチです。本パッチは、FOP-0.16.0 に対して適用可能です。</fo:block>
<fo:block font-size="10pt" font-family="Ryumin-Light" line-height="12pt"
space-after.optimum="16pt" text-align="start" padding-top="1pt">日本語 PDF 作成に関して、ベンダのサポートを受けたい場合には、本パッチではなく、他の商用製品を使用するようにしましょう!</fo:block>


<fo:block font-size="12pt" font-family="Ryumin-Light" font-weight="bold"
line-height="16pt" color="white" background-color="blue"
text-align="center" space-after.optimum="16pt" padding-top="1pt">使用可能ファミリフォント名一覧</fo:block>

<fo:block font-size="10pt" font-family="MS明朝" line-height="20pt"
space-before.optimum="1pt" space-after.optimum="1pt"
text-align="start" padding-top="3pt"><fo:inline text-decoration="underline">MS明朝</fo:inline>or<fo:inline text-decoration="underline">MS-Mincho</fo:inline></fo:block>

<fo:list-block provisional-distance-between-starts="0.5cm"
provisional-label-separation="0.1cm" start-indent="1.5cm">
<fo:list-item>
<fo:list-item-label>
<fo:block font-family="MS明朝" font-size="10pt">・</fo:block>
</fo:list-item-label>
<fo:list-item-body><fo:block>
<fo:inline font-family="MS明朝" font-size="10pt">ファミリフォント MS明朝</fo:inline>
</fo:block></fo:list-item-body>
</fo:list-item>

<fo:list-item>
<fo:list-item-label>
<fo:block font-family="MS明朝" font-size="10pt">・</fo:block>
</fo:list-item-label>
<fo:list-item-body><fo:block>
<fo:inline font-family="MS-Mincho" font-weight="bold" font-size="10pt">ファミリフォント MS-Mincho で BOLD を指定</fo:inline>
</fo:block></fo:list-item-body>
</fo:list-item>

<fo:list-item>
<fo:list-item-label>
<fo:block font-family="MS明朝" font-size="10pt">・</fo:block>
</fo:list-item-label>
<fo:list-item-body><fo:block>
<fo:inline font-family="MS-Mincho" font-style="italic" font-size="10pt">ファミリフォント MS-Mincho でイタリックを指定</fo:inline>
</fo:block></fo:list-item-body>
</fo:list-item>

<fo:list-item>
<fo:list-item-label>
<fo:block font-family="MS明朝" font-size="10pt">・</fo:block>
</fo:list-item-label>
<fo:list-item-body><fo:block>
<fo:inline font-family="MS明朝" font-weight="bold" font-style="italic" font-size="10pt">ファミリフォント MS明朝 で BOLD とイタリックを指定</fo:inline>
</fo:block></fo:list-item-body>
</fo:list-item>
</fo:list-block>


<fo:block font-size="10pt" font-family="MSゴシック" line-height="20pt"
space-before.optimum="1pt" space-after.optimum="1pt"
text-align="start" padding-top="3pt"><fo:inline text-decoration="underline">MSゴシック</fo:inline>or<fo:inline text-decoration="underline">MS-Gothic</fo:inline></fo:block>

<fo:list-block provisional-distance-between-starts="0.5cm"
provisional-label-separation="0.1cm" start-indent="1.5cm">
<fo:list-item>
<fo:list-item-label>
<fo:block font-family="MSゴシック" font-size="10pt">・</fo:block>
</fo:list-item-label>
<fo:list-item-body><fo:block>
<fo:inline font-family="MSゴシック" font-size="10pt">ファミリフォント MSゴシック</fo:inline>
</fo:block></fo:list-item-body>
</fo:list-item>

<fo:list-item>
<fo:list-item-label>
<fo:block font-family="MSゴシック" font-size="10pt">・</fo:block>
</fo:list-item-label>
<fo:list-item-body><fo:block>
<fo:inline font-family="MS-Gothic" font-weight="bold" font-size="10pt">ファミリフォント MS-Gothic で BOLD を指定</fo:inline>
</fo:block></fo:list-item-body>
</fo:list-item>

<fo:list-item>
<fo:list-item-label>
<fo:block font-family="MSゴシック" font-size="10pt">・</fo:block>
</fo:list-item-label>
<fo:list-item-body><fo:block>
<fo:inline font-family="MS-Gothic" font-style="italic" font-size="10pt">ファミリフォント MS-Gothic でイタリックを指定</fo:inline>
</fo:block></fo:list-item-body>
</fo:list-item>

<fo:list-item>
<fo:list-item-label>
<fo:block font-family="MSゴシック" font-size="10pt">・</fo:block>
</fo:list-item-label>
<fo:list-item-body><fo:block>
<fo:inline font-family="MSゴシック" font-weight="bold" font-style="italic" font-size="10pt">ファミリフォント MSゴシック で BOLD とイタリックを指定</fo:inline>
</fo:block></fo:list-item-body>
</fo:list-item>
</fo:list-block>


<fo:block font-size="10pt" font-family="Ryumin-Light" line-height="20pt"
space-before.optimum="1pt" space-after.optimum="1pt"
text-align="start" padding-top="3pt"><fo:inline text-decoration="underline">Ryumin-Light</fo:inline> ( リュウミンL-KL )</fo:block>

<fo:list-block provisional-distance-between-starts="0.5cm"
provisional-label-separation="0.1cm" start-indent="1.5cm">
<fo:list-item>
<fo:list-item-label>
<fo:block font-family="Ryumin-Light" font-size="10pt">・</fo:block>
</fo:list-item-label>
<fo:list-item-body>
<fo:block font-family="Ryumin-Light" font-size="10pt">ファミリフォント Ryumin-Light</fo:block></fo:list-item-body>
</fo:list-item>

<fo:list-item>
<fo:list-item-label>
<fo:block font-family="Ryumin-Light" font-size="10pt">・</fo:block>
</fo:list-item-label>
<fo:list-item-body>
<fo:block font-family="Ryumin-Light" font-weight="bold" font-size="10pt">ファミリフォント Ryumin-Light で BOLD を指定</fo:block></fo:list-item-body>
</fo:list-item>

<fo:list-item>
<fo:list-item-label>
<fo:block font-family="Ryumin-Light" font-size="10pt">・</fo:block>
</fo:list-item-label>
<fo:list-item-body>
<fo:block font-family="Ryumin-Light" font-style="italic" font-size="10pt">ファミリフォント Ryumin-Light でイタリックを指定</fo:block></fo:list-item-body>
</fo:list-item>

<fo:list-item>
<fo:list-item-label>
<fo:block font-family="Ryumin-Light" font-size="10pt">・</fo:block>
</fo:list-item-label>
<fo:list-item-body>
<fo:block font-family="Ryumin-Light" font-weight="bold" font-style="italic" font-size="10pt">ファミリフォント Ryumin-Light で BOLD とイタリックを指定</fo:block></fo:list-item-body>
</fo:list-item>
</fo:list-block>


<fo:block font-size="10pt" font-family="GothicBBB-Medium" line-height="20pt"
space-before.optimum="1pt" space-after.optimum="1pt"
text-align="start" padding-top="3pt"><fo:inline text-decoration="underline">GothicBBB-Medium</fo:inline> ( 中ゴシックBBB )</fo:block>

<fo:list-block provisional-distance-between-starts="0.5cm"
provisional-label-separation="0.1cm" start-indent="1.5cm">
<fo:list-item>
<fo:list-item-label>
<fo:block font-family="GothicBBB-Medium" font-size="10pt">・</fo:block>
</fo:list-item-label>
<fo:list-item-body>
<fo:block font-family="GothicBBB-Medium" font-size="10pt">ファミリフォント GothicBBB-Medium</fo:block></fo:list-item-body>
</fo:list-item>

<fo:list-item>
<fo:list-item-label>
<fo:block font-family="GothicBBB-Medium" font-size="10pt">・</fo:block>
</fo:list-item-label>
<fo:list-item-body>
<fo:block font-family="GothicBBB-Medium" font-weight="bold" font-size="10pt">ファミリフォント GothicBBB-Medium で BOLD を指定</fo:block></fo:list-item-body>
</fo:list-item>

<fo:list-item>
<fo:list-item-label>
<fo:block font-family="GothicBBB-Medium" font-size="10pt">・</fo:block>
</fo:list-item-label>
<fo:list-item-body>
<fo:block font-family="GothicBBB-Medium" font-style="italic" font-size="10pt">ファミリフォント GothicBBB-Medium でイタリックを指定</fo:block></fo:list-item-body>
</fo:list-item>

<fo:list-item>
<fo:list-item-label>
<fo:block font-family="GothicBBB-Medium" font-size="10pt">・</fo:block>
</fo:list-item-label>
<fo:list-item-body>
<fo:block font-family="GothicBBB-Medium" font-weight="bold" font-style="italic" font-size="10pt">ファミリフォント GothicBBB-Medium で BOLD とイタリックを指定</fo:block></fo:list-item-body>
</fo:list-item>
</fo:list-block>


<fo:block font-size="10pt" font-family="Osaka" line-height="20pt"
space-before.optimum="1pt" space-after.optimum="16pt"
text-align="start" padding-top="3pt"><fo:inline text-decoration="underline">Osaka</fo:inline></fo:block>



<fo:block font-size="12pt" font-family="Ryumin-Light" font-weight="bold"
line-height="16pt" color="white" background-color="blue"
text-align="center" space-after.optimum="16pt" padding-top="1pt">ファミリフォント名による動作の違い</fo:block>

<fo:block font-size="10pt" font-family="Ryumin-Light" line-height="12pt"
space-after.optimum="10pt" text-align="start" padding-top="1pt">ファミリフォントに、MS明朝 ( or MS-Mincho )、MSゴシック ( or MS-Gothic )、Osaka を指定した場合、CMap に基づく変換を行わないません。そのため、PDF ファイルに対してシフト JIS で日本語を書き込みます。</fo:block>

<fo:block font-size="10pt" font-family="Ryumin-Light" line-height="12pt"
space-after.optimum="10pt" text-align="start" padding-top="1pt">ファミリフォントに、Ryumin-Light、GothicBBB-Medium を指定した場合、CMap に基づく変換を行います。そのため、MS明朝やMSゴシックを指定する場合よりも処理時間が長くなりますが、PDF ファイルに対して CIDFont で日本語を書き込みます。</fo:block>

<fo:block font-size="10pt" font-family="Ryumin-Light" line-height="12pt"
space-after.optimum="10pt" text-align="start" padding-top="1pt">なお、本パッチでは、PDF ファイルに対するフォントの埋め込み機能は提供していません。</fo:block>

</fo:flow>

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

Loading…
Откажи
Сачувај