Graphics Formats


You need the licensable option EasyCGM in order to open these graphics formats:
CGM
Computer Graphics Metafiles, including CGM+, CGM3, and seismic extensions.
HPGL
HPGL and HPGL/2.

EasyCGM

EasyCGM is a licensable option for import of graphics file formats ("vector graphics") into EasyCopy and Easycopy Montage.

EasyCGM allows you to view, print, and convert graphics files in the same way as image files and in EasyCopy Montage a vector file is kept as original (referenced in unmodified form) for full scalability and resolution control.


EasyCGM is installed as an input filter to EasyCopy. You cannot use it independently of EasyCopy.

EasyCGM is by default automatically installed with EasyCopy and works in demo mode, unless you buy the additional license.

The program EasyHPGL takes care of HPGL conversion. Note, however, that it cannot operate without EasyCGM, so that HPGL and CGM is available as one option called EasyCGM.

Filter Definition

Windows
*xzCGM "\"$ECTOPDIR\\easycgm.exe\" -m 10 -dpi %R " "(EasyCGM).\r\n"
*xzHPGL "\"$ECTOPDIR\\easyhpgl.exe\" stdin" "(EasyHPGL).\r\n"
 
UNIX
*xzCGM "$ECBINDIR/easycgm.bin -m 10 -dpi %R" "(EasyCGM).\n"
*xzHPGL "$ECBINDIR/easyhpgl.bin stdin" "(EasyHPGL).\n"

These filter definition lines implement support for graphics files in EasyCopy through EasyCGM.

EasyCGM is installed automatically with EasyCopy, but it runs in demo mode unless you have a separate license for this option.

CGM Font Mapping

The file alias.fnt (in the easycgm/fonts folder) is used to map font names contained in the CGM FONTLIST to standard CGM fonts.

The format is simple clear text and can be edited with any text editor. Lines beginning with '#' are comment lines.

The first non-comment line contains a dummy filename and a list of major words used in a font matching algorithm. These major words are given a weight 1000 times higher than other words when a font name is compared to the alias list.

All other lines are comprised of a filename, some white space and an alias string.

For example:

time.fnt         Times_Roman

meaning that a font called "Times Roman" is realized by means of the CGM font provided in in the file time.fnt (underscores are considered word breaks for matching purposes).

The default font (if no match can be made) is given by the first font in the list (the second non-comment line).

You can edit the file alias.fnt if you need to map additional fonts or change the default. This will normally require that you have System Administrator rights

EasyHPGL

EasyHPGL is a part of EasyCGM.

The Pen Assignment Dialog specifies attributes to the pens used in the HPGL file.


Copyright © 2005, AGI (autoGraph international), www.augrin.com.