typesetsh/font-noto-cjk-sub

Google Noto CJK Substitute package for smaller package size

1.0.0 2022-12-15 14:13 UTC

This package is auto-updated.

Last update: 2024-12-15 18:14:04 UTC


README

Noto CJK Substitute package for smaller package size.

If the CJK font files take up too much space for your deployment, and you don't require them you can use this package to remove them.

Install

Make sure you use a typeset.sh version >= 0.23. Then install thise package, it will replace the CJK package.

composer require typesetsh/font-noto-cjk-sub

Optional

If you still want to support the CJK font set, you can do so by placing the fonts (NotoSansCJKsc-*.otf) files somewhere on your project and add the path to the FontSelector using php.

FontSelector::$fontDirs[] = '/var/fonts/NotoSans';