On Mon, 2009-12-21 at 13:47 +0100, Christian Schilmoeller wrote: > The problem is that I'm really new to gschem and don't know how the proper > behaviour of text and fonts should be. All I have is a postscript printout of > some test drawing (which looks really nice) and the screen view (which looks > completely wrong with the original source code and "a bit wrong" with my > quick- > and-dirty-quick patch of setting the GEDA_FONT_FACTOR from 1.3 to 0.08. > I have a linux partition on my hard disk too. I'll try to install geda/gschem > there too, for having a reference. > Maybe it would be possible to print out the reported DPI value as a debug > output? > One could compare linux and mac version then.
The DPI values aren't handled directly by gEDA.. cairo and pango do that work for us, and they are very complex pieces of code. There are various different cairo and pango backends and build configurations, so it is possible that those libraries are causing you issues. I can't think of any easy steps to debug the issue further. I guess if the rest of the text in the UI is working "properly", then pango / cairo aren't totally mis-configured. Perhaps there is a bug in our code which is manifesting when the native Mac OS ATSUI font APIs are used (assuming that is where your fonts are coming from).. perhaps there is a bug in the ATSUI backend, I'm just not sure. Perhaps try rebuilding cairo with the following ./configure options added: --disable-freetype --enable-quartz --enable-quartz-font --enable-quartz-image --enable-png (Although that is just a guess.. from http://trac.macports.org/ticket/15052 ) You might need to rebuild gEDA after you install the new cairo, since the installed header files may change. I'm hoping one of the gEDA users who use Mac OS X will come forward with a recipe for getting gEDA 1.6.0 working. (Or at least re-assure me that it can be made to work!) Best wishes, Peter C. _______________________________________________ geda-user mailing list [email protected] http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

