1 18 19 package org.apache.batik.gvt.font; 20 21 import java.text.AttributedCharacterIterator ; 22 import java.util.Map ; 23 24 30 public class UnresolvedFontFamily implements GVTFontFamily { 31 32 protected GVTFontFace fontFace; 33 34 39 public UnresolvedFontFamily(GVTFontFace fontFace) { 40 this.fontFace = fontFace; 41 } 42 43 48 public UnresolvedFontFamily(String familyName) { 49 this(new GVTFontFace(familyName)); 50 } 51 52 55 public GVTFontFace getFontFace() { 56 return fontFace; 57 } 58 59 64 public String getFamilyName() { 65 return fontFace.getFamilyName(); 66 } 67 68 76 public GVTFont deriveFont(float size, AttributedCharacterIterator aci) { 77 return null; 78 } 79 80 81 86 public GVTFont deriveFont(float size, Map attrs) { return null; } 87 88 } 89 | Popular Tags |