[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #47109] Cairo/Windows: Unexpected DPI may cause font rendering issu
From: |
Ivan Vučica |
Subject: |
[bug #47109] Cairo/Windows: Unexpected DPI may cause font rendering issues |
Date: |
Wed, 10 Feb 2016 16:40:43 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36 |
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/