The ultimate anime subtitle font dynamic load solution :)
- Create
config.js
&config.php
accordingly - Put your fonts mess into
build_index/source/
folder - Run
index.js
to build the index - Run
install.php
to symlink used fonts tofonts
folder aside to the*.ass
files - 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.