mirror of
https://github.com/reactos/reactos.git
synced 2024-07-01 02:10:07 +00:00
[FONT][WIN32SS] Re-add casts for gcc
This commit is contained in:
parent
85db46d75c
commit
86ea03bf51
|
@ -256,7 +256,7 @@ RemoveCachedEntry(PFONT_CACHE_ENTRY Entry)
|
||||||
{
|
{
|
||||||
ASSERT_FREETYPE_LOCK_HELD();
|
ASSERT_FREETYPE_LOCK_HELD();
|
||||||
|
|
||||||
FT_Done_Glyph(Entry->BitmapGlyph);
|
FT_Done_Glyph((FT_Glyph)Entry->BitmapGlyph);
|
||||||
RemoveEntryList(&Entry->ListEntry);
|
RemoveEntryList(&Entry->ListEntry);
|
||||||
ExFreePoolWithTag(Entry, TAG_FONT);
|
ExFreePoolWithTag(Entry, TAG_FONT);
|
||||||
g_FontCacheNumEntries--;
|
g_FontCacheNumEntries--;
|
||||||
|
@ -2950,7 +2950,7 @@ ftGdiGlyphSet(
|
||||||
if (FT_Bitmap_Convert(GlyphSlot->library, &BitmapGlyph->bitmap, &AlignedBitmap, 4))
|
if (FT_Bitmap_Convert(GlyphSlot->library, &BitmapGlyph->bitmap, &AlignedBitmap, 4))
|
||||||
{
|
{
|
||||||
DPRINT1("Conversion failed\n");
|
DPRINT1("Conversion failed\n");
|
||||||
FT_Done_Glyph(BitmapGlyph);
|
FT_Done_Glyph((FT_Glyph)BitmapGlyph);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3007,7 +3007,7 @@ ftGdiGlyphCacheSet(
|
||||||
DPRINT1("Conversion failed\n");
|
DPRINT1("Conversion failed\n");
|
||||||
ExFreePoolWithTag(NewEntry, TAG_FONT);
|
ExFreePoolWithTag(NewEntry, TAG_FONT);
|
||||||
FT_Bitmap_Done(GlyphSlot->library, &AlignedBitmap);
|
FT_Bitmap_Done(GlyphSlot->library, &AlignedBitmap);
|
||||||
FT_Done_Glyph(BitmapGlyph);
|
FT_Done_Glyph((FT_Glyph)BitmapGlyph);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4091,7 +4091,7 @@ TextIntGetTextExtentPoint(PDC dc,
|
||||||
/* Bold and italic do not use the cache */
|
/* Bold and italic do not use the cache */
|
||||||
if (EmuBold || EmuItalic)
|
if (EmuBold || EmuItalic)
|
||||||
{
|
{
|
||||||
FT_Done_Glyph(realglyph);
|
FT_Done_Glyph((FT_Glyph)realglyph);
|
||||||
}
|
}
|
||||||
|
|
||||||
previous = glyph_index;
|
previous = glyph_index;
|
||||||
|
@ -5876,7 +5876,7 @@ GreExtTextOutW(
|
||||||
|
|
||||||
previous = glyph_index;
|
previous = glyph_index;
|
||||||
|
|
||||||
FT_Done_Glyph(realglyph);
|
FT_Done_Glyph((FT_Glyph)realglyph);
|
||||||
}
|
}
|
||||||
|
|
||||||
TextWidth = TextLeft - RealXStart;
|
TextWidth = TextLeft - RealXStart;
|
||||||
|
@ -6053,7 +6053,7 @@ GreExtTextOutW(
|
||||||
bResult = FALSE;
|
bResult = FALSE;
|
||||||
if (EmuBold || EmuItalic)
|
if (EmuBold || EmuItalic)
|
||||||
{
|
{
|
||||||
FT_Done_Glyph(realglyph);
|
FT_Done_Glyph((FT_Glyph)realglyph);
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
@ -6066,7 +6066,7 @@ GreExtTextOutW(
|
||||||
bResult = FALSE;
|
bResult = FALSE;
|
||||||
if (EmuBold || EmuItalic)
|
if (EmuBold || EmuItalic)
|
||||||
{
|
{
|
||||||
FT_Done_Glyph(realglyph);
|
FT_Done_Glyph((FT_Glyph)realglyph);
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
@ -6119,7 +6119,7 @@ GreExtTextOutW(
|
||||||
{
|
{
|
||||||
if (EmuBold || EmuItalic)
|
if (EmuBold || EmuItalic)
|
||||||
{
|
{
|
||||||
FT_Done_Glyph(realglyph);
|
FT_Done_Glyph((FT_Glyph)realglyph);
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
@ -6195,7 +6195,7 @@ GreExtTextOutW(
|
||||||
/* No cache, so clean up */
|
/* No cache, so clean up */
|
||||||
if (EmuBold || EmuItalic)
|
if (EmuBold || EmuItalic)
|
||||||
{
|
{
|
||||||
FT_Done_Glyph(realglyph);
|
FT_Done_Glyph((FT_Glyph)realglyph);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue