SlackBuilds Repository

15.0 > System > CNS11643-sung-font (20250325)

This package contains the TW-Sung font, provided by CNS11643 Chinese
Standard Interchange Code Master Ideographs from Taiwan.

If you use a SlackBuild manager that checks the MD5 sum of sources,
it migt fail if there are new versions available upstream. There
is no way for the package maintainer (that's me) to download specific
versions of the source, so if it fails, simply proceed and the package
will still get built (hopefully). I'll update the version number and
the MD5 sum when I have time.

A config file is included, 35-CNS11643-sung-font.conf, which binds the
Windows counterparts "MingLiU" (細明體) and "PMingLiU" (新細明體)
to TW-Sung. If you don't want your fonts substituted, please add the
environment variable "ADDCONF=no" in front of the SlackBuild.
Run the SlackBuild like this:

ADDCONF=no ./CNS11643-sung-font.SlackBuild

If you're using a SlackBuild manager, the way of adding variables may
differ; please consult the manual of your program for instructions.

If you don't want your default fonts replaced, you can add this to
/etc/fonts/conf.avail/50-user.conf between the <fontconfig> tags:
(please replace the font names according to the comments)

<!-- Custom font preference -->
<alias>
<family>serif</family>
<prefer>
<!-- preferred serif latin font -->
<family>Noto Serif</family>
<!-- preferred serif fallback font -->
<family>Noto Serif CJK TC</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<!-- preferred sans-serif latin font -->
<family>Noto Sans</family>
<!-- preferred sans-serif fallback font -->
<family>Noto Sans CJK TC</family>
</prefer>
</alias>
<match target="pattern">
<test qual="any" name="family" compare="eq">
<string>monospace</string>
</test>
<!-- replace "Liberation Mono" with preferred monospace font -->
<edit name="family" mode="assign" binding="strong">
<string>Liberation Mono</string>
</edit>
</match>
<alias>
<!-- replace "Liberation Mono" with preferred monospace font -->
<family>Liberation Mono</family>
<prefer>
<!-- preferred monospace font -->
<family>Liberation Mono</family>
<!-- preferred monospace fallback font
(does not necessarily need to be monospace -->
<family>Sarasa Fixed TC</family>
</prefer>
</alias>
<alias>
<family>system-ui</family>
<prefer>
<!-- preferred system-ui latin font (usually sans-serif) -->
<family>Noto Sans</family>
<!-- preferred system-ui fallback font -->
<family>Noto Sans CJK TC</family>
</prefer>
</alias>

The source file can be found at "https://data.gov.tw/dataset/5961". You
can choose to apply one of two licenses to the files: OFL 1.1 or the
Open Government Data License version 1.0 (https://data.gov.tw/license).

Maintained by: ltlnx
Keywords: font,fonts,chinese,sung,cns11643
ChangeLog: CNS11643-sung-font

Homepage:
http://www.cns11643.gov.tw/

Source Downloads:
Fonts_Sung.zip (630437ccba6d2b4ea59514e8001c510e)

Download SlackBuild:
CNS11643-sung-font.tar.gz
CNS11643-sung-font.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 15.0

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2025 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds