java.lang.Object
org.jfree.pdf.PDFHints
public final class PDFHints extends Object
Defines the rendering hints that can be used with the
PDFGraphics2D
class. There is just one hint defined at present:KEY_DRAW_STRING_TYPEthat controls how the drawString() methods generate output (regular text or vector graphics);
- Since:
- 1.5
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPDFHints.KeyA key for hints used by thePDFGraphics2Dclass. -
Field Summary
Fields Modifier and Type Field Description static PDFHints.KeyKEY_DRAW_STRING_TYPEThe key for the hint that controls whether strings are rendered as characters (standard PDF output) or vector graphics (implemented usingTextLayout).static ObjectVALUE_DRAW_STRING_TYPE_STANDARDHint value forKEY_DRAW_STRING_TYPEto specify that strings should be written to the output using standard PDF text primitives.static ObjectVALUE_DRAW_STRING_TYPE_VECTORHint value forKEY_DRAW_STRING_TYPEto say that strings should be written to the output using vector graphics primitives. -
Method Summary
-
Field Details
-
KEY_DRAW_STRING_TYPE
The key for the hint that controls whether strings are rendered as characters (standard PDF output) or vector graphics (implemented usingTextLayout). The latter will result in larger output files but permits rendering Unicode characters without font embedding (which is not supported by JFreePDF at this point). Valid hint values areVALUE_DRAW_STRING_TYPE_STANDARDandVALUE_DRAW_STRING_TYPE_VECTOR. -
VALUE_DRAW_STRING_TYPE_STANDARD
Hint value forKEY_DRAW_STRING_TYPEto specify that strings should be written to the output using standard PDF text primitives. -
VALUE_DRAW_STRING_TYPE_VECTOR
Hint value forKEY_DRAW_STRING_TYPEto say that strings should be written to the output using vector graphics primitives.
-