org.das2.util.awt.PdfGraphicsOutput

support writing to PDF.


READING_FONTS


STATE_IDLE


STATE_READING


STATE_READY


dumpMapToFile

dumpMapToFile( java.io.File f ) → void

dump the keys out to a file.

Parameters

f - a file target.

Returns:

void (returns nothing)

search for examples view on GitHub view source


resetFontToTtfMap

resetFontToTtfMap( ) → Map

Returns:

java.util.Map

search for examples view on GitHub view source


setGraphicsShapes

setGraphicsShapes( boolean graphicsShapes ) → void

If true, then fonts are written out as lines and will match the screen. If false, then labels are editable.

Parameters

graphicsShapes -

Returns:

void (returns nothing)

search for examples view on GitHub view source


setPixelsPerInch

setPixelsPerInch( int ppi ) → void

set the scaling from graphics pixels to physical paper coordinates, where 72dpi is the default.

Parameters

ppi -

Returns:

void (returns nothing)

search for examples view on GitHub view source


ttfFromName

ttfFromName( java.awt.Font font ) → String

return the name of the .ttf file for the platform, or null.

Parameters

font -

Returns:

the name of the .ttf file, or null.

search for examples view on GitHub view source


ttfFromNameInteractive

ttfFromNameInteractive( java.awt.Font font ) → String

kludge to support call from AWT. If the font map is not yet loaded, return READING_FONTS and start the lookup on a new thread.

Parameters

font -

Returns:

READING_FONTS or the name (or null).

search for examples view on GitHub view source