From fc458c337140e3cff42b34300cec4694f13ed022 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Thu, 7 Jan 2016 01:23:51 +0000 Subject: [PATCH] [BOOTVID_FONGEN] - Fix a comment; - Less hardcoded values. svn path=/trunk/; revision=70513 --- .../bootvid_font_generator/bootvid_font_generator.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rosapps/applications/devutils/bootvid_font_generator/bootvid_font_generator.c b/rosapps/applications/devutils/bootvid_font_generator/bootvid_font_generator.c index 5b4e79404a7..fc4af9906cf 100644 --- a/rosapps/applications/devutils/bootvid_font_generator/bootvid_font_generator.c +++ b/rosapps/applications/devutils/bootvid_font_generator/bootvid_font_generator.c @@ -1,7 +1,7 @@ /* * PROJECT: ReactOS BootVid Font Generator Utility * LICENSE: GNU GPLv2 or any later version as published by the Free Software Foundation - * PURPOSE: Generates the FontData array for the bootdata.c file of bootvid.sys + * PURPOSE: Generates the FontData array for the bootdata.c file of bootvid.dll * COPYRIGHT: Copyright 2016 Colin Finck */ @@ -139,8 +139,8 @@ static void DumpFont(LPSTR FontName, INT FontSize, INT XOffset, INT YOffset) iHeight = -MulDiv(FontSize, GetDeviceCaps(hDC, LOGPIXELSY), 72); hFont = CreateFontA(iHeight, 0, 0, 0, FW_NORMAL, FALSE, FALSE, FALSE, - ANSI_CHARSET, 0, 0, NONANTIALIASED_QUALITY, - FIXED_PITCH, FontName); + ANSI_CHARSET, OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS, + NONANTIALIASED_QUALITY, FIXED_PITCH, FontName); if (!hFont) { fprintf(stderr, "CreateFont failed with error %lu!\n", GetLastError()); -- 2.17.1