| java.lang.Object org.apache.batik.svggen.font.SVGFont
Method Summary | |
protected static String | encodeEntities(String s) | protected static String | getContourAsSVGPathData(Glyph glyph, int startIndex, int count) | protected static String | getGlyphAsSVG(Font font, Glyph glyph, int glyphIndex, int defaultHorizAdvanceX, String attrib, String code) | protected static String | getGlyphAsSVG(Font font, Glyph glyph, int glyphIndex, int defaultHorizAdvanceX, SingleSubst arabInitSubst, SingleSubst arabMediSubst, SingleSubst arabTermSubst, String code) | protected static String | getKerningPairAsSVG(KerningPair kp, PostTable post) | protected static String | getSVGFontFaceElement(Font font) | public static void | main(String[] args) Starts the application. | protected static void | writeFontAsSVGFragment(PrintStream ps, Font font, String id, int first, int last, boolean autoRange, boolean forceAscii) Returns a <font>...</font> block,
defining the specified font. | protected static void | writeSvgBegin(PrintStream ps) | protected static void | writeSvgDefsBegin(PrintStream ps) | protected static void | writeSvgDefsEnd(PrintStream ps) | protected static void | writeSvgEnd(PrintStream ps) | protected static void | writeSvgTestCard(PrintStream ps, String fontFamily) |
ARG_KEY_AUTO_RANGE | final public static String ARG_KEY_AUTO_RANGE(Code) | | |
ARG_KEY_CHAR_RANGE_HIGH | final public static String ARG_KEY_CHAR_RANGE_HIGH(Code) | | |
ARG_KEY_CHAR_RANGE_LOW | final public static String ARG_KEY_CHAR_RANGE_LOW(Code) | | |
ARG_KEY_OUTPUT_PATH | final public static String ARG_KEY_OUTPUT_PATH(Code) | | |
ARG_KEY_START_CHAR | final public static char ARG_KEY_START_CHAR(Code) | | |
ARG_KEY_TESTCARD | final public static String ARG_KEY_TESTCARD(Code) | | |
DEFAULT_FIRST | final static int DEFAULT_FIRST(Code) | | |
DEFAULT_LAST | final static int DEFAULT_LAST(Code) | | |
PROPERTY_LINE_SEPARATOR | final static String PROPERTY_LINE_SEPARATOR(Code) | | |
PROPERTY_LINE_SEPARATOR_DEFAULT | final static String PROPERTY_LINE_SEPARATOR_DEFAULT(Code) | | |
getContourAsSVGPathData | protected static String getContourAsSVGPathData(Glyph glyph, int startIndex, int count)(Code) | | |
getSVGFontFaceElement | protected static String getSVGFontFaceElement(Font font)(Code) | | |
main | public static void main(String[] args)(Code) | | Starts the application.
Parameters: args - an array of command-line arguments |
writeFontAsSVGFragment | protected static void writeFontAsSVGFragment(PrintStream ps, Font font, String id, int first, int last, boolean autoRange, boolean forceAscii) throws Exception(Code) | | Returns a <font>...</font> block,
defining the specified font.
Parameters: font - The TrueType font to be converted to SVG Parameters: id - An XML id attribute for the font element Parameters: first - The first character in the output range Parameters: last - The last character in the output range Parameters: forceAscii - Force the use of the ASCII character map |
|
|