I committed a fix. Please test both on-screen display, and the result of saving a PDF from Ink (print dialog->save button->foo.pdf). Both work for me with the font that was previously causing problems (DejaVu Sans - probably many others too).
Eric On 2012-01-23, at 2:24 PM, Eric Wasylishen wrote: > I actually narrowed it down and have a fix coming soon. This started when we > switched to the "modern" cairo surface I wrote. The bug is in the way > CairoFontInfo.m doesn't deal with the hinting settings of cairo_font_info_t. > > Basically, it creates a default font options object and uses that to make > measurements of the glyphs. But, when it comes time to draw text with that > font on a xlib surface, which defaults to having hinting enabled, cairo draws > with hinting - so we have metrics calculated with no hinting, but drawing > with hinting, and get the resulting mess. > > Eric > > On 2012-01-23, at 1:55 PM, Fred Kiefer wrote: > >> I would start with checking the screen resolution code as this seems to only >> affect monitors with strange geometry. >> >> Sebastian, could you try to re-enable the old code in the method >> resolutionForScreen: (XGServerWindow.m) and see whether this make any >> difference? Could you also report the result of the command >> xdpyinfo | grep -B2 resolution >> on a monitor where this problem exists? >> >> Fred >> >> On 23.01.2012 20:33, Eric Wasylishen wrote: >>> I just tested the last release (2011-04-14) of base/gui/back, and it >>> looks like the text overlapping does not occur there. My test case is >>> pasting a paragraph of text into Ink and setting the font to "DejaVu >>> Sans". I'll try bisecting to find the revision that introduced the >>> bug, and maybe it will be a quick fix. >>> >>> Eric >>> >>> On 2012-01-23, at 3:10 AM, Sebastian Reitenbach wrote: >>> >>>> Fred Kiefer<fredkie...@gmx.de> wrote: >>>>> In order to get a full GNUstep release out before FOSDEM, that is >>>>> at least base/gui/back, maybe also make, Richard, Eric and I have >>>>> decided to put a code freeze for these libraries in place. Only >>>>> strict bug fixes should go into the code over the next week (or >>>>> maybe a bit longer) and everybody should try to find time to test >>>>> the current code on as many different machines as possible. >>>>> >>>>> There hasn't been a gui release in almost a year and now seems as >>>>> good a time as ever. Feel free to report any bugs you find on the >>>>> mailing list or even better in the bug tracker on Savannah. >>>> >>>> I hope this strange font drawing problem I've seen, and also >>>> Riccardo and Philippe have seen will also get fixed? >> >> >> _______________________________________________ >> Gnustep-dev mailing list >> Gnustep-dev@gnu.org >> https://lists.gnu.org/mailman/listinfo/gnustep-dev > _______________________________________________ Gnustep-dev mailing list Gnustep-dev@gnu.org https://lists.gnu.org/mailman/listinfo/gnustep-dev