[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [PATCH 2/2] gdi32: Clip font glyphs to fit within text metrics. (try 3)
From:       Alexandre Julliard <julliard () winehq ! org>
Date:       2013-04-30 17:05:32
Message-ID: 874neorlsz.fsf () wine ! dyndns ! org
[Download RAW message or body]

Sam Edwards <cfsworks@gmail.com> writes:

> Content-wise, this is the same as try 2. However, there are two differences:
> 
> 1. I merged the tests down into the same patch.
> 2. This won't crash anymore: see patch 1 in this series.

It still crashes:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff550f680 in get_glyph_outline (incoming_font=<optimized out>, \
glyph=<optimized out>, format=24, lpgm=0x20, abc=0x22c7d0, buflen=288, buf=0x538c4, \
lpmat=0x7ffff5535140) at ../../../wine/dlls/gdi32/freetype.c:6389 6389	               \
((unsigned int)src[hmul * x + rgb_interval * 2] <<  0) | (gdb) bt
#0  0x00007ffff550f680 in get_glyph_outline (incoming_font=<optimized out>, \
glyph=<optimized out>, format=24, lpgm=0x20, abc=0x22c7d0, buflen=288, buf=0x538c4, \
lpmat=0x7ffff5535140) at ../../../wine/dlls/gdi32/freetype.c:6389 #1  \
0x00007ffff550fd1e in freetype_GetGlyphOutline (dev=0x40df0, glyph=<optimized out>, \
format=<optimized out>, lpgm=0x22c9f0, buflen=288, buf=0x538c4, lpmat=0x7ffff5535140) \
at ../../../wine/dlls/gdi32/freetype.c:7133 #2  0x00007ffff54fcd84 in \
GetGlyphOutlineW (hdc=<optimized out>, uChar=103, fuFormat=17, lpgm=0x22c9f0, \
cbBuffer=288, lpBuffer=0x538c4, lpmat2=0x7ffff5535140) at \
../../../wine/dlls/gdi32/font.c:2813 #3  0x00007ffff54c97b5 in render_string \
(hdc=0x490031, dib=<optimized out>, font=0x43cb0, x=95, y=11, flags=12288, \
str=0x51b70, count=13, dx=0x53470, clipped_rects=0x22cbb0, bounds=0x22cba0) at \
../../../wine/dlls/gdi32/dibdrv/graphics.c:707

-- 
Alexandre Julliard
julliard@winehq.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic