support ChinaSea extension for Traditional Chinese TTF output

This commit is contained in:
Wengier
2021-11-14 02:38:33 -05:00
parent 683705ffa4
commit beec41eef1
8 changed files with 4466 additions and 15 deletions

View File

@@ -672,7 +672,6 @@ pc-98 show graphics layer on initialize = true
# fontxdbcs24: FONTX2 file used to rendering SBCS characters (24x24) in DOS/V mode (with V-text and 24-pixel fonts enabled).
# For Simplified Chinese DOS/V, loading the HZK24? font file (https://github.com/aguegu/BitmapFont/tree/master/font) is also supported.
# For Traditional Chinese DOS/V, loading the STDFONT.24 font file from the ETen Chinese DOS system is also supported.
# gbk: Enables the GBK extension (in addition to the standard GB2312 charset) for the Simplified Chinese DOS/V emulation or TTF output.
# yen: Enables the Japanese yen symbol at 5ch if it is found at 7fh in a custom SBCS font for the Japanese DOS/V or JEGA emulation.
# del: Maps the undefined del symbol (0x7F) to the next character (0x80) for the Japanese DOS/V and other Japanese mode emulations.
# fepcontrol: FEP control API for the DOS/V emulation.
@@ -690,7 +689,6 @@ fontxsbcs24 =
fontxdbcs =
fontxdbcs14 =
fontxdbcs24 =
gbk = false
yen = false
del = true
fepcontrol = both
@@ -1138,6 +1136,8 @@ auxdevice = intellimouse
# halfwidthkana: If set, DOSBox-X enables half-width Katakana to replace upper ASCII characters for the Japanese code page (932) of a non-PC98 machine type in the TTF output.
# blinkc: If set to true, the cursor blinks for the TTF output; setting it to false will turn the blinking off.
# You can also change the blinking rate by setting an integer between 1 (fastest) and 7 (slowest), or 0 for no cursor.
# gbk: Enables the GBK extension (in addition to the standard GB2312 charset) for the Simplified Chinese TTF output or DOS/V emulation.
# chinasea: Enables the ChinaSea extension (in addition to the standard Big5 charset) for the Traditional Chinese TTF output or DOS/V emulation.
# dosvfunc: If set, enables FEP control to function for Japanese DOS/V applications, and changes the blinking of character attributes to high brightness.
font =
fontbold =
@@ -1163,6 +1163,8 @@ autodbcs = true
autoboxdraw = true
halfwidthkana = true
blinkc = true
gbk = false
chinasea = false
dosvfunc = false
[voodoo]