Screenshot of Xfig with example drawings
3.2.6 / August 9, 2016
|Written in||C and Xlib|
|Operating system||Linux, Mac OS X, Microsoft Windows, FreeBSD, Solaris|
|Available in||English and Japanese|
|Type||Vector graphics editor|
|License||Free and open source MIT-like License|
In Xfig, figures may be drawn using objects such as circles, boxes, lines, spline curves, text, etc. It is also possible to import images in formats such as GIF, JPEG, EPS, PostScript, etc. Those objects can be created, deleted, moved or modified. Attributes such as colors or line styles can be selected in various ways. For text, 35 fonts are available.
Xfig saves figures in its native text-only "Fig" format. Xfig has a facility to print figures to a PostScript printer too. A convenient feature is the PSTEX or PDFTEX export format that allows a smooth integration of Xfig-generated images into LaTeX documents.
Most operations in Xfig are performed using the mouse, but some operations may also be performed using keyboard accelerators (shortcuts). The interface is designed for a three-button mouse, although it is also possible to use a two button or a one button mouse with appropriate emulation, for example on a Macintosh under OS X.
Xfig was written by Supoj Sutanthavibul in 1985. Ken Yap ported xfig to X11. In 1989, Brian V. Smith added many features. In 1991, Paul King added many features including overhauling the GUI for version 2.0. In 1997, Tom Sato added Japanese text support, spell checker, and search/replace.
Xfig can import various files as images:
- Raster formats: GIF, JPEG, PCX, PNG, PPM, TIFF, XBM, and XPM
- Vector graphics formats: EPS, PostScript
Xfig can export into various formats:
- Raster formats: GIF, JPEG, PNG, PPM, XBM, XPM, PCX, TIFF, SLD
- Formats for printed documents: PostScript, PDF, HP-GL (printer control language used by Hewlett-Packard plotters),
- Vector graphics formats: EPS, SVG, PIC, CGM, MetaFont, MetaPost, EMF, Tk.
- Ipe – A modern vector graphics editor in the spirit of Xfig (including, e.g., LaTeX support).
- Comparison of vector graphics editors
- "Credits". Xfig Users Manual version 3.2.5b. xfig.org. 2009-06-01. Archived from the original on May 14, 2011. Retrieved 2011-02-03.
- "Drawing Objects". Xfig Users Manual version 3.2.5b. xfig.org. 2009-06-01. Archived from the original on July 18, 2011. Retrieved 2011-02-03.
- "Printing and Exporting". Xfig Users Manual version 3.2.5b. xfig.org. 2009-06-01. Archived from the original on July 18, 2011. Retrieved 2011-02-03.
|Wikimedia Commons has media related to Xfig.|
- XFig Version 3.2.5 User Manual
- Xfig homepage at the Wayback Machine (archived January 15, 2013)
- Native Fig file format
- WinFIG, an Xfig clone for Windows (shareware with demo version)
- Applications producing Fig format output files at the Wayback Machine (archived April 25, 2010)