As the new maintainer of xfig/fig2dev, may I inform you that the release 3.2.6 of fig2dev, available from sourceforge, is able to export to tikz. With the -P option, a standalone tex file is generated. fig2dev -L tikz -P f.fig f.tex; xelatex f.tex yields a pdf which has the same size as fig2dev -L eps f.fig f.eps. I would appreciate if you could mention fig2dev 3.2.6 and/or xfig3.2.6 in the tikz/pgf manual.
Below is a montage, on the left the output from fig2dev to eps, on the right to tikz, as per the above commands.
![[img src=c.png]
Note, that in the eps-file, I forgot to remove the filling from drawing the line. Therefore, a thin yellowish line is seen. Also, the eps output from fig2dev fills empty arrowheads with white color. The output via latex and dvips does not look that fine.
The tikz output is also attached. I would be grateful if you could give me some advice on the tikz-output.
* There is some TeX-gymnastics in front to make users able to do \newlength\XFigwidth\XFigwidth80mm and scale the figure, without scaling line widths or font sizes. (Users, unfortunately, do not produce always their drawings in its final size.)
* Note, how I try to detect whether a certain pattern is already declared. I noticed, that re-declaring an arrow is possible, but patterns can only be declared once in a document. Do you have a better idea to solve this problem?
* Is there a possibility to include the arrow.meta, bending and pattern libraries within the tex document? That would alleviate users from having to load the libraries manually in their document.
Binary packages of xfig and fig2dev are currently availabe under debian testing, ubuntu yakkety, fink and fedora. I believe, the deb packages from debian can be installed manually under stable with dpkg -i xx.deb, if the libpng16 library from testing is also installed.
Sorry for strugging with the formatting. Here is the tikz file.