The ultimate anime subtitle font dynamic load solution :)
- Create
config.js&config.phpaccordingly - Put your fonts mess into
build_index/source/folder - Run
index.jsto build the index - Run
install.phpto symlink used fonts tofontsfolder aside to the*.assfiles - Open MPC-HC and enjoy :)
The MPC-HC loads fonts dynamically from fonts folder: reference.
NodeJS helps us to build the index.
PHP script helps us to actually "install" the fonts (by symlink).
Synology NAS comes with PHP 7.3 out of the box and 8.0 can be installed easily, while NodeJS is limited to v12.