Initially, the project was started at the request of the Chinese community.
The plugin allows to use TTF font in the Gothic 1 and Gothic 2. It is recommended to use UTF-8 in the scripts.
For the plugin to work correctly Default.ttf
will be placed to the Gothic\System\Fonts
directory. This font will replace all game fonts.
If this font is not exists, then the system font, which is specified in the SystemPack.ini, will be taken.
To replace a specific font, its name should be identical to the game one: FONT_10_BOOK.TGA
-> FONT_10_BOOK.TTF
.
If the font you have chosen seems small, increase the SystemPack.ini > [Interface] > Scale
option.
Font configurations:
SystemPack.ini > [Font] > Scale
; ... Increases the font size without interface scaling.
; Be careful, so large font may be out of item bounds.
SystemPack.ini > [Font] > DrawShadow
; ... Drops a font shadow to make it more authentic.
SystemPack.ini > [Font] > DrawHighlight
; ... Highlights the font at the top.
SystemPack.ini > [Font] > DefaultSystemFont
; ... Name of the default system font name
; if the Default.ttf is inexists.
libschrift: https://github.com/tomolt/libschrift
Font rendering Library (ISC License).
uchardet https://github.com/BYVoid/uchardet (https://gitlab.freedesktop.org/uchardet/)
Library for detecting language and encoding of the text (MPL 1.1).
compact_enc_det https://github.com/google/compact_enc_det
Library for detecting encoding of the text (Apache License 2.0).