Uploaded image for project: 'ODF Toolkit'
  1. ODF Toolkit
  2. ODFTOOLKIT-421

Chinese Word Can't set font

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.6.2-incubating
    • simple api
    • None
    • win7,Jdk 1.6, simple-odf-0.8.1-incubating.jar

    Description

      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]

      Attachments

        Activity

          People

            svanteschubert Svante Schubert
            jerrySie JerrySieHsiung
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: