Package | Description |
---|---|
com.caucho.quercus.lib.pdf |
Modifier and Type | Method and Description |
---|---|
PDFFont |
PDFStream.getFont() |
PDFFont |
PDF.load_font(java.lang.String name,
java.lang.String encoding,
java.lang.String opt)
Loads a font for later use.
|
static PDFFont |
PDFModule.pdf_load_font(PDF pdf,
java.lang.String fontname,
java.lang.String encoding,
java.lang.String optlist)
Search for a font.
|
Modifier and Type | Method and Description |
---|---|
int |
PDF.charCount(double width,
PDFFont font,
double size) |
static boolean |
PDFModule.pdf_setfont(PDF pdf,
PDFFont font,
double size)
Sets the font size
|
static double |
PDFModule.pdf_stringwidth(PDF pdf,
java.lang.String text,
PDFFont font,
double size)
Returns the width of text in the font.
|
boolean |
PDF.setfont(PDFFont font,
double size)
Sets the current font
|
void |
PDFStream.setFont(PDFFont font,
double size) |
double |
PDF.stringheight(java.lang.String string,
PDFFont font,
double size) |
double |
PDF.stringwidth(java.lang.String string,
PDFFont font,
double size)
Returns the length of a string for a font.
|