mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
support ASCFONT.24/ASCFONT.24B too
This commit is contained in:
10
CHANGELOG
10
CHANGELOG
@@ -14,11 +14,11 @@
|
||||
- The code page setting of "country" option will now
|
||||
be ignored for PC-98, JEGA and DOS/V modes. These
|
||||
modes will enforce the desired code page. (Wengier)
|
||||
- Added support for loading ASC16/ASCFONT.15/ASC24/
|
||||
ASCFONT.24C/ASCFONT.24D font files from the UCDOS/
|
||||
ETen Chinese DOS systems for the config options
|
||||
"fontxsbcs", "fontxsbcs16" and "fontxdbcs24" in
|
||||
the [dosv] section for DOS/V systems. (Wengier)
|
||||
- Added support for loading the ASC16/ASCFONT.15/
|
||||
ASC24/ASCFONT.24? font files from the UCDOS/ETen
|
||||
Chinese DOS systems for the options "fontxsbcs",
|
||||
"fontxsbcs16" and "fontxdbcs24" in [dosv] section
|
||||
of the config file for DOS/V systems. (Wengier)
|
||||
- Improved auto-detection of box-drawing characters
|
||||
when using DBCS code pages. (Wengier)
|
||||
- Applied UTF-8 conversions to file browse dialog
|
||||
|
@@ -255,7 +255,7 @@ debuggerrun = debugger
|
||||
# savefile: Select the default save file to save/load states. If specified it will be used instead of the save slot.
|
||||
# saveremark: If set, the save state feature will ask users to enter remarks when saving a state.
|
||||
# forceloadstate: If set, DOSBox-X will load a saved state even if it finds there is a mismatch in the DOSBox-X version, machine type, program name and/or the memory size.
|
||||
#DOSBOX-X-ADV:# compresssaveparts: If set, DOSBox-X will compress components of saved states.
|
||||
#DOSBOX-X-ADV:# compresssaveparts: If set, DOSBox-X will compress components of saved states to save space.
|
||||
#DOSBOX-X-ADV:# skip encoding unchanged frames: Unchanged frames will not be sent to the video codec as a possible performance and bandwidth optimization.
|
||||
#DOSBOX-X-ADV:# capture chroma format: Chroma format to use when capturing to H.264. 'auto' picks the best quality option.
|
||||
#DOSBOX-X-ADV:# 4:4:4 Chroma is at full resolution. This provides the best quality, however not widely supported by editing software.
|
||||
@@ -685,7 +685,7 @@ pc-98 anex86 font =
|
||||
# fontxsbcs16: FONTX2 file used to rendering SBCS characters (8x16) in DOS/V or JEGA mode. If not specified, the default one will be used.
|
||||
# Loading the ASC16 and ASCFONT.15 font files (from the UCDOS and ETen Chinese DOS systems) is also supported for the DOS/V mode.
|
||||
# fontxsbcs24: FONTX2 file used to rendering SBCS characters (12x24) in DOS/V mode (with V-text). If not specified, the default one will be used.
|
||||
# Loading the ASC24/ASCFONT.24C/ASCFONT.24D font files (the latter two from the ETen Chinese DOS system) is also supported.
|
||||
# Loading the ASC24 and ASCFONT.24? font files (the latter from the ETen Chinese DOS system) is also supported for the DOS/V mode.
|
||||
# fontxdbcs: FONTX2 file used to rendering DBCS characters (16x16) in DOS/V or JEGA mode. If not specified, the default one will be used.
|
||||
# For Simplified Chinese DOS/V, loading the HZK16 font file (https://github.com/aguegu/BitmapFont/tree/master/font) is also supported.
|
||||
# For Traditional Chinese DOS/V, loading the STDFONT.15 font file from the ETen Chinese DOS system is also supported.
|
||||
|
@@ -320,7 +320,7 @@ pc-98 anex86 font =
|
||||
# fontxsbcs16: FONTX2 file used to rendering SBCS characters (8x16) in DOS/V or JEGA mode. If not specified, the default one will be used.
|
||||
# Loading the ASC16 and ASCFONT.15 font files (from the UCDOS and ETen Chinese DOS systems) is also supported for the DOS/V mode.
|
||||
# fontxsbcs24: FONTX2 file used to rendering SBCS characters (12x24) in DOS/V mode (with V-text). If not specified, the default one will be used.
|
||||
# Loading the ASC24/ASCFONT.24C/ASCFONT.24D font files (the latter two from the ETen Chinese DOS system) is also supported.
|
||||
# Loading the ASC24 and ASCFONT.24? font files (the latter from the ETen Chinese DOS system) is also supported for the DOS/V mode.
|
||||
# fontxdbcs: FONTX2 file used to rendering DBCS characters (16x16) in DOS/V or JEGA mode. If not specified, the default one will be used.
|
||||
# For Simplified Chinese DOS/V, loading the HZK16 font file (https://github.com/aguegu/BitmapFont/tree/master/font) is also supported.
|
||||
# For Traditional Chinese DOS/V, loading the STDFONT.15 font file from the ETen Chinese DOS system is also supported.
|
||||
|
@@ -247,7 +247,7 @@ debuggerrun = debugger
|
||||
# savefile: Select the default save file to save/load states. If specified it will be used instead of the save slot.
|
||||
# saveremark: If set, the save state feature will ask users to enter remarks when saving a state.
|
||||
# forceloadstate: If set, DOSBox-X will load a saved state even if it finds there is a mismatch in the DOSBox-X version, machine type, program name and/or the memory size.
|
||||
# compresssaveparts: If set, DOSBox-X will compress components of saved states.
|
||||
# compresssaveparts: If set, DOSBox-X will compress components of saved states to save space.
|
||||
# skip encoding unchanged frames: Unchanged frames will not be sent to the video codec as a possible performance and bandwidth optimization.
|
||||
# capture chroma format: Chroma format to use when capturing to H.264. 'auto' picks the best quality option.
|
||||
# 4:4:4 Chroma is at full resolution. This provides the best quality, however not widely supported by editing software.
|
||||
@@ -665,7 +665,7 @@ pc-98 show graphics layer on initialize = true
|
||||
# fontxsbcs16: FONTX2 file used to rendering SBCS characters (8x16) in DOS/V or JEGA mode. If not specified, the default one will be used.
|
||||
# Loading the ASC16 and ASCFONT.15 font files (from the UCDOS and ETen Chinese DOS systems) is also supported for the DOS/V mode.
|
||||
# fontxsbcs24: FONTX2 file used to rendering SBCS characters (12x24) in DOS/V mode (with V-text). If not specified, the default one will be used.
|
||||
# Loading the ASC24/ASCFONT.24C/ASCFONT.24D font files (the latter two from the ETen Chinese DOS system) is also supported.
|
||||
# Loading the ASC24 and ASCFONT.24? font files (the latter from the ETen Chinese DOS system) is also supported for the DOS/V mode.
|
||||
# fontxdbcs: FONTX2 file used to rendering DBCS characters (16x16) in DOS/V or JEGA mode. If not specified, the default one will be used.
|
||||
# For Simplified Chinese DOS/V, loading the HZK16 font file (https://github.com/aguegu/BitmapFont/tree/master/font) is also supported.
|
||||
# For Traditional Chinese DOS/V, loading the STDFONT.15 font file from the ETen Chinese DOS system is also supported.
|
||||
|
@@ -1463,7 +1463,7 @@ void DOSBOX_SetupConfigSections(void) {
|
||||
Pbool->SetBasic(true);
|
||||
|
||||
Pbool = secprop->Add_bool("compresssaveparts", Property::Changeable::WhenIdle,true);
|
||||
Pbool->Set_help("If set, DOSBox-X will compress components of saved states.");
|
||||
Pbool->Set_help("If set, DOSBox-X will compress components of saved states to save space.");
|
||||
|
||||
/* will change to default true unless this causes compatibility issues with other users or their editing software */
|
||||
Pbool = secprop->Add_bool("skip encoding unchanged frames",Property::Changeable::WhenIdle,false);
|
||||
@@ -2083,7 +2083,7 @@ void DOSBOX_SetupConfigSections(void) {
|
||||
|
||||
Pstring = secprop->Add_path("fontxsbcs24",Property::Changeable::OnlyAtStart,"");
|
||||
Pstring->Set_help("FONTX2 file used to rendering SBCS characters (12x24) in DOS/V mode (with V-text). If not specified, the default one will be used.\n"
|
||||
"Loading the ASC24/ASCFONT.24C/ASCFONT.24D font files (the latter two from the ETen Chinese DOS system) is also supported.");
|
||||
"Loading the ASC24 and ASCFONT.24? font files (the latter from the ETen Chinese DOS system) is also supported for the DOS/V mode.");
|
||||
Pstring->SetBasic(true);
|
||||
|
||||
Pstring = secprop->Add_path("fontxdbcs",Property::Changeable::OnlyAtStart,"");
|
||||
|
@@ -222,7 +222,7 @@ static bool LoadFontxFile(const char *fname, int height, bool dbcs) {
|
||||
fclose(mfile);
|
||||
return true;
|
||||
}
|
||||
} else if (sz == SBCS24_LEN && height == 24) {
|
||||
} else if ((sz == SBCS24_LEN || sz == 16384) && height == 24) {
|
||||
fread(jfont_sbcs_24, sizeof(uint8_t), SBCS24_LEN, mfile);
|
||||
fclose(mfile);
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user