[bug #47109] Cairo/Windows: Unexpected DPI may cause font rendering issues
Ivan Vučica <[email protected]>
| Newsgroups | gmane.comp.lib.gnustep.bugs |
|---|---|
| Message-ID | <[email protected]> |
Follow-up Comment #1, bug #47109 (project gnustep):
If someone wants to continue looking into fixing this, I've spent a few
minutes trying to track this down completely blindly (i.e. I didn't actually
run any code).
The number 16 in '16 characters until whitespace appears' _seems_ to come
from:
http://svn.gna.org/svn/gnustep/libs/gui/trunk/Source/NSLayoutManager.m
method -drawGlyphsForGlyphRange:atPoint: line "#define GBUF_SIZE 16 /* TODO:
tweak */".
Combined with Riccardo's mention that this may be related to DPI, and
following the call to C function GSShowGlyphsWithAdvances() from
http://svn.gna.org/svn/gnustep/libs/gui/trunk/Source/NSGraphicsContext.m
I'd say the fixer will want to look at
http://svn.gna.org/svn/gnustep/libs/back/trunk/Source/cairo/CairoGState.m
method -GSShowGlyphsWithAdvances:::, and
http://svn.gna.org/svn/gnustep/libs/back/trunk/Source/cairo/CairoFontInfo.m
method -drawGlyphs:length:on:.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47109>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/