CSUF LogoCSUF Site Navigation
optics.csufresno.edu

F14 Drawing & Image Manipulation Programs IVTools

Department of Electrical and Computer Engineering
Associate Professor Gregory R. Kriehn
Forums
Wiki
F14 IVTools

"ivtools is a suite of free X Windows drawing editors for PostScript, TeX, and web graphics production, as well as an embeddable and expendable vector graphic shell" (http://www.ivtools.org/ivtools/index.html). Although old and dated, I still find ivtools useful for editing old figures that were created years ago under IVTools.

I've gotten tired of compiling it all of the time, so I have created an 64-bit RPM that can be installed based upon Paulo Roma's SRPM for F12. The new build includes all of the IVTools programs, but requires qhull and plotmtv to work, along with some fonts. qhull is available in the Fedora Repository, and I found an SRPM for plotmtv from S. Umar, so I rebuilt it as well. Install the packages via the kriehn repository with yum:
~> sudo yum install ivtools ivtools-docs ivtools-devel qhull plotmtv xorg-x11-fonts-100dpi xorg-x11-fonts-75dpi
If Hit Enter and press 'y' when asked if you wish to install the package, along with any dependencies. After it is installed, edit the path of your ~/.bashrc file to include the following in your PATH variable:
/usr/bin/ivtools:
Save and exit. You are now ready to test out some of the programs that are bundled with the suite, such as idraw. To launch the program, type:
~> idraw &
Configuration for idraw is done using the ~/.Xresources file. The following information should be placed in it (or can be modified, depending upon your preferences for colors, font sizes, line thicknesses, etc.):
!## IDraw Preferences
idraw.geometry: 850x870
idraw.initialfont: 1
idraw.initialbrush: 3
idraw.initialpattern: 22
idraw.initialfgcolor: 1
idraw.initialbgcolor: 2

idraw.font1:-*-helvetica-medium-r-*-*-12-*-*-*-*-*-*-* Helvetica 12
idraw.font2:-*-helvetica-medium-o-*-*-12-*-*-*-*-*-*-* Helvetica-Oblique 12
idraw.font3:-*-helvetica-bold-r-*-*-12-*-*-*-*-*-*-* Helvetica-Bold 12
idraw.font4:-*-helvetica-medium-r-*-*-17-*-*-*-*-*-*-* Helvetica 17
idraw.font5:-*-helvetica-medium-o-*-*-17-*-*-*-*-*-*-* Helvetica-Oblique 17
idraw.font6:-*-helvetica-bold-r-*-*-17-*-*-*-*-*-*-* Helvetica-Bold 17
idraw.font7:-*-helvetica-medium-r-*-*-24-*-*-*-*-*-*-* Helvetica 24
idraw.font8:-*-helvetica-medium-o-*-*-24-*-*-*-*-*-*-* Helvetica-Oblique 24
idraw.font9:-*-helvetica-bold-r-*-*-24-*-*-*-*-*-*-* Helvetica-Bold 24
idraw.font10:-*-helvetica-medium-r-*-*-34-*-*-*-*-*-*-* Helvetica 34
idraw.font11:-*-helvetica-medium-o-*-*-34-*-*-*-*-*-*-* Helvetica-Oblique 34
idraw.font12:-*-helvetica-bold-r-*-*-34-*-*-*-*-*-*-* Helvetica-Bold 34
idraw.font13:-*-times-medium-r-*-*-12-*-*-*-*-*-*-* Times-Roman 12
idraw.font14:-*-times-medium-i-*-*-12-*-*-*-*-*-*-* Times-Italic 12
idraw.font15:-*-times-bold-r-*-*-12-*-*-*-*-*-*-* Times-Bold 12
idraw.font16:-*-times-medium-r-*-*-17-*-*-*-*-*-*-* Times-Roman 17
idraw.font17:-*-times-medium-i-*-*-17-*-*-*-*-*-*-* Times-Italic 17
idraw.font18:-*-times-bold-r-*-*-17-*-*-*-*-*-*-* Times-Bold 17
idraw.font19:-*-times-medium-r-*-*-24-*-*-*-*-*-*-* Times-Roman 24
idraw.font20:-*-times-medium-i-*-*-24-*-*-*-*-*-*-* Times-Italic 24
idraw.font21:-*-times-bold-r-*-*-24-*-*-*-*-*-*-* Times-Bold 24
idraw.font22:-*-times-medium-r-*-*-34-*-*-*-*-*-*-* Times-Roman 34
idraw.font23:-*-times-medium-i-*-*-34-*-*-*-*-*-*-* Times-Italic 34
idraw.font24:-*-times-bold-r-*-*-34-*-*-*-*-*-*-* Times-Bold 34
idraw.font25:-*-symbol-*-*-*-*-12-*-*-*-*-*-*-* Symbol 12
idraw.font26:-*-symbol-*-*-*-*-17-*-*-*-*-*-*-* Symbol 17
idraw.font27:-*-symbol-*-*-*-*-24-*-*-*-*-*-*-* Symbol 24
idraw.font28:-*-symbol-*-*-*-*-34-*-*-*-*-*-*-* Symbol 34

idraw.brush1: 1111 1 0 0
idraw.brush2: ff6f 1 0 0
idraw.brush3: ffff 1 0 0
idraw.brush4: ffff 2 0 0
idraw.brush5: ffff 4 0 0
idraw.brush6: f0f0 1 0 0
idraw.brush7: f0f0 2 0 0
idraw.brush8: f0f0 4 0 0
idraw.brush9: ffff 1 1 0
idraw.brush10: ffff 1 0 1
idraw.brush11: ffff 1 1 1
idraw.brush12: none

idraw.pattern1: 0.0
idraw.pattern2: 0.05
idraw.pattern3: 0.1
idraw.pattern4: 0.15
idraw.pattern5: 0.2
idraw.pattern6: 0.25
idraw.pattern7: 0.3
idraw.pattern8: 0.35
idraw.pattern9: 0.4
idraw.pattern10: 0.45
idraw.pattern11: 0.5
idraw.pattern12: 0.55
idraw.pattern13: 0.6
idraw.pattern14: 0.65
idraw.pattern15: 0.7
idraw.pattern16: 0.75
idraw.pattern17: 0.8
idraw.pattern18: 0.85
idraw.pattern19: 0.9
idraw.pattern20: 0.95
idraw.pattern21: 1.0
idraw.pattern22: none
idraw.pattern23: 01 02 04 08 10 20 40 80
idraw.pattern24: 80 40 20 10 08 04 02 01
idraw.pattern25: 1248
idraw.pattern26: 8421
idraw.pattern27: f000
idraw.pattern28: 8888
idraw.pattern29: f888
idraw.pattern30: 8525
idraw.pattern31: cc33
idraw.pattern32: 7bed

idraw.fgcolor1: black
idraw.fgcolor2: white
idraw.fgcolor3: brown 41288 41288 32768
idraw.fgcolor4: red 65535 0 0
idraw.fgcolor5: orange 65535 41288 0
idraw.fgcolor6: yellow-orange 65535 49807 0
idraw.fgcolor7: yellow 65535 65535 0
idraw.fgcolor8: yellow-green 49807 65535 0
idraw.fgcolor9: lime-green 41288 65535 0
idraw.fgcolor10: kelly-green 32768 65535 0
idraw.fgcolor11: green 0 100 0
idraw.fgcolor12: teal 0 65535 49807
idraw.fgcolor13: cyan 0 65535 65535
idraw.fgcolor14: blue 0 49807 65535
idraw.fgcolor15: deep-blue 0 0 65535
idraw.fgcolor16: indigo 32768 0 65535
idraw.fgcolor17: purple 41288 0 65535
idraw.fgcolor18: red-purple 49807 0 65535
idraw.fgcolor19: magenta 65535 0 65535
idraw.fgcolor20: salmon 65535 0 49807
idraw.fgcolor21: green2 0 1 0

idraw.bgcolor1: black
idraw.bgcolor2: white
idraw.bgcolor3: brown 41288 41288 32768
idraw.bgcolor4: red 65535 0 0
idraw.bgcolor5: orange 65535 41288 0
idraw.bgcolor6: yellow-orange 65535 49807 0
idraw.bgcolor7: yellow 65535 65535 0
idraw.bgcolor8: yellow-green 49807 65535 0
idraw.bgcolor9: lime-green 41288 65535 0
idraw.bgcolor10: kelly-green 32768 65535 0
idraw.bgcolor11: green 0 100 0
idraw.bgcolor12: teal 0 65535 49807
idraw.bgcolor13: cyan 0 65535 65535
idraw.bgcolor14: blue 0 49807 65535
idraw.bgcolor15: deep-blue 0 0 65535
idraw.bgcolor16: indigo 32768 0 65535
idraw.bgcolor17: purple 41288 0 65535
idraw.bgcolor18: red-purple 49807 0 65535
idraw.bgcolor19: magenta 65535 0 65535
idraw.bgcolor20: salmon 65535 0 49807
idraw.bgcolor21: green2 0 1 0
Save and exit, and use xrdb (the X server resource database utility) to load the preferences into memory:
~> xrdb ~/.Xresources
The next time you launch idraw, you should notice the changes.