Resource-Han-Rounded
Resource-Han-Rounded copied to clipboard
Resource Han Rounded, a rounded font family derived from Source Han Sans.
Resource Han Rounded
This font is derived from Source Han Sans.
Warranty: the fonts are licensed under SIL Open Font License while other parts are not. See LICENSE.md for details.
Download & Deployment Configurations
The pre-release currently only includes OpenType/CFF2 variable font configurations.
For usage with Microsoft Office series software, please visit MSOffice-RHR for a shorter name version to prevent bugs in software.
Configuration: OpenType/CFF2 Variable Font
OpenType/CFF2 variable font (theoretically) works with Windows 10 1803+, macOS 10.15+, Linux with FreeType 2.8+. However, latest OS releases are always recommended because early releases may have critical bugs like source-han-sans#290 with this format.
- OTC: pack 5 language-specific OTFs to a single OTC file, recommended for latest OS.
- OTF: language-specific OTFs for developers and Windows 10 1809 users.
- Subset OTF (CN/TW/HK/JP/KR): region-specific subset OTFs, following Source Han Sans notations.
Development
Project Structure
Although there is package.json
, this project is not an NPM package. package.json
is used for quick dependency installation.
─┬─ src/, build/, dist/ : source fonts and generated fonts
├─ res/ : resources (images, htmls, etc)
├─ module/ : CommonJS modules called by scripts/*
├─ script/ : main scripts that do the font manipulation
├─ configure.js : configurations (name, version, exported instances, etc)
│ generates makefile if run as main script
├─ LICENSE.md : license clarification
└─ OFL-License.txt : the OFL license file for distributors
(e.g. making package for Linux)
How to Build
Resource Han Rounded can be built on Linux or WSL (2).
Note: GNU userland is assumed in makefile. macOS is not tested.
WARNING: Each job requires ~12 GiB memory at peak.
Dependencies:
Put Source Han Sans variable OTF and subset OTF files (5 + 5 = 10 files) to src/
, and run:
npm install
node configure.js >Makefile
make -j<n> all
Available make
targets:
- OpenType/CFF2 variable font
-
cff2-otc
: OTC file. -
cff2-vf
: OTFs and subset OTFs. -
dist-cff2-otc
: OTC distribution package (RHR-CFF2-OTC-<version>.7z
). -
dist-cff2-otf
: OTFs distribution package (RHR-CFF2-OTF-<version>.7z
). -
dist-cff2-subsetotf
: subset OTF distribution packages (RHR-CFF2-<CN|TW|HK|J|K>-<version>.7z
).
-
- OpenType/CFF1 instance
-
cff1-otc
: OTC files. -
cff1-instance
: OTFs and subset OTFs. -
dist-cff1-otc
: OTC distribution package (RHR-CFF1-OTC-<version>.7z
). -
dist-cff1-otf
: OTFs distribution package (RHR-CFF1-OTF-<version>.7z
). -
dist-cff1-subsetotf
: subset OTF distribution packages (RHR-CFF1-<CN|TW|HK|J|K>-<version>.7z
).
-
- OpenType/TT hinted instance will be available later.
Credits
Source Han Sans is a high quality open source typeface released by Adobe and Google.