Xfig

{{Short description|Vector graphics editor for UNIX-like systems}}

{{Infobox software

| name = Xfig

| logo =

| screenshot = Xfig.png

| screenshot size = 250px

| caption = Screenshot of Xfig with example drawings

| developer =

| released = {{start date and age|1985}}

| latest release version = 3.2.8b

| latest release date = {{start date and age|2021|10}}{{Cite web|url=https://sourceforge.net/projects/mcj/files/|title = Xfig - Browse Files at SourceForge.net}}

| programming language = C and Xlib

| operating system = Linux, FreeBSD, Solaris, Cygwin

| language = English and Japanese

| genre = Vector graphics editor

| license = xfig[http://mcj.sourceforge.net/frm_authors.html Xfig license]

| website = {{URL|http://mcj.sourceforge.net}}

}}

Xfig is a free and open-source vector graphics editor which runs under the X Window System on most UNIX-compatible platforms.

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 a number of formats, including JPEG, EPS, PostScript, and SVG. 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 PSTricks or PGF/TikZ packages code that allows a smooth integration of Xfig-generated images into LaTeX documents. However, through the EPS export facility, figures can be imbedded into groff documents also, when rendered to PostScript, e. g. though grops.

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.{{citation needed|reason=It isn't clear that it runs on Mac at all.|date=November 2019}}

History

Xfig was written by Supoj Sutanthavibul in 1985 for SunView. 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.{{cite web|url=http://xfig.org/userman/frm_authors.html |title=Credits |date=2009-06-01 |work=Xfig Users Manual version 3.2.5b |publisher=xfig.org |access-date=2011-02-03 |url-status=dead |archive-url=https://web.archive.org/web/20110514193743/http://www.xfig.org/userman/frm_authors.html |archive-date=May 14, 2011 }}

Imports

Xfig can import various files as images:{{cite web

|url=http://xfig.org/userman/frm_drawing.html

|title=Drawing Objects

|date=2009-06-01

|work=Xfig Users Manual version 3.2.5b

|publisher=xfig.org

|access-date=2011-02-03

|url-status=dead

|archive-url=https://archive.today/20130416093357/http://xfig.org/userman/frm_drawing.html

|archive-date=April 16, 2013

}}

Exports

Xfig can export into various formats:{{cite web|url=http://xfig.org/userman/frm_printing.html |title=Printing and Exporting |date=2009-06-01 |work=Xfig Users Manual version 3.2.5b |publisher=xfig.org |access-date=2011-02-03 |url-status=dead |archive-url=https://archive.today/20130416050832/http://xfig.org/userman/frm_printing.html |archive-date=April 16, 2013 }}

See also

{{Portal|Free and open-source software}}

References

{{Reflist}}