Specify both width and height when creating font for width testing
From Bart... When we are creating the console font for testing character widths, we were not specifying width. Because of this, the created font's average width might be larger then what we expect and we might falsely detect that the font was inappropriate for playing Nethack. Fix provides the width that we are expecting when creating the font.
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
/* NetHack 3.6 patchlevel.h $NHDT-Date: 1524690061 2018/04/25 21:01:01 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.119 $ */
|
||||
/* NetHack 3.6 patchlevel.h $NHDT-Date: 1524931630 2018/04/28 16:07:10 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.121 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/*-Copyright (c) Michael Allison, 2012. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
/* NetHack 3.6.1 */
|
||||
/* NetHack 3.6.x */
|
||||
#define VERSION_MAJOR 3
|
||||
#define VERSION_MINOR 6
|
||||
/*
|
||||
* PATCHLEVEL is updated for each release.
|
||||
*/
|
||||
#define PATCHLEVEL 1
|
||||
#define PATCHLEVEL 2
|
||||
/*
|
||||
* Incrementing EDITLEVEL can be used to force invalidation of old bones
|
||||
* and save files.
|
||||
@@ -36,6 +36,10 @@
|
||||
/****************************************************************************/
|
||||
/* Version 3.6.x */
|
||||
|
||||
/* Patch 2, <insert date here>
|
||||
*
|
||||
*/
|
||||
|
||||
/* Patch 1, April 27, 2018
|
||||
* Over four hundred and seventy bug fixes and improvements.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user