Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 803 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 803 Bytes

Subtitle Font PNP

The ultimate anime subtitle font dynamic load solution :)

Usage

  1. Create config.js & config.php accordingly
  2. Put your fonts mess into build_index/source/ folder
  3. Run index.js to build the index
  4. Run install.php to symlink used fonts to fonts folder aside to the *.ass files
  5. Open MPC-HC and enjoy :)

FAQ

How it works?

The MPC-HC loads fonts dynamically from fonts folder: reference.

Why PHP + NodeJS?

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.