public class FOPGVTFont extends Object implements org.apache.batik.gvt.font.GVTFont
| Constructor and Description |
|---|
FOPGVTFont(Font font,
org.apache.batik.gvt.font.GVTFontFamily fontFamily) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDisplay(char c) |
int |
canDisplayUpTo(char[] text,
int start,
int limit) |
int |
canDisplayUpTo(CharacterIterator iter,
int start,
int limit) |
int |
canDisplayUpTo(String str) |
org.apache.batik.gvt.font.GVTGlyphVector |
createGlyphVector(FontRenderContext frc,
char[] chars) |
org.apache.batik.gvt.font.GVTGlyphVector |
createGlyphVector(FontRenderContext frc,
CharacterIterator ci) |
org.apache.batik.gvt.font.GVTGlyphVector |
createGlyphVector(FontRenderContext frc,
int[] glyphCodes,
CharacterIterator ci) |
org.apache.batik.gvt.font.GVTGlyphVector |
createGlyphVector(FontRenderContext frc,
String text) |
org.apache.batik.gvt.font.GVTGlyphVector |
createGlyphVector(FontRenderContext frc,
String text,
String script,
String language) |
FOPGVTFont |
deriveFont(float size) |
String |
getFamilyName() |
Font |
getFont() |
FontInfo |
getFontInfo() |
String |
getFontKey() |
FontTriplet |
getFontTriplet() |
float |
getHKern(int glyphCode1,
int glyphCode2) |
org.apache.batik.gvt.font.GVTLineMetrics |
getLineMetrics(char[] chars,
int beginIndex,
int limit,
FontRenderContext frc) |
org.apache.batik.gvt.font.GVTLineMetrics |
getLineMetrics(CharacterIterator ci,
int beginIndex,
int limit,
FontRenderContext frc) |
org.apache.batik.gvt.font.GVTLineMetrics |
getLineMetrics(String str,
FontRenderContext frc) |
org.apache.batik.gvt.font.GVTLineMetrics |
getLineMetrics(String str,
int beginIndex,
int limit,
FontRenderContext frc) |
float |
getSize() |
float |
getVKern(int glyphCode1,
int glyphCode2) |
public FOPGVTFont(Font font, org.apache.batik.gvt.font.GVTFontFamily fontFamily)
public Font getFont()
public boolean canDisplay(char c)
canDisplay in interface org.apache.batik.gvt.font.GVTFontpublic int canDisplayUpTo(char[] text,
int start,
int limit)
canDisplayUpTo in interface org.apache.batik.gvt.font.GVTFontpublic int canDisplayUpTo(CharacterIterator iter, int start, int limit)
canDisplayUpTo in interface org.apache.batik.gvt.font.GVTFontpublic int canDisplayUpTo(String str)
canDisplayUpTo in interface org.apache.batik.gvt.font.GVTFontpublic org.apache.batik.gvt.font.GVTGlyphVector createGlyphVector(FontRenderContext frc, char[] chars)
createGlyphVector in interface org.apache.batik.gvt.font.GVTFontpublic org.apache.batik.gvt.font.GVTGlyphVector createGlyphVector(FontRenderContext frc, CharacterIterator ci)
createGlyphVector in interface org.apache.batik.gvt.font.GVTFontpublic org.apache.batik.gvt.font.GVTGlyphVector createGlyphVector(FontRenderContext frc, int[] glyphCodes, CharacterIterator ci)
createGlyphVector in interface org.apache.batik.gvt.font.GVTFontpublic org.apache.batik.gvt.font.GVTGlyphVector createGlyphVector(FontRenderContext frc, String text)
createGlyphVector in interface org.apache.batik.gvt.font.GVTFontpublic org.apache.batik.gvt.font.GVTGlyphVector createGlyphVector(FontRenderContext frc, String text, String script, String language)
public FOPGVTFont deriveFont(float size)
deriveFont in interface org.apache.batik.gvt.font.GVTFontpublic FontInfo getFontInfo()
public String getFontKey()
public FontTriplet getFontTriplet()
public String getFamilyName()
getFamilyName in interface org.apache.batik.gvt.font.GVTFontpublic org.apache.batik.gvt.font.GVTLineMetrics getLineMetrics(char[] chars,
int beginIndex,
int limit,
FontRenderContext frc)
getLineMetrics in interface org.apache.batik.gvt.font.GVTFontpublic org.apache.batik.gvt.font.GVTLineMetrics getLineMetrics(CharacterIterator ci, int beginIndex, int limit, FontRenderContext frc)
getLineMetrics in interface org.apache.batik.gvt.font.GVTFontpublic org.apache.batik.gvt.font.GVTLineMetrics getLineMetrics(String str, FontRenderContext frc)
getLineMetrics in interface org.apache.batik.gvt.font.GVTFontpublic org.apache.batik.gvt.font.GVTLineMetrics getLineMetrics(String str, int beginIndex, int limit, FontRenderContext frc)
getLineMetrics in interface org.apache.batik.gvt.font.GVTFontpublic float getSize()
getSize in interface org.apache.batik.gvt.font.GVTFontpublic float getVKern(int glyphCode1,
int glyphCode2)
getVKern in interface org.apache.batik.gvt.font.GVTFontpublic float getHKern(int glyphCode1,
int glyphCode2)
getHKern in interface org.apache.batik.gvt.font.GVTFontCopyright © 2025 Apache Software Foundation. All rights reserved.