Author: hbelusca
Date: Thu Jan 7 01:23:51 2016
New Revision: 70513
URL:
http://svn.reactos.org/svn/reactos?rev=70513&view=rev
Log:
[BOOTVID_FONGEN]
- Fix a comment;
- Less hardcoded values.
Modified:
trunk/rosapps/applications/devutils/bootvid_font_generator/bootvid_font_generator.c
Modified:
trunk/rosapps/applications/devutils/bootvid_font_generator/bootvid_font_generator.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/devutils/boot…
==============================================================================
---
trunk/rosapps/applications/devutils/bootvid_font_generator/bootvid_font_generator.c [iso-8859-1]
(original)
+++
trunk/rosapps/applications/devutils/bootvid_font_generator/bootvid_font_generator.c [iso-8859-1]
Thu Jan 7 01:23:51 2016
@@ -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 <colin(a)reactos.org>
*/
@@ -139,8 +139,8 @@
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());