1 17 18 19 20 package org.apache.fop.fonts; 21 22 import java.util.Map ; 23 24 25 28 public interface FontMetrics { 29 30 34 String getFontName(); 35 36 37 41 FontType getFontType(); 42 43 44 50 int getMaxAscent(int size); 51 52 58 int getAscender(int size); 59 60 65 int getCapHeight(int size); 66 67 68 74 int getDescender(int size); 75 76 77 83 int getXHeight(int size); 84 85 92 int getWidth(int i, int size); 93 94 101 int[] getWidths(); 102 103 107 boolean hasKerningInfo(); 108 109 113 Map getKerningInfo(); 114 115 } 116 | Popular Tags |