mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
c4e2826c73
CORE-12451 CORE-13182 CORE-13196 - CONSOLE: Initialize the additional TrueType fonts cache. * Fix the font preview when a TrueType font has been selected. * Refresh the available fonts and the font preview when the selected code page is changed (Work In Progress), or when the OS pool of font resources has changed (WM_FONTCHANGE message). - CONCFG: Implement support for the additional TrueType fonts cache: the contents of the cache is enumerated under the registry key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont * Add helper functions and macros. * In CreateConsoleFontEx(), set the mandatory font pitch&family flags and remove those that we do not support. * In IsValidConsoleFont2(), update the validity checks and the documentation links. - CONSRV: Load/refresh the additional TrueType fonts cache when needed.
38 lines
934 B
C
38 lines
934 B
C
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS Console Server DLL
|
|
* FILE: win32ss/user/winsrv/concfg/precomp.h
|
|
* PURPOSE: Console settings management - Precompiled header
|
|
* PROGRAMMERS: Hermes Belusca-Maito (hermes.belusca@sfr.fr)
|
|
*/
|
|
|
|
// #pragma once
|
|
|
|
/* PSDK/NDK Headers */
|
|
|
|
#define WIN32_NO_STATUS
|
|
#define _INC_WINDOWS
|
|
#define COM_NO_WINDOWS_H
|
|
|
|
#include <windef.h>
|
|
#include <winbase.h>
|
|
#include <wingdi.h> // For LF_FACESIZE and TranslateCharsetInfo()
|
|
#include <wincon.h>
|
|
#include <winnls.h> // For code page support
|
|
#include <winreg.h>
|
|
// #include <imm.h>
|
|
|
|
// /* Undocumented user definitions */
|
|
// #include <undocuser.h>
|
|
|
|
#define NTOS_MODE_USER
|
|
// #include <ndk/cmfuncs.h>
|
|
// #include <ndk/exfuncs.h>
|
|
#include <ndk/obfuncs.h>
|
|
#include <ndk/rtlfuncs.h>
|
|
|
|
#include <stdio.h> // For swprintf()
|
|
#include <stdlib.h> // For wcstoul()
|
|
#include <strsafe.h>
|
|
|
|
/* EOF */
|