package org.apache.fop.render.pdf.fonts; import org.apache.fop.render.pdf.Font; public class extends Font { private final static String fontName = ""; private final static String encoding = ""; private final static int capHeight = ; private final static int xHeight = ; private final static int ascender = ; private final static int descender = ; private final static int firstChar = ; private final static int lastChar = ; private final static int[] width; static { width = new int[256]; width[] = ; } public String encoding() { return encoding; } public String fontName() { return fontName; } public int getAscender(int size) { return size * ascender; } public int getCapHeight(int size) { return size * capHeight; } public int getDescender(int size) { return size * descender; } public int getXHeight(int size) { return size * xHeight; } public int getFirstChar() { return firstChar; } public int getLastChar() { return lastChar; } public int width(int i,int size) { return size * width[i]; } public int[] getWidths(int size) { int[] arr = new int[getLastChar()-getFirstChar()+1]; System.arraycopy(width, getFirstChar(), arr, 0, getLastChar()-getFirstChar()+1); for( int i = 0; i < arr.length; i++) arr[i] *= size; return arr; } }