using namespace Gdiplus;
-static int CALLBACK fetch_first_font(
- const LOGFONTA *logFont,
- const TEXTMETRICA *textMetrics,
- DWORD fontType,
- LPARAM lParam)
+static int CALLBACK fetch_first_font(const LOGFONTA *logFont,
+ const TEXTMETRICA *, DWORD, LPARAM lParam)
{
/* save the first font we see in the font enumeration */
*((LOGFONTA *)lParam) = *logFont;
delete reinterpret_cast<Layout*>(layout);
};
-boolean gdiplus_textlayout(textspan_t *span, char **fontpath)
+boolean gdiplus_textlayout(textspan_t *span, char **)
{
/* ensure GDI+ is started up: since we get called outside of a job, we can't rely on GDI+ startup then */
UseGdiplus();