From 8a1bdcc1fe9e961bc32bb86ade56f3cd2e8b01da Mon Sep 17 00:00:00 2001
From: Dennis Gilmore
-+
-+The bulk of the documentation fori
-+xfig
-+
-+is in an HTML-based reference guide.
-+See the Help menu in
-+xfig
-+
-+or point your browser at
-+Doc/html/index.html
-+
-+(provided with the
-+xfig
-+
-+distribution, usually in the
-+Doc/www
-+
-+directory).
-+There are both English and Japanese versions.
-+
-+
-+When using a two-button mouse use the
-+<Meta>
-+
-+key and the right button at the same time to effect
-+the action of the middle button.
-+
-+
-+Xfig
-+
-+is available from
-+http://www.xfig.org .
-+
-+
-+The
-+TransFig
-+
-+package is used when printing or exporting the output from
-+xfig.
-+
-+The
-+fig2dev
-+
-+program from the
-+TransFig
-+
-+package is automatically called by
-+xfig
-+
-+as a back-end processor to produce various types of output:
-+
-+
-+LaTeX, Metafont, PostScript or Encapsulated PostScript,
-+tk (tcl/tk tool command language/tool kit package),
-+GIF, JPEG, PCX, PNG, PPM, TIFF,
-+XBM, XPM, AutoCAD Slide, IBM-GL (HP/GL), Pic
-+PiCTeX, box, epic, eepic and eepicemu.
-+
-+
-+See man fig2dev for all options.
-+
-+
-+The
-+TransFig
-+
-+package is available from
-+http://www.xfig.org .
-+
-+
-+
-+
-+-help
-+
-+
-+
-+
-+
-+
-+-a[llownegcoords]
-+
-+
-+
-+
-+
-+
-+-bal[loon_delay]
-+
-+msec
-+
-+
-+
-+
-+
-+
-+-bol[d]
-+
-+font
-+
-+
-+
-+
-+
-+
-+-butt[on]
-+
-+font
-+
-+
-+
-+
-+
-+
-+-but_[per_row]
-+
-+number
-+
-+
-+
-+
-+
-+
-+-cbg color
-+
-+
-+
-+
-+
-+
-+-center
-+
-+
-+
-+
-+
-+
-+-centim[ers]
-+
-+
-+
-+
-+
-+
-+-cfg color
-+
-+
-+
-+
-+
-+
-+-correct_font_size
-+
-+
-+
-+
-+
-+
-+-deb[ug]
-+
-+
-+
-+
-+
-+
-+-dep[th]
-+
-+
-+
-+
-+
-+
-+-donta[llownegcoords]
-+
-+
-+
-+
-+
-+
-+-dontshowb[alloons]
-+
-+
-+
-+
-+
-+
-+-dontshowl[engths]
-+
-+
-+
-+
-+
-+
-+-dontshowz[erolines]
-+
-+
-+
-+
-+
-+
-+-dontsw[itchcmap]
-+
-+
-+
-+
-+
-+
-+-enc[oding]
-+
-+encoding
-+
-+
-+
-+
-+
-+
-+-exportL[anguage]
-+
-+language
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+-export_m[argin]
-+
-+width
-+
-+
-+
-+
-+
-+
-+-fli[pvisualhints]
-+
-+
-+
-+
-+
-+
-+-flu[shleft]
-+
-+
-+
-+
-+
-+
-+-free[hand_resolution]
-+
-+resolution
-+
-+
-+
-+
-+
-+
-+-geom[etry]
-+
-+[WxH][+X+Y]
-+
-+
-+
-+
-+
-+
-+-gh[ostscript]
-+
-+postscript-interpreter
-+
-+
-+
-+
-+
-+
-+-grid_c[olor]
-+
-+color
-+
-+
-+
-+
-+
-+
-+-grid_u[nit]
-+
-+unit
-+
-+
-+
-+
-+
-+
-+-hidd[entext]
-+
-+
-+
-+
-+
-+
-+-dontshowd[epthmanager]
-+
-+
-+
-+
-+
-+
-+-icon_[view]
-+
-+
-+
-+
-+
-+
-+-iconG[eometry]
-+
-++X+Y
-+
-+
-+
-+
-+
-+
-+-im[age_editor]
-+
-+editor
-+
-+
-+
-+
-+
-+
-+-inc[hes]
-+
-+(or-imperial)
-+
-+
-+
-+
-+
-+
-+-ins[tallowncmap]
-+
-+
-+
-+
-+
-+
-+-internalBW width
-+
-+
-+
-+
-+
-+
-+-international
-+
-+
-+
-+
-+
-+
-+-jpeg[_quality]
-+
-+quality
-+
-+
-+
-+
-+
-+
-+-k[eyFile]
-+
-+compose-key-file
-+
-+
-+
-+
-+
-+
-+-lan[dscape]
-+
-+
-+
-+
-+
-+
-+-lat[exfonts]
-+
-+
-+
-+
-+
-+
-+-le[ft]
-+
-+
-+
-+
-+
-+
-+-library_d[ir]
-+
-+directory
-+
-+
-+
-+
-+
-+
-+-library_i[con_size]
-+
-+size
-+
-+
-+
-+
-+
-+
-+-lis[t_view]
-+
-+
-+
-+
-+
-+
-+-mag[nification]
-+
-+mag
-+
-+
-+
-+
-+
-+
-+-max[_image_colors]
-+
-+numcols
-+
-+
-+
-+
-+
-+
-+-me[tric]
-+
-+
-+
-+
-+
-+
-+-mo[nochrome]
-+
-+
-+
-+
-+
-+
-+-mu[ltiple]
-+
-+
-+
-+
-+
-+
-+-noo[verlap]
-+
-+
-+
-+
-+
-+
-+-nor[mal]
-+
-+font
-+
-+
-+
-+
-+
-+
-+-nosc[alablefonts]
-+
-+
-+
-+
-+
-+
-+-nosp[lash]
-+
-+
-+
-+
-+
-+
-+-not[rack]
-+
-+
-+
-+
-+
-+
-+-ov[erlap]
-+
-+
-+
-+
-+
-+
-+-pag[eborder]
-+
-+color
-+
-+
-+
-+
-+
-+
-+-pap[er_size]
-+
-+size
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+Note that this doesn't affect the size of the drawing canvas.
-+Use the
-+-pheight
-+
-+and
-+-pwidth
-+
-+options for that.
-+
-+
-+
-+
-+
-+-ph[eight]
-+
-+height
-+
-+
-+
-+
-+
-+
-+-po[rtrait]
-+
-+
-+
-+
-+
-+
-+-pw[idth]
-+
-+width
-+
-+
-+
-+
-+
-+
-+-righ[t]
-+
-+
-+
-+
-+
-+
-+-rigi[d]
-+
-+
-+
-+
-+
-+
-+-ru[lerthick]
-+
-+
-+
-+
-+
-+
-+-scala[blefonts]
-+
-+
-+
-+
-+
-+
-+-scale_factor
-+
-+scale
-+
-+
-+
-+
-+
-+
-+-showa[llbuttons]
-+
-+
-+
-+
-+
-+
-+-showb[alloons]
-+
-+
-+
-+
-+
-+
-+-showd[epthmanager]
-+
-+
-+
-+
-+
-+
-+-showl[engths]
-+
-+
-+
-+
-+
-+
-+-shown[ums]
-+
-+
-+
-+
-+
-+
-+-showp[ageborder]
-+
-+
-+
-+
-+
-+
-+-showz[erolines]
-+
-+
-+
-+
-+
-+
-+-si[ngle]
-+
-+
-+
-+
-+
-+
-+-sm[ooth_factor]
-+
-+factor
-+
-+
-+
-+
-+
-+
-+-spec[ialtext]
-+
-+
-+
-+
-+
-+
-+-spel[lcheckcommand]
-+
-+command
-+
-+
-+
-+
-+
-+
-+-spinner_d[elay]
-+
-+msec
-+
-+
-+
-+
-+
-+
-+-spinner_r[rate]
-+
-+msec
-+
-+
-+
-+
-+
-+
-+-startfi[llstyle]
-+
-+stylenumber
-+
-+
-+
-+
-+
-+
-+-startfo[ntsize]
-+
-+pointsize
-+
-+
-+
-+
-+
-+
-+-startg[ridmode]
-+
-+modenumber
-+
-+
-+
-+
-+
-+
-+-startla[texFont]
-+
-+font
-+
-+
-+
-+
-+
-+
-+-startli[newidth]
-+
-+width
-+
-+
-+
-+
-+
-+
-+-startpo[snmode]
-+
-+modenumber
-+
-+
-+
-+
-+
-+
-+-startp[sFont]
-+
-+font
-+
-+
-+
-+
-+
-+
-+-startt[extstep]
-+
-+stepsize
-+
-+
-+
-+
-+
-+
-+-ta[blet]
-+
-+
-+
-+
-+
-+
-+-track
-+
-+
-+
-+
-+
-+
-+-tran[sparent_color]
-+
-+color_number
-+
-+
-+
-+
-+
-+
-+-update
-+
-+file [ file ... ]
-+
-+
-+
-+
-+
-+
-+-users[cale]
-+
-+scale
-+
-+
-+
-+
-+
-+
-+-useru[nit]
-+
-+units
-+
-+
-+
-+
-+
-+
-+-visual
-+
-+visualname
-+
-+
-+
-+
-+
-+
-+-zoom
-+
-+zoomscale
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+When reporting a bug, please first check if the problem is mentioned in
-+the FAQ section of the HTML files (xfig Help menu).
-+
-+
-+If it is not mentioned there, be sure to report the operating system you
-+are using (e.g. SunOS 4.1.3), type of X server and version (OpenWindows 3, X11R6.4,
-+XFree86 3.2.2, etc) and color depth (e.g. 8bpp, 16bpp), and most
-+importantly the version of xfig or fig2dev that is having the problem.
-+
-+
-+It is also VERY useful to me if you can provide a stack trace from a debugger
-+such as gdb, dbx, ups, etc, if the bug causes xfig to crash.
-+
-+
-+Because of the difference of some fonts in some X servers and the PostScript
-+fonts on printers, text alignment can be problematic.
-+
-+
-+Not all operations employ smart redrawing of objects which are altered
-+as a by product of the operation.
-+You may need to use
-+Redraw
-+
-+in these cases.
-+
-+
-+Some servers do not allow bitmaps/pixmaps taller than the screen height
-+or wider than the screen width.
-+That is why there is a limit on the width
-+of the top ruler and height of the side ruler.
-+If you need wider/taller rulers AND your server allows bigger pixmaps,
-+you may define
-+MAX_TOPRULER_WD
-+
-+and/or
-+MAX_SIDERULER_HT
-+
-+in your Imakefile in the
-+DEFINES
-+
-+line.
-+For example,
-+to have a maximum top ruler width of 1160 pixels, add
-+-DMAX_TOPRULER_WD=1160
-+
-+to your
-+DEFINES
-+
-+line in the Imakefile.
-+
-+
-+If the image is panned or the
-+xfig
-+
-+window iconified and de-iconified
-+during the middle of an operation (e.g. while drawing a line), the picture
-+will be distorted.
-+This can be corrected using
-+Redraw
-+
-+after the operation is complete.
-+
-+
-+When zoomed very large, the length of dashes in dashed lines will top out
-+at 255 pixels long. This is due to a restriction in X
-+that the dash list is defined by char (255 pixels maximum for a dash).
-+The figure will print correctly, however.
-+
-+
-+When you do a copy/rotate with multiple copies,
-+only the creation of the last object can be undone with the Undo button.
-+
-+
-+Modifications to text using the popup search/update/replace/spell check panel
-+cannot be undone.
-+
-+
-+See the
-+README
-+
-+file for troubleshooting.
-+
-+
-+
-+fig2dev(1)
-+(TransFig
-+
-+package)
-+
-+
-+gs(1)
-+(Ghostscript
-+
-+PostScript previewer)
-+
-+
-+
-+(From current maintainer Brian Smith):
-+Thanks to all the users who have contributed to xfig, especially
-+Paul King who, besides adding many features,
-+revamped the look and feel which became version 2.1.
-+
-+
-+
-+Any party obtaining a copy of these files is granted, free of charge, a
-+full and unrestricted irrevocable, world-wide, paid up, royalty-free,
-+nonexclusive right and license to deal in this software and
-+documentation files (the "Software"), including without limitation the
-+rights to use, copy, modify, merge, publish and/or distribute copies of
-+the Software, and to permit persons who receive copies from any such
-+party to do so, with the only requirement being that this copyright
-+notice remain intact.
-+
-+
-+Note that although I work at Lawrence Berkeley National Laboratory (LBNL)
-+I don't speak for LBNL nor do I represent LBNL with respect to my work on
-+TransFig and xfig, nor does LBL make any representations about the suitability
-+of this software for any purpose.
-+
-+
-+Here is the legal part:
-+
-+
-+THE LAWRENCE BERKELEY NATIONAL LABORATORY DISCLAIMS ALL WARRANTIES WITH
-+REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-+AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY SPECIAL,
-+INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-+LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
-+OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-+PERFORMANCE OF THIS SOFTWARE.
-+
-+
-+
-+PostScript
-+
-+is a trademark of Adobe Systems Incorporated.
-+
-+
-+
-+
-+
-+Version 1:
-+
-+
-+
-+Original author:
-+
-+The
-+LaTeX
-+
-+line drawing modes were contributed by:
-+
-+Original X11 port by:
-+
-+Variable window sizes, cleanup of X11 port, right hand side panel:
-+
-+Cleanup of color port to X11 by:
-+
-+
-+Version 2.0:
-+
-+
-+
-+Area fill, multiple line thicknesses, multiple fonts and font sizes,
-+bottom panel, line style/thickness,
-+(and anything else that wasn't written by the others)
-+by:
-+
-+Popup change-object menu by:
-+
-+Zooming and panning functions, shift key select mechanism by:
-+
-+Depth feature by:
-+
-+Cut/Paste by:
-+
-+
-+Version 2.1:
-+
-+
-+
-+Indicator panel, file menu popup, print menu popup,
-+panning with rulers, mouse function window, regular polygon,
-+rubberbanding of circles/ellipses, filled splines on canvas,
-+dashed/dotted splines on canvas, update button,
-+arbitrary angle rotation of objects, alignment in compound,
-+object scaling, constrained copy/move, corner markers for compound,
-+context sensitive corner markers, smarter redraw, undo for compound
-+and point move for boxes, cancel object creation, point positioning
-+to three resolutions,
-+TransFig
-+
-+scalable text, hidden text,
-+special text, save of figure on crash by:
-+
-+Paul King (king@cs.uq.oz.au)
-+
-+Encapsulated
-+PostScript
-+
-+importing by:
-+
-+Pan/zoom with ctrl key/mouse by:
-+
-+International characters by:
-+
-+Directory Browser based on XDir by:
-+
-+Rotated ellipses by:
-+
-+Rotated text from the
-+xvertext
-+
-+package by:
-+
-+Popup scale menu and dynamic switching between inches and cm by:
-+
-+Extensive man page formatting revisions by:
-+
-+Display Postscript code for IBM RS/6000 by:
-+
-+Version 3.0:
-+
-+
-+
-+
-+
-+GIF header reading code by:
-+
-+XPM export code (using XPM3 libraries) by:
-+
-+Higher figure resolution (1200dpi) by:
-+
-+Color quantization using neural network by:
-+
-+Floyd-Steinberg algorithm for dithering color images on monochrome
-+displays lifted from the Pbmplus package by Jef Poskanser.
-+
-+rotate/flip objects around/about selected anchor point and multiple
-+copies of objects by:
-+
-+Input tablet extension by:
-+
-+Version 3.1:
-+
-+
-+
-+
-+The JPEG import/export code uses the Independent JPEG Group software
-+(see jpeg/README for details)
-+
-+Image browser, editor and screen capture features by:
-+
-+Version 3.2:
-+
-+
-+
-+
-+
-+Caveat: Because previous spline models (quadratic B-splines and Bezier
-+with hidden points) are no longer supported, curves that are present
-+in version 3.1 and older files are automatically converted to X-splines.
-+This translation is only an approximation process. It means that the
-+converted curves are not exactly the same as the original ones. Though
-+they are usually very close, some hand-fitting may be needed in
-+some pathological cases.
-+
-+Inclusion of X-splines by:
-+
-+Open/close compound feature written by
-+
-+Library feature written by
-+
-+The library objects in the Electrical and Logic libraries were done by
-+
-+The library objects in the Computer, Networks, and Hospital-Equipment
-+libraries were extracted from the clipart example files by
-+
-+
-+
-+Version 3.2.3 and newer:
-+
-+
-+
-+Please see the CHANGES file for credits for newer releases.
-+
-+
-+
-+See the
-+CHANGES
-+
-+file for all the credits
-+
-+The
-+TransFig
-+
-+package was written by Micah Beck and is maintained by Brian Smith
-+
-+
-+
+ Xfig is an X Window System tool for creating basic vector graphics,
+ including bezier curves, lines, rulers and more. The resulting
+ graphics can be saved, printed on PostScript printers or converted to
+ a variety of other formats (e.g., X11 bitmaps, Encapsulated
+ PostScript, LaTeX).
+
+ You should install xfig if you need a simple program to create vector
+ graphics.
+ XFIG
-+Section: User Commands (1)
Updated: Xfig 3.2.4 (Dec 2002)
Index
-+
-+
-+
-+NAME
-+
-+xfig - Facility for Interactive Generation of figures under X11
-+
-+
-+Version 3.2.4
-+
-+SYNOPSIS
-+
-+xfig
-+
-+[options]
-+
-+[file]
-+
-+
-+DESCRIPTION
-+
-+Xfig
-+
-+is a menu-driven tool that allows the user to draw and manipulate
-+objects interactively under the X Window System.
-+It runs under X version 11
-+
-+release 4 or higher
-+
-+and requires a two- or three-button mouse.
-+file
-+
-+specifies the name of a file to be edited.
-+The objects in the file will be read at the start of
-+xfig.
-+
-+OPTIONS
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+Name Language
-+
-+
-+
-+
-+
-+
-+
Vector formats:
-+box LaTeX box (figure boundary)
-+latex LaTeX picture
-+epic LaTeX picture + epic macros
-+eepic LaTeX picture + eepic macros
-+eepicemu LaTeX picture + eepicemu macros
-+pictex PiCTeX macros
-+hpl HPGL (IBMGL)
-+eps Encapuslated PostScript
-+eps_ascii Encapuslated PostScript with ASCII preview
-+eps_mono_tiff Encapuslated PostScript with monochrome binary (TIFF) preview
-+eps_color_tiff Encapuslated PostScript with color binary (TIFF) preview
-+ps PostScript
-+pdf PDF (Portable Document Format)
-+pstex Combined PS/LaTeX (both PS and LaTeX parts)
-+pdftex Combined PDF/LaTeX (both PDF and LaTeX parts)
-+textyl Textyl special commands
-+tpic TPIC
-+pic PIC
-+mf MF (MetaFont)
-+mp MP (MetaPost)
-+mmp MMP (Multi-MetaPost)
-+cgm CGM (Computer Graphics Meta file)
-+bcgm Binary CGM (Computer Graphics Meta file)
-+emf Enhanced Meta file)
-+tk Tk (of the tcl/tk fame)
-+svg SVG (Scalable Vector Graphics (XML variant))
-+
-+Bitmap formats:
-+gif GIF
-+jpeg JPEG (JFIF)
-+pcx PCX
-+png PNG
-+ppm PPM (portable pixmap package)
-+sld (AutoCad slide)
-+tiff TIFF
-+xbm X11 Bitmap
-+xpm X11 Pixmap (XPM3 package)
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+See also -portrait.
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+Option Paper Size
-+
-+
-+
-+
-+
-+
-+
-+
letter Letter 8.5in x 11in
-+legal Legal 8.5in x 14in
-+tabloid Tabloid 17in x 11in
-+a ANSI A 8.5in x 11in
-+b ANSI B 11in x 17in
-+c ANSI C 17in x 22in
-+d ANSI D 22in x 34in
-+e ANSI E 34in x 44in
-+a9 ISO A9 37mm x 52mm
-+a8 ISO A8 52mm x 74mm
-+a7 ISO A7 74mm x 105mm
-+a6 ISO A6 105mm x 148mm
-+a5 ISO A5 148mm x 210mm
-+a4 ISO A4 210mm x 297mm
-+a3 ISO A3 297mm x 420mm
-+a2 ISO A2 420mm x 594mm
-+a1 ISO A1 594mm x 840mm
-+a0 ISO A0 840mm x 1189mm
-+b10 JIS B10 32mm x 45mm
-+b9 JIS B9 45mm x 64mm
-+b8 JIS B8 64mm x 91mm
-+b7 JIS B7 91mm x 128mm
-+b6 JIS B6 128mm x 182mm
-+b5 JIS B5 182mm x 257mm
-+b4 JIS B4 257mm x 364mm
-+b3 JIS B3 364mm x 515mm
-+b2 JIS B2 515mm x 728mm
-+b1 JIS B1 728mm x 1030mm
-+b0 JIS B0 1030mm x 1456mm
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+This flag may be toggled by pressing <Meta>i (default).
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+In this mode, xfig doesn't connect the X server, so no window is opened,
-+and it exits when finished.
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+X RESOURCES and DEFAULTS
-+
-+The overall widget name(Class) is xfig(Fig).
-+These resources correspond to the command line arguments:
-+
-+Name Type Default Command-line equivalent
-+
-+
-+
-+
-+
-+
-+
allownegcoords boolean true -allownegcoords (true),
-+ -dontallownegcoords (false)
-+axislines string pink -axislines
-+balloon_delay integer 500 (ms) -balloon_delay
-+boldFont string 8x13bold -bold
-+but_per_row integer 2 -but_per_row
-+buttonFont string 6x13 -button
-+canvasbackground string white -cbg
-+canvasforeground string black -cfg
-+correctfontsize boolean false -correctfontsize
-+debug boolean false -debug
-+depth integer * -depth
-+dontswitchcmap boolean false -dontswitchcmap
-+euc_encoding boolean false (n/a)
-+encoding integer 1 -encoding
-+exportLanguage string eps -exportLanguage
-+export_margin integer 0 -export_margin
-+flipvisualhints boolean false -flipvisualhints
-+flushleft boolean false -flushleft (true),
-+ -center (false)
-+freehand_resolution integer 25 -freehand_resolution
-+grid_color string black -grid_color
-+grid_unit string 1/16 (inch) -grid_unit
-+ 0.1 (metric)
-+hiddentext boolean false -hiddentext
-+icon_view boolean true -icon_view (true),
-+ -list_view (false)
-+image_editor string xv -image_editor
-+inches boolean true -inches (true),
-+ -imperial (true),
-+ -centimeters (false),
-+ -metric (false)
-+installowncmap boolean false -installowncmap
-+internalborderwidth integer 1 -internalBW
-+international International booleanfalse-international
-+jpeg_quality integer 75 -jpeg_quality
-+justify boolean false -left (false),
-+ -right (true)
-+keyFile string CompKeyDB -keyFile
-+landscape boolean true -Landscape (true),
-+ -landscape (true),
-+ -Portrait (false),
-+ -portrait (false)
-+latexfonts boolean false -latexfonts
-+library_dir string ~/xfiglib -library_dir
-+magnification float 100 -magnification
-+max_image_colors integer 64 -max_image_colors
-+monochrome boolean false -monochrome
-+multiple boolean false -multiple
-+normalFont string 6x13 -normal
-+overlap boolean true -overlap (true),
-+ -nooverlap (false)
-+pageborder string lightblue -pageborder
-+paper_size string Letter (inch) -paper_size
-+ A4 (metric)
-+pheight float 8.5 (landscape) -pheight
-+ 9.5 (portrait)
-+pwidth float 11 (landscape) -pwidth
-+ 8.5 (portrait)
-+rigidtext boolean false -rigid (true)
-+rulerthick integer 24 -rulerthick
-+scalablefonts boolean true -scalablefonts (true),
-+ -noscalablefonts (false)
-+scale_factor float 1.0 -scale_factor
-+showallbuttons boolean false -showallbuttons
-+showaxislines boolean true -showaxislines (true),
-+ -dontshowaxislines (false)
-+showballoons boolean true -showballoons (true),
-+ -dontshowballoons (false)
-+showdepthmanager boolean true -showdepthmanager (true),
-+ -dontshowdepthmanager (false)
-+showlengths boolean false -showlengths (true),
-+ -dontshowlengths (false)
-+shownums boolean false -shownums (true),
-+ -dontshownums (false)
-+showpageborder boolean true -showpageborder (true),
-+ -dontshowpageborder (false)
-+single boolean true -single
-+smooth_factor integer 0 -smooth_factor
-+specialtext boolean false -specialtext
-+splash boolean true -splash (true),
-+ -nosplash (false)
-+spellcheckcommand string spell %s -spellcheckcommand
-+spinner_delay integer 500 (ms) -spinner_delay
-+spinner_rate integer 100 (ms) -spinner_rate
-+startfillstyle integer 0 -startfillstyle
-+startfontsize float 12 -startfontsize
-+startgridmode integer 0 -startgridmode
-+startlatexFont string Default -startlatexFont
-+startlinewidth integer 1 -startlinewidth
-+startposnmode integer 1 -startposnmode
-+startpsFont string Times-Roman -startpsFont
-+starttextstep float 1.2 -starttextstep
-+tablet boolean false -track,
-+trackCursor boolean true -track (true),
-+ -notrack (false)
-+transparent_color integer -2 (none) -transparent_color
-+userscale float 1.0 -userscale
-+userunit string in (inches) -userunit
-+ cm (metric)
-+visual string * -visual
-+zoom float 1.0 -zoom
-+
-+* Default visual and depth depend on the X server. Use xdpyinfo to see what visuals
-+and depths are supported.
-+BUGS and RESTRICTIONS
-+
-+Please send bug reports, fixes, new features etc. to:
-+
-+
-+bvsmith@lbl.gov
-+(Brian V. Smith)
-+SEE ALSO
-+
-+ACKNOWLEDGEMENT
-+
-+(From the original author, Supoj Sutanthavibul):
-+Many thanks goes to Professor Donald E. Fussell who inspired the
-+creation of this tool.
-+COPYRIGHT
-+
-+
-+Original Copyright (c) 1985 by Supoj Sutanthavibul
-+Parts Copyright (c) 1994-1999 by Brian V. Smith
-+Parts Copyright (c) 1991 by Paul King
-+Other Copyrights may be found in various files
-+
-+
-+
-+
-+
-+Parts Copyright (C) 1989 by Jef Poskanzer.
-+Copyright notice for pbmplus code:
-+
-+
-+Permission to use, copy, modify, and distribute this
-+software and its documentation for any purpose and without
-+fee is hereby granted, provided that the above copyright
-+notice appear in all copies and that both that copyright
-+notice and this permission notice appear in supporting
-+documentation. This software is provided ``as is'' without
-+express or implied warranty.
-+
-+
-+
-+
-+
-+FILES
-+
-+
-+
-+
-+
-+
-+AUTHORS
-+
-+Many people have contributed to
-+xfig.
-+
-+Here is a list of the people who
-+have contributed the most (in chronological order):
-+
-+
-+Supoj Sutanthavibul, University of Texas at Austin
-+
-+
-+Frank Schmuck, Cornell University
-+
-+
-+Ken Yap, Rochester
-+
-+
-+Dana Chee, Bellcore
-+
-+
-+John T. Kohl, MIT
-+
-+
-+Brian Smith
-+
-+
-+(standard disclaimer applies)
-+
-+
-+(bvsmith@lbl.gov)
-+
-+
-+Jon Tombs
-+
-+
-+Frank Schmuck
-+
-+
-+Dieter Pellkofer
-+
-+
-+Henning Spruth
-+
-+
-+Mike Lutz
-+
-+
-+Tom Tkacik
-+
-+
-+with help from:
-+
-+
-+Brian Smith
-+and Micah Beck (beck@cs.utk.edu)
-+
-+
-+Brian Boyter
-+
-+
-+Henning Spruth
-+
-+
-+Herve Soulard
-+
-+
-+Win Treese, Digital Equipment Corporation
-+
-+
-+James Tough, Dept. of Computer Science, Heriot-Watt University, Scotland
-+
-+
-+Alan Richardson, Space Science Centre, School of MAPS,
-+University of Sussex
-+
-+
-+Paul King (king@cs.uq.oz.au)
-+
-+
-+David W. Sanderson
-+
-+
-+Dave Hale (dhale@green.mines.colorado.edu)
-+
-+
-+
-+New arrowhead types, separate pen/fill colors, new file protocol,
-+more colors with extended color popup panel, new arc style,
-+new fill patterns (bricks, etc), new line join and cap styles,
-+export offset and file load offset, XPM import, XBM import and export
-+(and anything else that wasn't written by the others) by:
-+
-+
-+Brian Smith
-+
-+
-+(Note: the color popup panel was based on
-+xcoloredit
-+
-+by Richard Hesketh)
-+
-+
-+David Koblas from the giftoppm part of the pbmplus package
-+
-+
-+Karel van Houten (K.H.C.vanHouten@research.ptt.nl)
-+
-+
-+Ross Martin (martin@trcsun3.eas.asu.edu)
-+
-+
-+Anthony Dekker (dekker@ACM.org)
-+
-+
-+[NEUQUANT Neural-Net quantization algorithm by Anthony Dekker, 1994.
-+See ``Kohonen neural networks for optimal colour quantization''
-+in ``Network: Computation in Neural Systems'' Vol. 5 (1994) pp 351-367.
-+for a discussion of the algorithm.]
-+
-+
-+Uwe Bonnes (bon@lte.e-technik.uni-erlangen.de)
-+
-+
-+Greg LaCoste (greg@seismo.do.usbr.gov)
-+
-+
-+
-+The only difference between protocol version 3.0 and version 3.1 is
-+that the position of the ``magnet'' has been shifted by 14 fig units.
-+In the 2.1 and older versions of xfig the grid was in multiples of 5 fig
-+units, but they were on intervals 4, 9, 14, 19, etc.
-+When version 3.0 was created, coordinates were simply multiplied by the
-+ratio of the resolutions (1200/80 = 15) so values like 4 became 60 instead
-+of 74 ((4+1)*15 - 1).
-+
-+
-+Jim Daley (jdaley@cix.compulink.co.uk)
-+
-+
-+
-+The changes to the version 3.2 file protocol are the addition of the
-+paper size, print/export magnification, single/multiple page indicator
-+and a transparent color name used for GIF export to the header
-+of the file.
-+
-+
-+The other difference in the version 3.2 protocol is the
-+mathematical model used for splines. The new version
-+uses X-splines which allows the user to mix interpolation and approximation
-+points in a same curve. More precisely, it means that an X-spline curve
-+is neither an interpolated spline nor an approximated one, it is BOTH
-+(the behaviour of each point is controlled by one single parameter
-+called ``shape factor''). For additional information about X-splines, see:
-+
"X-Splines: A Spline Model Designed for the End User"
-+
by C. Blanc and C. Schlick, Proceedings of SIGGRAPH'95
-+
http://dept-info.labri.u-bordeaux.fr/~schlick/DOC/sig1.html
-+
-+
-+Carole Blanc (blanc@labri.u-bordeaux.fr)
-+
-+
-+Christophe Schlick (schlick@labri.u-bordeaux.fr)
-+
-+
-+Note: the initial implementation was done by C. Feuille, S. Grosbois, L.
-+Maziere and L. Minihot as a student practice (Universite Bordeaux, France).
-+
-+
-+Bill Taylor (bill@mainstream.com)
-+
-+
-+Stephane Mancini (mancini@elecsrv.enst.fr)
-+(object preview by Brian V. Smith)
-+
-+
-+Peter Hiscocks (phiscock@ee.ryerson.ca)
-+
-+
-+Bill Chimiak (chim@bgsm.edu)
-+NOTES
-+
-+Many bug fixes/cleanups etc. by a host of faithful users
-+
-+ Index
-+
-+
-+
-+This document was created by
-+man2html,
-+using the manual pages.
-+Time: 16:26:41 GMT, March 22, 2008
-+
-+
diff --git a/40_fix_dash_list_for_different_styles.patch b/40_fix_dash_list_for_different_styles.patch
deleted file mode 100644
index 7c5aaa9..0000000
--- a/40_fix_dash_list_for_different_styles.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- xfig.3.2.5c/w_drawprim.c 2012-10-17 00:14:09.000000000 +0200
-+++ xfig.3.2.5c/w_drawprim.c 2013-11-29 02:45:36.950448714 +0100
-@@ -1292,14 +1292,23 @@ void set_fill_gc(int fill_style, int op,
- }
-
-
--static unsigned char dash_list[16][2] = {{255, 255}, {255, 255},
-- {255, 255}, {255, 255},
-- {255, 255}, {255, 255},
-- {255, 255}, {255, 255},
-- {255, 255}, {255, 255},
-- {255, 255}, {255, 255},
-- {255, 255}, {255, 255},
-- {255, 255}, {255, 255}};
-+static unsigned char dash_list[16][8] = {
-+ {255, 255, 255, 255, 255, 255, 255, 255},
-+ {255, 255, 255, 255, 255, 255, 255, 255},
-+ {255, 255, 255, 255, 255, 255, 255, 255},
-+ {255, 255, 255, 255, 255, 255, 255, 255},
-+ {255, 255, 255, 255, 255, 255, 255, 255},
-+ {255, 255, 255, 255, 255, 255, 255, 255},
-+ {255, 255, 255, 255, 255, 255, 255, 255},
-+ {255, 255, 255, 255, 255, 255, 255, 255},
-+ {255, 255, 255, 255, 255, 255, 255, 255},
-+ {255, 255, 255, 255, 255, 255, 255, 255},
-+ {255, 255, 255, 255, 255, 255, 255, 255},
-+ {255, 255, 255, 255, 255, 255, 255, 255},
-+ {255, 255, 255, 255, 255, 255, 255, 255},
-+ {255, 255, 255, 255, 255, 255, 255, 255},
-+ {255, 255, 255, 255, 255, 255, 255, 255},
-+ {255, 255, 255, 255, 255, 255, 255, 255}};
-
- static int join_styles[3] = { JoinMiter, JoinRound, JoinBevel };
- static int cap_styles[3] = { CapButt, CapRound, CapProjecting };
diff --git a/sources b/sources
index db0a967..ee09d18 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,3 @@
210851330fa4bb3581bec1f8448a4db8 xfig.3.2.5c.full.tar.gz
f58e3bde288d623c826e1784ebb45de0 xfig-icons.tar.gz
+214c32741f82fede789ae0e0ee06dc41 xfig_3.2.5.c-8.debian.tar.xz
diff --git a/xfig-3.2.5-Imakefile.patch b/xfig-3.2.5-Imakefile.patch
index 6451bff..644cbc8 100644
--- a/xfig-3.2.5-Imakefile.patch
+++ b/xfig-3.2.5-Imakefile.patch
@@ -10,7 +10,16 @@ diff -up xfig.3.2.5b/Imakefile.fed xfig.3.2.5b/Imakefile
XCOMM Comment out the following definition for XAW3D if you don't to want to use
XCOMM the 3d Athena Widget Set
-@@ -169,15 +169,14 @@ XCOMM be sure to comment out the second
+@@ -162,23 +162,22 @@ XCOMM uncomment the following line if yo
+ XCOMM inline functions. With the "INLINE" keyword, you should notice that
+ XCOMM the display will be a bit faster in complex figures
+
+-XCOMM USEINLINE = -DUSE_INLINE
++USEINLINE = -DUSE_INLINE
+
+ XCOMM use (and change) the following if you want the multi-key data base file
+ XCOMM somewhere other than the standard X11 library directory
+ XCOMM be sure to comment out the second copy of XFIGLIBDIR if you use this one
XCOMM XFIGLIBDIR = $(LIBDIR)
XCOMM use this if you want the multi-key data base file in the standard X11 tree
diff --git a/xfig-3.2.5-rhbz1046102.patch b/xfig-3.2.5-rhbz1046102.patch
deleted file mode 100644
index 23e8a52..0000000
--- a/xfig-3.2.5-rhbz1046102.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up xfig.3.2.5c/w_indpanel.c~ xfig.3.2.5c/w_indpanel.c
---- xfig.3.2.5c/w_indpanel.c~ 2011-09-30 21:27:36.000000000 +0200
-+++ xfig.3.2.5c/w_indpanel.c 2014-06-18 16:39:38.783389253 +0200
-@@ -1266,7 +1266,7 @@ static void
- set_arrow_size_state(Widget w, XtPointer closure, XtPointer call_data)
- {
- Boolean state;
-- int which;
-+ intptr_t which;
- Pixel bg1, bg2, fg1, fg2;
-
- /* check state of the toggle and set/remove checkmark */
diff --git a/xfig-3.2.5a-default-apps.patch b/xfig-3.2.5a-default-apps.patch
index 9930866..b5d8d7c 100644
--- a/xfig-3.2.5a-default-apps.patch
+++ b/xfig-3.2.5a-default-apps.patch
@@ -1,36 +1,19 @@
-diff -up xfig.3.2.5a/Fig.ad~ xfig.3.2.5a/Fig.ad
---- xfig.3.2.5a/Fig.ad~ 2007-04-14 04:17:24.000000000 +0200
-+++ xfig.3.2.5a/Fig.ad 2009-03-27 15:15:27.000000000 +0100
-@@ -5,6 +5,10 @@
-
- ! some sample settings you may want to change
-
-+! If the following resource is set to false, xfig will use metric units
-+! by default.
-+Fig.inches: false
-+
- ! The following fixes a problem that some window managers have
- ! with xfig continually resizing itself
-
-@@ -23,18 +27,16 @@
+diff -up xfig.3.2.5c/Fig.ad.default xfig.3.2.5c/Fig.ad
+--- xfig.3.2.5c/Fig.ad.default 2016-02-28 19:52:52.111911633 +0100
++++ xfig.3.2.5c/Fig.ad 2016-02-28 19:54:23.936566220 +0100
+@@ -27,13 +27,11 @@ Fig.ghostscript: gs
! Browser - put your favorite browser here.
! This is for viewing the xfig html reference.
-! For firefox, this command will open the help pages in a running firefox,
-! or start a new netscape if one isn't already running
--Fig.browser: firefox -remote 'openFile(%f)' || firefox %f
+-Fig.browser: sensible-browser
+Fig.browser: xdg-open %f
! pdfviewer - put your favorite pdf viewer here.
! This is for viewing the xfig how-to guide and man pages
--Fig.pdfviewer: xpdf %f
+-Fig.pdfviewer: xfig-pdf-viewer
+Fig.pdfviewer: xdg-open %f
! Spell check program - put your favorite spelling check program here.
! It must write the misspelled words to standard output.
-
--Fig.spellcheckcommand: spell %f
-+Fig.spellcheckcommand: enchant -l %f
-
- ! delay before spinner automatically counts when pressed (milliseconds)
- Fig.spinner_delay: 1000
diff --git a/xfig.appdata.xml b/xfig.appdata.xml
new file mode 100644
index 0000000..7734eb1
--- /dev/null
+++ b/xfig.appdata.xml
@@ -0,0 +1,31 @@
+
+