Hello Satya,
I integrated the Cygwin compile patches I had from the 3.8 branch. I was able to compile with cairo on cygwin. I like the very nicely anti-aliased figures and text.
I have hooks for Cygwin in xcircuit, but please send me your patches, because I may want to include them in the distribution.
I had to substitute Arial for Helvetica using ~/.fonts.conf, since Helvetica is not available in TTF under Cygwin.
Frankly, I think we all should be using the FreeFont project fonts--- FreeSans, FreeSerif, FreeMono, etc. These are released under GPL and do not have the same distribution problems as Arial (Microsoft) or Helvetica (Adobe). But I haven't done so in the past because that would require that the font be appended to the postscript output file if you want to make sure that a printed version looks like the version on the window. You will have the same problem, since if you substitute Arial, xcircuit still writes out "Helvetica" in the output, so without any font description, any printer will use the Helvetica font, and then the text widths, alignments, spacing, etc., will come out differently. Of course, in the past, all the text widths, alignments, spacing, etc., were all my rough estimates of Helvetica and rounded to the nearest integer, so anybody using xcircuit for the last 20 years has been coping with it.
Incidentally, the TCL and TK auto detection does not work under Ubuntu. It seems TCL_LIB_DIR and TK_LIB_DIR are not set by the tclConfig.sh and tkConfig.sh, but configure.in seems to assume these variables would be set. The usable variables seem to be TCL_LIB_SPEC and TK_LIB_SPEC .
I have already noted that in the configuration script I should only be looking for the tclConfig.sh and tkConfig.sh files, and then I should source those. They will provide the correct definitions for TCL_LIB_SPEC and TK_LIB_SPEC. In the long past (Tcl version 8.4) I had problems doing it that way, so instead I defined TCL_LIB_SPEC and TK_LIB_SPEC within the tool's Makefile. But I have looked at various systems with Tcl version 8.5, and they all seem to be correct, so I will go change the configuration script to source the tclConfig.sh and tkConfig.sh files, and that should make the whole configuration both simpler and more reliable. When I will get around to doing this is another question. . . ---Tim +--------------------------------+-------------------------------------+ | R. Timothy Edwards (Tim) | email: t...@opencircuitdesign.com | | Open Circuit Design | web: http://opencircuitdesign.com | | 22815 Timber Creek Lane | phone: (301) 528-5030 | | Clarksburg, MD 20871-4001 | cell: (240) 401-0616 | +--------------------------------+-------------------------------------+ _______________________________________________ Xcircuit-dev mailing list Xcircuit-dev@opencircuitdesign.com http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev