[jboss-cvs] jboss-seam/examples/itext/view ...
Norman Richards
norman.richards at jboss.com
Tue Jul 10 20:26:46 EDT 2007
User: nrichards
Date: 07/07/10 20:26:45
Modified: examples/itext/view font.xhtml
Log:
add example for encoding
Revision Changes Path
1.2 +21 -4 jboss-seam/examples/itext/view/font.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: font.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/itext/view/font.xhtml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- font.xhtml 13 Jun 2007 21:19:03 -0000 1.1
+++ font.xhtml 11 Jul 2007 00:26:45 -0000 1.2
@@ -1,6 +1,5 @@
<p:document xmlns:p="http://jboss.com/products/seam/pdf">
-
- <p:font family="courier">
+ <p:font name="courier">
<p:font size="24"><p:paragraph>Courier</p:paragraph></p:font>
<p:paragraph>abcdefghijklmnopqrstuvwxyz</p:paragraph>
<p:paragraph>ABCDEFGHIJKLMNOPQRSTUVWXYZ</p:paragraph>
@@ -16,7 +15,7 @@
</p:font>
- <p:font family="helvetica">
+ <p:font name="helvetica">
<p:font size="24"><p:paragraph>Helvetica</p:paragraph></p:font>
<p:paragraph>abcdefghijklmnopqrstuvwxyz</p:paragraph>
<p:paragraph>ABCDEFGHIJKLMNOPQRSTUVWXYZ</p:paragraph>
@@ -31,7 +30,7 @@
</p:list>
</p:font>
- <p:font family="times-roman">
+ <p:font name="times-roman">
<p:font size="24"><p:paragraph>Times Roman</p:paragraph></p:font>
<p:paragraph>abcdefghijklmnopqrstuvwxyz</p:paragraph>
<p:paragraph>ABCDEFGHIJKLMNOPQRSTUVWXYZ</p:paragraph>
@@ -48,4 +47,22 @@
</p:font>
+
+ <p:font size="24"><p:paragraph>International</p:paragraph></p:font>
+ <p:list>
+ <p:listItem>
+ <p:font name="STSong-Light" encoding="UniGB-UCS2-H">Chinese: #{phrases.chinese}</p:font>
+ </p:listItem>
+ <p:listItem>
+ </p:listItem>
+ <p:listItem>
+ <p:font name="KozMinPro-Regular" encoding="UniJIS-UCS2-H">Japanese: #{phrases.japanese}</p:font>
+ </p:listItem>
+ <p:listItem>
+ <p:font name="HYGoThic-Medium" encoding="UniKS-UCS2-H">Korean: #{phrases.korean}</p:font>
+ </p:listItem>
+ </p:list>
+
+
+
</p:document>
More information about the jboss-cvs-commits
mailing list