Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.gnustep.bug > #4083
| From | Ivan Vučica <INVALID.NOREPLY@gnu.org> |
|---|---|
| Newsgroups | gnu.gnustep.bug |
| Subject | [bug #47109] Cairo/Windows: Unexpected DPI may cause font rendering issues |
| Date | 2016-02-10 16:40 +0000 |
| Message-ID | <mailman.4311.1455122451.843.bug-gnustep@gnu.org> (permalink) |
| References | <20160210-154939.sv82476.78633@savannah.gnu.org> |
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/
Back to gnu.gnustep.bug | Previous | Next | Find similar
[bug #47109] Cairo/Windows: Unexpected DPI may cause font rendering issues Ivan Vučica <INVALID.NOREPLY@gnu.org> - 2016-02-10 16:40 +0000
csiph-web