Class FOPGVTFont

java.lang.Object
org.apache.fop.svg.font.FOPGVTFont
All Implemented Interfaces:
org.apache.batik.gvt.font.GVTFont

public class FOPGVTFont extends Object implements org.apache.batik.gvt.font.GVTFont
  • Constructor Details

    • FOPGVTFont

      public FOPGVTFont(Font font, org.apache.batik.gvt.font.GVTFontFamily fontFamily)
  • Method Details

    • getFont

      public Font getFont()
    • canDisplay

      public boolean canDisplay(char c)
      Specified by:
      canDisplay in interface org.apache.batik.gvt.font.GVTFont
    • canDisplayUpTo

      public int canDisplayUpTo(char[] text, int start, int limit)
      Specified by:
      canDisplayUpTo in interface org.apache.batik.gvt.font.GVTFont
    • canDisplayUpTo

      public int canDisplayUpTo(CharacterIterator iter, int start, int limit)
      Specified by:
      canDisplayUpTo in interface org.apache.batik.gvt.font.GVTFont
    • canDisplayUpTo

      public int canDisplayUpTo(String str)
      Specified by:
      canDisplayUpTo in interface org.apache.batik.gvt.font.GVTFont
    • createGlyphVector

      public org.apache.batik.gvt.font.GVTGlyphVector createGlyphVector(FontRenderContext frc, char[] chars)
      Specified by:
      createGlyphVector in interface org.apache.batik.gvt.font.GVTFont
    • createGlyphVector

      public org.apache.batik.gvt.font.GVTGlyphVector createGlyphVector(FontRenderContext frc, CharacterIterator ci)
      Specified by:
      createGlyphVector in interface org.apache.batik.gvt.font.GVTFont
    • createGlyphVector

      public org.apache.batik.gvt.font.GVTGlyphVector createGlyphVector(FontRenderContext frc, int[] glyphCodes, CharacterIterator ci)
      Specified by:
      createGlyphVector in interface org.apache.batik.gvt.font.GVTFont
    • createGlyphVector

      public org.apache.batik.gvt.font.GVTGlyphVector createGlyphVector(FontRenderContext frc, String text)
      Specified by:
      createGlyphVector in interface org.apache.batik.gvt.font.GVTFont
    • createGlyphVector

      public org.apache.batik.gvt.font.GVTGlyphVector createGlyphVector(FontRenderContext frc, String text, String script, String language)
    • deriveFont

      public FOPGVTFont deriveFont(float size)
      Specified by:
      deriveFont in interface org.apache.batik.gvt.font.GVTFont
    • getFontInfo

      public FontInfo getFontInfo()
    • getFontKey

      public String getFontKey()
    • getFontTriplet

      public FontTriplet getFontTriplet()
    • getFamilyName

      public String getFamilyName()
      Specified by:
      getFamilyName in interface org.apache.batik.gvt.font.GVTFont
    • getLineMetrics

      public org.apache.batik.gvt.font.GVTLineMetrics getLineMetrics(char[] chars, int beginIndex, int limit, FontRenderContext frc)
      Specified by:
      getLineMetrics in interface org.apache.batik.gvt.font.GVTFont
    • getLineMetrics

      public org.apache.batik.gvt.font.GVTLineMetrics getLineMetrics(CharacterIterator ci, int beginIndex, int limit, FontRenderContext frc)
      Specified by:
      getLineMetrics in interface org.apache.batik.gvt.font.GVTFont
    • getLineMetrics

      public org.apache.batik.gvt.font.GVTLineMetrics getLineMetrics(String str, FontRenderContext frc)
      Specified by:
      getLineMetrics in interface org.apache.batik.gvt.font.GVTFont
    • getLineMetrics

      public org.apache.batik.gvt.font.GVTLineMetrics getLineMetrics(String str, int beginIndex, int limit, FontRenderContext frc)
      Specified by:
      getLineMetrics in interface org.apache.batik.gvt.font.GVTFont
    • getSize

      public float getSize()
      Specified by:
      getSize in interface org.apache.batik.gvt.font.GVTFont
    • getVKern

      public float getVKern(int glyphCode1, int glyphCode2)
      Specified by:
      getVKern in interface org.apache.batik.gvt.font.GVTFont
    • getHKern

      public float getHKern(int glyphCode1, int glyphCode2)
      Specified by:
      getHKern in interface org.apache.batik.gvt.font.GVTFont