Class CJKToEnglish

java.lang.Object
org.docx4j.fonts.CJKToEnglish

public class CJKToEnglish extends Object
Certain fonts have CJK names in a docx. However, in Win 7 (English locale at least), the font names are in English. So this class translates the docx CJK font name to a physical font name.
Author:
jharrop
  • Constructor Details

    • CJKToEnglish

      public CJKToEnglish()
  • Method Details

    • toEnglish

      public static String toEnglish(String fontName)
      Convert a CJK font name (as used in docx) to an English font name (as used on Win 7, English locale at least).
      Parameters:
      fontName -
      Returns: