Ploticus version 2.11+ supports the
shockwave flash (SWF)
Use the -swf command line option.
SWF support is only available when included at compile time and requires the ming library (see
and the Makefile). Ming version 0.2a was used during the original development effort.
Environment variable SWF_FONTS_DIR must be defined to hold the full path name of a directory
containing .fdb font files. The ploticus SWF driver expects font names to be a single token;
font names containing embedded whitespace should be renamed (or soft linked) to a name containing no
More info on fonts
Output files will be named .swf by default.
These files can be viewed directly using a browser that has a flash plugin.
The example below was created by issuing this command:
pl -swf stock.htm
stock ploticus script
Here's the embed HTML:
type="application/x-shockwave-flash" height=300 width=500>
Bugs / not supported:
line dash styles
clickable regions / click maps / mouseover tooltip text bubbles
some color change issues have been occasionally noted
fontnames having embedded spaces don't work - rename your font file or make a soft link
The SWF driver does not release memory correctly when there are multiple "jobs" per OS process,
as might be done when using the libploticus API.
Still, it seems to produce usable .swf results in
my tests of about 20 jobs in one OS process. (scg - May 12, 2004)
Many thanks to Bill Traill
( firstname.lastname@example.org )
for initiating ploticus
SWF support and writing the ploticus SWF driver.