Dear Tim, I was busy trying to use the cairo graphics library in xcircuit, when I came across a few minor issues. - Added a remark to the README to run 'autoreconf -fi'. configure does not run out of the box on my Opensuse 13.1 system. (Well configure does, but make starts to complain). - the font catalog (backslash key) is placed one row too low. - the font catalog does not scale properly IMHO. The font size compared to the grid depends on the window size. Fixed this by just having a fixed grid size and let the 'centerview' do the rest. - the font list in the xtgui menu is garbled, since the temporary strings are interfering by using the same _STR variable. Solved by duplicating the string and freeing it on return. Furthermore: - I have also changed the font catalog to use labels for each character, instead of having an objinst to each glyph. This helps me drawing the font catalog with 'real' fonts.
If you are interested, I also attached a screenshot of the cairo and font work I did. Before you start thinking: 'Yet another graphics library!'. This might actually clean things up significantly. Cairo is a graphics library by a.o. Keith Packard (The leader of the Xorg project). Its drawing functions match very close the ps/pdf interface. The library combines its uniform interface for a.o. Xlib/Xrender, XCB, Win32, Quartz, Xlib/Xrender and OpenGL. So all the work is already done, instead of maintaining it yourself by lots of conditional preprocessor blocks. I just got the code to work. I still need to do some clean-ups before I send it. Regards, Erik. PS: this is a resend. The initial mail was more than the allowed 100kb.
_______________________________________________ Xcircuit-dev mailing list Xcircuit-dev@opencircuitdesign.com http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev