Class BaseFormatter
java.lang.Object
com.adobe.fontengine.inlineformatting.infontformatting.BaseFormatter
- Direct Known Subclasses:
GlyphFormatter
,GujaratiFormatter
,GurmukhiFormatter
,HangulFormatter
,KannadaFormatter
,TamilFormatter
,TeluguFormatter
,TibetanFormatter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
canRenderWithFont
(FontData fontData, AttributedRun run, int start, int limit) int
canRenderWithNotdef
(AttributedRun run, int start, int limit) int
firstPass
(AttributedRun run, int start, int limit) int
format
(AttributedRun run, int start, int limit, boolean shouldKern) void
posFromAdvanceWidth
(AttributedRun run, FontData fontData, int first, int limit)
-
Constructor Details
-
BaseFormatter
public BaseFormatter()
-
-
Method Details
-
firstPass
-
canRenderWithNotdef
public int canRenderWithNotdef(AttributedRun run, int start, int limit) throws InvalidFontException, UnsupportedFontException, FontLoadingException -
canRenderWithFont
public int canRenderWithFont(FontData fontData, AttributedRun run, int start, int limit) throws InvalidFontException, UnsupportedFontException, FontLoadingException -
format
public int format(AttributedRun run, int start, int limit, boolean shouldKern) throws InvalidFontException, UnsupportedFontException, FontLoadingException -
posFromAdvanceWidth
public void posFromAdvanceWidth(AttributedRun run, FontData fontData, int first, int limit) throws InvalidFontException, UnsupportedFontException, InvalidGlyphException
-