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

lxgw-wenkai-subset

v1.235.2

Published

Subset of the font LXGW WenKai

Downloads

6

Readme

致谢

(1)字体

(2)工具

(3)字表

  • 《通用规范汉字表》(8105字)

  • GB2312 中的汉字(6763字)

    注:额外添加了“〇”。

用法

(1)文件列表

/* TTF 格式 */
/ttf/lxgwwenkai-regular.original.v1.235.2.ttf
/ttf/lxgwwenkai-regular.subset.v1.235.2.gb2312.ttf
/ttf/lxgwwenkai-regular.subset.v1.235.2.standard.ttf
/ttf/lxgwwenkaiscreen.original.v1.235.ttf (注:Screen 版未发布 v1.235.2 的小更新)
/ttf/lxgwwenkaiscreen.subset.v1.235.gb2312.ttf
/ttf/lxgwwenkaiscreen.subset.v1.235.standard.ttf

/* WOFF2 格式 */
/woff2/lxgwwenkai-regular.original.v1.235.2.woff2
/woff2/lxgwwenkai-regular.subset.v1.235.2.gb2312.woff2
/woff2/lxgwwenkai-regular.subset.v1.235.2.standard.woff2
/woff2/lxgwwenkaiscreen.original.v1.235.woff2
/woff2/lxgwwenkaiscreen.subset.v1.235.gb2312.woff2
/woff2/lxgwwenkaiscreen.subset.v1.235.standard.woff2

/* 字表 */
/text/gb2312.txt
/text/standard.txt

(2)文件名

  • 文件名含 original 的是 @落霞孤鹜 发布的未子集化的源文件

  • 文件名含 subset 的是子集化后的文件

  • 文件名含 gb2312 的字体使用了 GB2312 字库精简

  • 文件名含 standard 的字体使用了《通用规范汉字表》精简

(3)使用

若要在网页中将该字体用作 WebFont (建议使用 WOFF2 格式),

以 screen 版为例,可在样式表中如此调用:

@font-face {
  font-family: LXGW WenKai Screen;
  font-display: swap;
  src:  local(LXGW WenKai Screen),
        url("/fonts/lxgwwenkaiscreen.subset.v1.235.gb2312.woff2") format("woff2");
}
        /* 浏览器会首先检查本地是否已安装该字体,
           若否,则会从网站根目录的 fonts 文件夹中加载 */

body {
  font-family: LXGW WenKai Screen, system-ui, -apple-system, BlinkMacSystemFont, sans-serif, serif;
}

其他

前往 npm

如有更大的字库需求,可以使用 LXGW WenKai Lite / 霞鹜文楷轻便版