/* NetHack 3.6	mhfont.h	$NHDT-Date: 1432512810 2015/05/25 00:13:30 $  $NHDT-Branch: master $:$NHDT-Revision: 1.12 $ */
/* Copyright (C) 2001 by Alex Kompel 	 */
/* NetHack may be freely redistributed.  See license for details. */

/* font management functions */

#ifndef MSWINFont_h
#define MSWINFont_h

#include "winMS.h"

#define MIN_FONT_WIDTH 9
#define MIN_FONT_HEIGHT 12

typedef struct cached_font {
    int code;
    HFONT hFont;
#if 0 /*JP*/
    BOOL supportsUnicode;
#endif
    int width;
    int height;
} cached_font;

#if 0 /*JP*/
BOOL mswin_font_supports_unicode(HFONT hFont);
#endif
cached_font * mswin_get_font(int win_type, int attr, HDC hdc, BOOL replace);
HFONT mswin_create_splashfont(HWND hWnd);
UINT mswin_charset(void);

#endif /* MSWINFont_h */
