mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 09:03:25 +00:00
[USETUP][BOOTDATA] Include optional CJK standard fonts (#2336)
This PR enables the developers to include the CJK standard fonts into ReactOS by adding them in Folder modules/optional. This feature is for test purpose only. You may not use the fonts illegally. The embeddable font files are: mingliu.ttc, simsun.ttc, mssong.ttf, msgothic.ttc, msmincho.ttc, gulim.ttc and batang.ttc. CORE-9619
This commit is contained in:
parent
c89e111c6a
commit
b539dd1c5a
7 changed files with 256 additions and 13 deletions
|
@ -917,7 +917,8 @@ UpdateRegistry(
|
|||
/**/IN PPARTLIST PartitionList, /* HACK HACK! */
|
||||
/**/IN WCHAR DestinationDriveLetter, /* HACK HACK! */
|
||||
/**/IN PCWSTR SelectedLanguageId, /* HACK HACK! */
|
||||
IN PREGISTRY_STATUS_ROUTINE StatusRoutine OPTIONAL)
|
||||
IN PREGISTRY_STATUS_ROUTINE StatusRoutine OPTIONAL,
|
||||
IN PFONTSUBSTSETTINGS SubstSettings OPTIONAL)
|
||||
{
|
||||
ERROR_NUMBER ErrorNumber;
|
||||
NTSTATUS Status;
|
||||
|
@ -1113,6 +1114,14 @@ DoUpdate:
|
|||
SetMountedDeviceValues(PartitionList);
|
||||
}
|
||||
|
||||
#ifdef __REACTOS__
|
||||
if (SubstSettings)
|
||||
{
|
||||
/* HACK */
|
||||
DoRegistryFontFixup(SubstSettings, wcstoul(SelectedLanguageId, NULL, 16));
|
||||
}
|
||||
#endif
|
||||
|
||||
Cleanup:
|
||||
//
|
||||
// TODO: Unload all the registry stuff, perform cleanup,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue