reactos/dll/cpl
Hermès Bélusca-Maïto 5d3915d0fc
[CONCFG:FONT][CONSRV] Use a suitable font when changing console output CP; fail if none found. (#4337)
CORE-12451, CORE-17601, CORE-17803
Replaces PR #4281.

When changing the console output code page, check whether the current
font can support it. If not, try to find a suitable font for the new
code page. If none can be found:

- if we are creating a new console, forcefully switch to codepage 437
  (OEM USA) and retry finding a font, falling back to "Terminal" if
  none could be found;

- if we were just changing the current CP, just fail and keep the old
  code page and font.

Rework the console font selection/creation functions for this new job
(see CreateConsoleFontEx() and friends). Elements of implementation
based from https://github.com/microsoft/terminal ; see code for more
information.

Silence the noisy IsValidConsoleFont2() diagnostic messages.

Add Doxygen documentation.

[CONSOLE.CPL] Only add "Terminal" to the enumerated list of faces
+ add a TODO implementation comment.
2022-02-08 15:59:07 +01:00
..
access [TRANSLATION] Update Chinese Traditional (zh-TW) translation (#4154) 2022-01-14 20:22:46 +03:00
appwiz [TRANSLATION] Update Chinese Traditional (zh-TW) translation (#4154) 2022-01-14 20:22:46 +03:00
console [CONCFG:FONT][CONSRV] Use a suitable font when changing console output CP; fail if none found. (#4337) 2022-02-08 15:59:07 +01:00
desk [TRANSLATION] Update Chinese Traditional (zh-TW) translation (#4154) 2022-01-14 20:22:46 +03:00
hdwwiz [TRANSLATION] Update Chinese Traditional (zh-TW) translation (#4154) 2022-01-14 20:22:46 +03:00
hotplug [TRANSLATION] Add Hong Kong Chinese (zh-HK) translation - Part 1 (#3941) 2021-12-30 00:40:57 +03:00
inetcpl [INETCPL] Update German translation 2021-10-11 00:07:39 +02:00
input [TRANSLATION] Update Chinese Traditional (zh-TW) translation (#4154) 2022-01-14 20:22:46 +03:00
intl [TRANSLATION] Chinese Traditional (zh-TW) translation update (#4039) 2021-12-10 01:16:32 +03:00
joy [TRANSLATION] Add Hong Kong Chinese (zh-HK) translation - Part 1 (#3941) 2021-12-30 00:40:57 +03:00
liccpa [TRANSLATION] Add Hong Kong Chinese (zh-HK) translation - Part 1 (#3941) 2021-12-30 00:40:57 +03:00
main [TRANSLATION] Update Chinese Traditional (zh-TW) translation (#4154) 2022-01-14 20:22:46 +03:00
mmsys [TRANSLATION] Update Chinese Traditional (zh-TW) translation (#4154) 2022-01-14 20:22:46 +03:00
ncpa
odbccp32
openglcfg [TRANSLATION] Update Chinese Traditional (zh-TW) translation (#4154) 2022-01-14 20:22:46 +03:00
powercfg [POWERCFG][TRANSLATION] Improve Japanese (ja-JP.rc) 2022-01-13 11:44:02 +09:00
sysdm [TRANSLATION] Cumulative update for Russian (ru-RU) translation 2022-01-18 23:42:06 +03:00
telephon [TRANSLATION] Add Hong Kong Chinese (zh-HK) translation - Part 1 (#3941) 2021-12-30 00:40:57 +03:00
timedate [TRANSLATION] Update Chinese Traditional (zh-TW) translation (#4154) 2022-01-14 20:22:46 +03:00
usrmgr [TRANSLATION] Update Chinese Traditional (zh-TW) translation (#4154) 2022-01-14 20:22:46 +03:00
wined3dcfg
CMakeLists.txt