public class AsianFontMapper extends DefaultFontMapper
DefaultFontMapper.BaseFontParameters
Modifier and Type | Field and Description |
---|---|
static String |
ChineseSimplifiedEncoding_H |
static String |
ChineseSimplifiedEncoding_V |
static String |
ChineseSimplifiedFont |
static String |
ChineseTraditionalEncoding_H |
static String |
ChineseTraditionalEncoding_V |
static String |
ChineseTraditionalFont_MHei |
static String |
ChineseTraditionalFont_MSung |
static String |
JapaneseEncoding_H |
static String |
JapaneseEncoding_HW_H |
static String |
JapaneseEncoding_HW_V |
static String |
JapaneseEncoding_V |
static String |
JapaneseFont_Go |
static String |
JapaneseFont_Min |
static String |
KoreanEncoding_H |
static String |
KoreanEncoding_V |
static String |
KoreanFont_GoThic |
static String |
KoreanFont_SMyeongJo |
Constructor and Description |
---|
AsianFontMapper(String font, String encoding) |
Modifier and Type | Method and Description |
---|---|
BaseFont |
awtToPdf(Font font)
Returns a BaseFont which can be used to represent the given AWT Font
|
getAliases, getBaseFontParameters, getMapper, insertDirectory, insertFile, insertNames, pdfToAwt, putAlias, putName
public static final String ChineseSimplifiedFont
public static final String ChineseSimplifiedEncoding_H
public static final String ChineseSimplifiedEncoding_V
public static final String ChineseTraditionalFont_MHei
public static final String ChineseTraditionalFont_MSung
public static final String ChineseTraditionalEncoding_H
public static final String ChineseTraditionalEncoding_V
public static final String JapaneseFont_Go
public static final String JapaneseFont_Min
public static final String JapaneseEncoding_H
public static final String JapaneseEncoding_V
public static final String JapaneseEncoding_HW_H
public static final String JapaneseEncoding_HW_V
public static final String KoreanFont_GoThic
public static final String KoreanFont_SMyeongJo
public static final String KoreanEncoding_H
public static final String KoreanEncoding_V
public BaseFont awtToPdf(Font font)
DefaultFontMapper
awtToPdf
in interface FontMapper
awtToPdf
in class DefaultFontMapper
font
- the font to be converted
Copyright © 2016. All rights reserved.