18 lines
534 B
Plaintext
18 lines
534 B
Plaintext
QFT Windows UI font
|
|
|
|
Place a Chinese-capable TrueType font here and name it:
|
|
|
|
qft-ui.ttf
|
|
|
|
The application loads TTF at runtime. It does not embed/distribute font files.
|
|
Lookup order:
|
|
1. QFT_FONT_PATH environment variable
|
|
2. qft-ui.ttf beside the executable
|
|
3. assets/qft-ui.ttf beside the executable
|
|
4. ./assets/qft-ui.ttf from the current working directory
|
|
5. common Windows CJK .ttf files (for example C:\Windows\Fonts\simhei.ttf)
|
|
|
|
Example PowerShell:
|
|
$env:QFT_FONT_PATH = 'D:\fonts\my-cjk-font.ttf'
|
|
cargo run --release
|