multivalent.std.adaptor.pdf
public class FontPDF extends Object implements Cloneable
Version: $Revision: 1.16 $ $Date: 2003/08/22 21:56:11 $
Field Summary | |
---|---|
static int | FLAG_ALLCAP |
static int | FLAG_DEFAULT |
static int | FLAG_FIXEDPITCH |
static int | FLAG_FORCEBOLD |
static int | FLAG_ITALIC |
static int | FLAG_NOFLAG |
static int | FLAG_NONSYMBOLIC |
static int | FLAG_SCRIPT |
static int | FLAG_SERIF |
static int | FLAG_SMALLCAP |
static int | FLAG_SYMBOLIC |
Method Summary | |
---|---|
boolean | canRender() Temporary, while don't support Type 0. |
static FontPDF | create(Dict fontdict, double pointsize, float size, AffineTransform Tm, Dict page, PDF pdf, PDFReader pdfr) |
FontPDF | deriveFont(double pointsize, float size, AffineTransform Tm) Return new font at new size and transformation. |
static String | getCanonical(String altname) Give alternative (or canonical) name for core font, return canonical name. |
String | getFamily() |
Font | getFont() |
Rectangle2D | getMaxCharBounds() |
double | getSize2D() |
static String[] | getStandardFontNames() |
double | measureText(char ch) |
double | measureText(StringBuffer txt8, int s, int e) Measurements from PDF-specific widths array, not from underlying java.awt.Font. |
String | translate(StringBuffer txt8) |