npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

chiron-sans-hk-pro-webfont

v1.11.1

Published

Webfont version of Chiron Sans HK Pro, a font specialized for Traditional Chinese environment.

Downloads

35

Readme

Chiron Sans HK Pro Webfont

DEPRECATION NOTICE

**This project is superseded by Chiron Hei HK and is no longer maintained. New users are highly recommended to start with Chiron Hei HK instead. For the details behind this move, check out the Chiron Font website (in Chinese only). **

About

This package provides the webfont version of Chiron Sans HK Pro (昭源黑體 Pro) that can be used in webpages.

Similar to Chiron Sans HK, Chiron Sans HK Pro is a CJK typeface derived from the Source Han Sans / Noto Sans CJK font family. Its goal is to provide a modern, region-agnostic glyph set adopting the “written” style that is similar to the prevailing, usually commercial, typefaces such that it is suitable for use in a Traditional Chinese environment. While Chiron Sans HK provides exactly the same amount of Latin, Greek and Cyrillic (LGC) characters as in Source Han Sans, Chiron Sans HK Pro integrates the entire glyph set of Source Sans 3 into it, thus providing an even richer coverage of LGC characters and symbols.

Chiron Sans HK Pro comes with three configurations: OpenType/CFF (OTF), OpenType/CFF2 (OTF) variable font, and webfont version in WOFF File Format 2.0 (WOFF2) format. The webfont version utilizes Unicode-range subsetting technology which allows the browser to only download the subset(s) of the font it needs on a page. This means reduced download sizes and improved loading performance. This package contains only the webfont configuration (i.e. the CSS file and WOFF 2.0 font resources) for easy self-hosting.

Check out the official website (Chinese only) for usage example.

Usage

First, install this package:

npm install chiron-sans-hk-pro-webfont 

Include the css/vf.css file in your web page to start using it. You may also include css/vf-italic.css for the italic style of the typeface. For instance, if you use webpack, you would import the font's CSS files with the following statements:

@import '~chiron-sans-hk-webfont/css/vf.css';
@import '~chiron-sans-hk-webfont/css/vf-italic.css';

Now you can access this font by specifying the Chiron Sans HK Pro WS font family in your stylesheet. For instance:

body {
    font-family: "Chiron Sans HK Pro WS", sans-serif;
}

The table below shows the corresponding font-weight values of the default static font weights. Since this is a variable font, you can also specify any value between 250 and 900 to the font-weight property.

| Font Weight | CSS font-weight Value | |---|---| | ExtraLight | 250 | | Light | 300 | | Normal | 350 | | Regular | 400 | | Medium | 500 | | Bold | 700 | | Heavy | 900 |

Licensing

Chiron Sans Pro HK is licensed under the SIL Open Font License, Version 1.1. The full text of the license is available at https://scripts.sil.org/OFL_web.