JerrySieHsiung created ODFTOOLKIT-421:
-----------------------------------------
Summary: Chinese Word Can't set font
Key: ODFTOOLKIT-421
URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-421
Project: ODF Toolkit
Issue Type: Bug
Components: simple api
Environment: win7,Jdk 1.6, simple-odf-0.8.1-incubating.jar
Reporter: JerrySieHsiung
Priority: Minor
I use two Paragraph , set the word "English" and "中文字", and set their font.
the fontFamilyName,simpleFontStyle,fontSize of "中文字" is no use
[code]
Font kaiu = new Font("標楷體", FontStyle.BOLD, 14, Color.BLUE);
Paragraph p1= doc.addParagraph("English");
p1.setFont(kaiu);
Paragraph p11= doc.addParagraph("中文字");
p11.setFont(kaiu);
[/code]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)