mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 17:05:45 +00:00
[WIN32K]
- add a missing break and reshuffle the code a tiny bit to fix CIDs 514466 and 513487 - don't skip the terminating debug print for ft_glyph_format_bitmap svn path=/trunk/; revision=64847
This commit is contained in:
parent
923584ae2a
commit
7d9706dd1f
1 changed files with 14 additions and 12 deletions
|
@ -2083,7 +2083,7 @@ ftGdiGetGlyphOutline(
|
|||
src += ft_face->glyph->bitmap.pitch;
|
||||
dst += pitch;
|
||||
}
|
||||
return needed;
|
||||
break;
|
||||
}
|
||||
case ft_glyph_format_outline:
|
||||
{
|
||||
|
@ -2113,22 +2113,24 @@ ftGdiGetGlyphOutline(
|
|||
{
|
||||
return GDI_ERROR;
|
||||
}
|
||||
|
||||
start = pvBuf;
|
||||
for (row = 0; row < height; row++)
|
||||
{
|
||||
ptr = start;
|
||||
for (col = 0; col < width; col++, ptr++)
|
||||
{
|
||||
*ptr = (((int)*ptr) * mult + 128) / 256;
|
||||
}
|
||||
start += pitch;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
default:
|
||||
DPRINT1("Loaded glyph format %x\n", ft_face->glyph->format);
|
||||
return GDI_ERROR;
|
||||
}
|
||||
start = pvBuf;
|
||||
for (row = 0; row < height; row++)
|
||||
{
|
||||
ptr = start;
|
||||
for (col = 0; col < width; col++, ptr++)
|
||||
{
|
||||
*ptr = (((int)*ptr) * mult + 128) / 256;
|
||||
}
|
||||
start += pitch;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
case GGO_NATIVE:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue