{"_id":"fonts.css","_rev":"11-c6d33943ebc1e607b930c3762428b466","name":"fonts.css","description":"一直以来跨平台的中文字体 CSS 设置都是一件让人很头疼的事情，这个库打包了一些常见字体的名字，希望能覆盖 Windows、Mac 以及 Linux 的常见字体，方便引用。在 font-family 直接支持宋、楷、黑和仿宋之前，我觉得这样一种解决方案依然还是有其存在价值的。","dist-tags":{"latest":"2.0.0"},"versions":{"1.3.1":{"name":"fonts.css","dependencies":{"js-yaml":">=3.0.1","underscore":"latest"},"description":"一直以来跨平台的中文字体 CSS 设置都是一件让人很头疼的事情，这个库打包了一些常见字体的名字，希望能覆盖 Windows、Mac 以及 Linux 的常见字体，方便引用。在 font-family 直接支持宋、楷、黑和仿宋之前，我觉得这样一种解决方案依然还是必要的。","version":"1.3.1","main":"index.js","directories":{"test":"test"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/zenozeng/fonts.css.git"},"keywords":["fonts"],"author":{"name":"Zeno Zeng"},"license":"MIT","bugs":{"url":"https://github.com/zenozeng/fonts.css/issues"},"gitHead":"75f648ce6b7b8f2cc002f322c3882c016772f062","_id":"fonts.css@1.3.1","_shasum":"c3a22028d42e7c2663eaad0068e8ac95d4a42f72","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"zenozeng","email":"zenoofzeng@gmail.com"},"maintainers":[{"name":"zenozeng","email":"zenoofzeng@gmail.com"}],"dist":{"shasum":"c3a22028d42e7c2663eaad0068e8ac95d4a42f72","tarball":"https://registry.npmjs.org/fonts.css/-/fonts.css-1.3.1.tgz","integrity":"sha512-eECcscXma4a465uZGOLeJ5Nd4VndJu+2mUbo6HlF+2oqhQb+oxFN4We9s+NcA5WE19aM4VUZvaWnWcfMpNsfLg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCof6PbXDIVfg87Hyj2ztZLNXFpjO+4Uytn8PXgJoeLtwIgRRoH7mdqM7ETukH5P1zXW+bt6oxPCd5eO3x2F1rRbIw="}]}},"1.4.0":{"name":"fonts.css","dependencies":{"js-yaml":">=3.0.1","underscore":"latest"},"version":"1.4.0","main":"index.js","directories":{"test":"test"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/zenozeng/fonts.css.git"},"keywords":["fonts"],"author":{"name":"Zeno Zeng"},"license":"MIT","bugs":{"url":"https://github.com/zenozeng/fonts.css/issues"},"gitHead":"a05b91c824e555c75e642aa94b911bcf4d2011b2","description":"一直以来跨平台的中文字体 CSS 设置都是一件让人很头疼的事情，这个库打包了一些常见字体的名字，希望能覆盖 Windows、Mac 以及 Linux 的常见字体，方便引用。在 font-family 直接支持宋、楷、黑和仿宋之前，我觉得这样一种解决方案依然还是必要的。","_id":"fonts.css@1.4.0","_shasum":"72cd43cfe8d82442c4db1c745956bc94e13df8e8","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"zenozeng","email":"zenoofzeng@gmail.com"},"maintainers":[{"name":"zenozeng","email":"zenoofzeng@gmail.com"}],"dist":{"shasum":"72cd43cfe8d82442c4db1c745956bc94e13df8e8","tarball":"https://registry.npmjs.org/fonts.css/-/fonts.css-1.4.0.tgz","integrity":"sha512-S8tU+tP3Vcpbj9lfgpFbc3Cq75vqnQvFfk5hapBtscl18UhLoHr8S1+k3beoFCutKwCta6jmxZNsoU9wepUHVg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCb0idCUyTh9uWKr99BxPgKR99h9BLhoA9guJWibM3t+wIhAOl0Kks/5vFnGeJl1sIpGtP5RW2RIGhuoqbK1VcWth7w"}]}},"1.3.0":{"name":"fonts.css","dependencies":{"js-yaml":">=3.0.1","underscore":"latest"},"version":"1.3.0","main":"index.js","directories":{"test":"test"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/zenozeng/fonts.css.git"},"keywords":["fonts"],"author":{"name":"Zeno Zeng"},"license":"MIT","bugs":{"url":"https://github.com/zenozeng/fonts.css/issues"},"gitHead":"2ffdc201fe5c12e729bffa4edd060eb42854922a","description":"一直以来跨平台的中文字体 CSS 设置都是一件让人很头疼的事情，这个库打包了一些常见字体的名字，希望能覆盖 Windows、Mac 以及 Linux 的常见字体，方便引用。","homepage":"https://github.com/zenozeng/fonts.css#readme","_id":"fonts.css@1.3.0","_shasum":"71de29c2d25eb2b32ca1cc1066c0186dce416bcb","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"zenozeng","email":"zenoofzeng@gmail.com"},"dist":{"shasum":"71de29c2d25eb2b32ca1cc1066c0186dce416bcb","tarball":"https://registry.npmjs.org/fonts.css/-/fonts.css-1.3.0.tgz","integrity":"sha512-58qm6GUiQFFHyBowJ7SFsK58Ou+9h3Ehv6KptVw0pLJmZI+IE+wEIoX1ytiNwsiZMCZqMQnkK0B6P1vIraHWAA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICBhWH3mFNyJuPbbLz027EYCAWC7AMoFHfT2Fv6mfPKdAiBNKHLJR6rJN0YzOC7FhYYAIteyP9voYUqQJmHHy4ACvw=="}]},"maintainers":[{"name":"zenozeng","email":"zenoofzeng@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/fonts.css-1.3.0.tgz_1477389528543_0.2254698381293565"}},"1.1.0":{"name":"fonts.css","dependencies":{"js-yaml":">=3.0.1","underscore":"latest"},"version":"1.1.0","main":"index.js","directories":{"test":"test"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/zenozeng/fonts.css.git"},"keywords":["fonts"],"author":{"name":"Zeno Zeng"},"license":"MIT","bugs":{"url":"https://github.com/zenozeng/fonts.css/issues"},"gitHead":"98984ed418c03f214a981bf2f2dda5c88499eb73","description":"一直以来跨平台的中文字体 CSS 设置都是一件让人很头疼的事情，这个库打包了一些常见字体的名字，希望能覆盖 Windows、Mac 以及 Linux 的常见字体，方便引用。","homepage":"https://github.com/zenozeng/fonts.css#readme","_id":"fonts.css@1.1.0","_shasum":"34d36581c6082f02fad7f220c8922b1681d0edb0","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"zenozeng","email":"zenoofzeng@gmail.com"},"dist":{"shasum":"34d36581c6082f02fad7f220c8922b1681d0edb0","tarball":"https://registry.npmjs.org/fonts.css/-/fonts.css-1.1.0.tgz","integrity":"sha512-KoqYTDlg96l3d/hY+ho4sE8x1ID+woKEaDNL+DiPfl4L9d/pOMwmqNhfyXrYCLjxAFeYU2PLl3wlC2C6VoD6uQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzs2qsfuGx4Mnufiu62dx7Gf33u+UNaQnEvoe/dgOa1gIhAPcRgdUidWbwIeCZCo0iv2PgNNRY21Q7TrzYvHrD/OYo"}]},"maintainers":[{"name":"zenozeng","email":"zenoofzeng@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/fonts.css-1.1.0.tgz_1477389604238_0.2673815081361681"}},"1.0.0":{"name":"fonts.css","dependencies":{"js-yaml":">=3.0.1","underscore":"latest"},"version":"1.0.0","main":"index.js","directories":{"test":"test"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/zenozeng/fonts.css.git"},"keywords":["fonts"],"author":{"name":"Zeno Zeng"},"license":"MIT","bugs":{"url":"https://github.com/zenozeng/fonts.css/issues"},"gitHead":"c50f7504aae03f989c142f36e1064c949beb7397","description":"一直以来跨平台的中文字体 CSS 设置都是一件让人很头疼的事情，这个库打包了一些常见字体的名字，希望能覆盖 Windows、Mac 以及 Linux 的常见字体，方便引用。","homepage":"https://github.com/zenozeng/fonts.css#readme","_id":"fonts.css@1.0.0","_shasum":"b0206e0e666532847f24a7fb7b635060f6dce9ae","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"zenozeng","email":"zenoofzeng@gmail.com"},"dist":{"shasum":"b0206e0e666532847f24a7fb7b635060f6dce9ae","tarball":"https://registry.npmjs.org/fonts.css/-/fonts.css-1.0.0.tgz","integrity":"sha512-Qfhm71RHNnRnMWXOIwoGqmHkudNyX6hXbnNl0yAA2TkRKYSRzM0Di9v8MA1zvsQX57+8et886hGKpR252JbXZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBZnQllZzaMnyZ10XPZe7rxLZwknRgx5WmGGgP2ZKJaYAiEA9/kiSrCTvGe4iGkJ9s2qENgZzGopGhEHHfObfVuIb2Y="}]},"maintainers":[{"name":"zenozeng","email":"zenoofzeng@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/fonts.css-1.0.0.tgz_1477389679199_0.1548134470358491"}},"1.4.1":{"name":"fonts.css","dependencies":{"js-yaml":">=3.0.1","underscore":"latest"},"version":"1.4.1","main":"index.js","directories":{"test":"test"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/zenozeng/fonts.css.git"},"keywords":["fonts"],"author":{"name":"Zeno Zeng"},"license":"MIT","bugs":{"url":"https://github.com/zenozeng/fonts.css/issues"},"gitHead":"6f86abbff47ae94714b887191f33289d7fa97351","description":"一直以来跨平台的中文字体 CSS 设置都是一件让人很头疼的事情，这个库打包了一些常见字体的名字，希望能覆盖 Windows、Mac 以及 Linux 的常见字体，方便引用。在 font-family 直接支持宋、楷、黑和仿宋之前，我觉得这样一种解决方案依然还是必要的。","homepage":"https://github.com/zenozeng/fonts.css#readme","_id":"fonts.css@1.4.1","_shasum":"8069005f5e52089365d3fa5b3b0ca6a060706b4d","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"zenozeng","email":"zenoofzeng@gmail.com"},"dist":{"shasum":"8069005f5e52089365d3fa5b3b0ca6a060706b4d","tarball":"https://registry.npmjs.org/fonts.css/-/fonts.css-1.4.1.tgz","integrity":"sha512-90ORM2zAA58DUi8wU9sdN+dd/uKrmowhrdoFPkHzzbVf9y/+8lOlU9pBeACAfFvKqcM3e7E9y7pTA1xf5OUvvQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHqhZiq+j1UCghFIeaizOKjLPdPLG1+on89+d2zp4dNSAiEAuSummYgeinyIviIhNDVemZJd8X0UNuUkkzLLrvE5oLE="}]},"maintainers":[{"name":"zenozeng","email":"zenoofzeng@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/fonts.css-1.4.1.tgz_1477390119052_0.5233093581628054"}},"1.5.0":{"name":"fonts.css","version":"1.5.0","main":"index.js","scripts":{"build":"cake build","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/zenozeng/fonts.css.git"},"keywords":["fonts"],"author":{"name":"Zeno Zeng"},"license":"MIT","bugs":{"url":"https://github.com/zenozeng/fonts.css/issues"},"devDependencies":{"coffee-script":"^1.11.1","js-yaml":"^3.6.1","lodash":"^4.16.4"},"gitHead":"09e8c7b8e2c892c8ce49bc53c7cbf30b94b2ebd0","description":"一直以来跨平台的中文字体 CSS 设置都是一件让人很头疼的事情，这个库打包了一些常见字体的名字，希望能覆盖 Windows、Mac 以及 Linux 的常见字体，方便引用。在 font-family 直接支持宋、楷、黑和仿宋之前，我觉得这样一种解决方案依然还是必要的。","homepage":"https://github.com/zenozeng/fonts.css#readme","_id":"fonts.css@1.5.0","_shasum":"9437af3f23394e8eafef1e4231c8cc73ed5e969a","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"zenozeng","email":"zenoofzeng@gmail.com"},"dist":{"shasum":"9437af3f23394e8eafef1e4231c8cc73ed5e969a","tarball":"https://registry.npmjs.org/fonts.css/-/fonts.css-1.5.0.tgz","integrity":"sha512-pBgtU3FyzHY57vxqpvv1hi2ZfmAkq637kcXApTnHEOt4q1ADBMwu1ZnCnewNxD1SjUGZxWNt5CslvUA+39eYaw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2+1MIr3l+PGEWyrGFRn/oJpcv542Gf20pdQquNxA0lwIhAPSxay5RWDHyJwyY1OnuM82XRU6zncyexQgZKpMuSIAa"}]},"maintainers":[{"name":"zenozeng","email":"zenoofzeng@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/fonts.css-1.5.0.tgz_1477393142103_0.12754709250293672"},"directories":{}},"2.0.0":{"name":"fonts.css","version":"2.0.0","main":"index.js","scripts":{"build":"ts-node src/build.ts && webpack --mode production","start:dev":"webpack-dev-server"},"repository":{"type":"git","url":"git+https://github.com/zenozeng/fonts.css.git"},"keywords":["fonts"],"author":{"name":"Zeno Zeng"},"license":"MIT","bugs":{"url":"https://github.com/zenozeng/fonts.css/issues"},"devDependencies":{"@types/js-yaml":"^3.10.1","@types/node":"^9.4.7","css-loader":"^0.28.10","file-loader":"^1.1.11","font-detect":"^1.0.0","js-yaml":"^3.11.0","json-loader":"^0.5.7","raw-loader":"^0.5.1","style-loader":"^0.20.3","ts-loader":"^4.0.1","ts-node":"^5.0.1","typescript":"^2.7.2","vue":"^2.5.14","webpack":"^4.1.1","webpack-cli":"^2.0.11","webpack-dev-server":"^3.1.1","yaml-loader":"^0.5.0"},"gitHead":"e60f04c4b0ac42eaf3d00677e35f2cf81841629a","description":"一直以来跨平台的中文字体 CSS 设置都是一件让人很头疼的事情，这个库打包了一些常见字体的名字，希望能覆盖 Windows、Mac 以及 Linux 的常见字体，方便引用。在 font-family 直接支持宋、楷、黑和仿宋之前，我觉得这样一种解决方案依然还是有其存在价值的。","homepage":"https://github.com/zenozeng/fonts.css#readme","_id":"fonts.css@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.7.1","_npmUser":{"name":"zenozeng","email":"zenoofzeng@gmail.com"},"dist":{"integrity":"sha512-Q1f9npa8JaN+HnIB29U+l50XFIJvawglX2Hx+vEjp6VsghQTPRy0/WISnDhY7ozvUs68TXq7F0KxtVU97uUVYw==","shasum":"097e890a44c982c7df55cca8466e3ce7668b790c","tarball":"https://registry.npmjs.org/fonts.css/-/fonts.css-2.0.0.tgz","fileCount":7,"unpackedSize":8765,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBb/v/i5SpJ0X5jEFJ0yntdjJrWVaGXoQtfLOrO5oEzKAiEAtrKi1OaKPvrMPgOdgGufPcO6mRHhJSCnbX5yp3moWpk="}]},"maintainers":[{"name":"zenozeng","email":"zenoofzeng@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fonts.css_2.0.0_1520769858460_0.8152960335591259"},"_hasShrinkwrap":false}},"readme":"# Fonts.css -- 跨平台中文字体解决方案\n\n一直以来跨平台的中文字体 CSS 设置都是一件让人很头疼的事情，这个库打包了一些常见字体的名字，希望能覆盖 Windows、Mac 以及 Linux 的常见字体，方便引用。在 font-family 直接支持宋、楷、黑和仿宋之前，我觉得这样一种解决方案依然还是有其存在价值的。\n\n## Demo & Doc\n\nhttp://zenozeng.github.io/fonts.css/\n\n## NPM\n\n```bash\nnpm install fonts.css --save\n```\n\n## Usage\n\n```html\n<head>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"fonts.css\" />\n</head>\n<body>\n    <p class=\"font-kai\">\n        故天将降大任于是人也必先苦其心智劳其筋骨饿其体肤空乏其身行弗乱其所为所以动心忍性曾益其所不能\n    </p>\n</body>\n```\n\n# Contributors\n\n- [@blackgear](https://github.com/blackgear)\n- [@Bubblings](https://github.com/Bubblings)\n- [@DreaminginCodeZH](https://github.com/DreaminginCodeZH)\n- [@fyears](https://github.com/fyears)\n- [@Hexcles](https://github.com/Hexcles)\n- [@xhacker](https://github.com/xhacker)\n- [@YuzhongHuangCS](https://github.com/YuzhongHuangCS)\n- [@yzyzsun](https://github.com/yzyzsun)\n\n# License\n\nCopyright (C) 2013-2018 Zeno Zeng and contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\n# Footnote\n\n- [不同版本的 Office 提供的字体](http://office.microsoft.com/zh-cn/powerpoint-help/HA010282644.aspx)\n\n- [Microsoft Software License Agreement](http://office.microsoft.com/en-us/products/microsoft-software-license-agreement-FX103576343.aspx)\n\n- [WPS Office Linux版最终用户协议](http://community.wps.cn/wiki/WPS_Office_Linux%E7%89%88%E6%9C%80%E7%BB%88%E7%94%A8%E6%88%B7%E5%8D%8F%E8%AE%AE)\n\n- [如何保证网页的字体在各平台都尽量显示为最高质量的黑体？](http://www.zhihu.com/question/19911793)\n\n- [Web 中文字体应用指南](http://ruby-china.org/topics/14005)\n\n- [Helvetica](http://zh.wikipedia.org/wiki/Helvetica)\n\n- [Linux Font Equivalents to Popular Web Typefaces](https://mondaybynoon.com/linux-font-equivalents-to-popular-web-typefaces/)\n\n- [Fonts supplied with Windows XP](http://www.microsoft.com/typography/fonts/winxp.htm)\n\n- [Mac OS X v10.6: Fonts list](http://support.apple.com/kb/ht5154)\n","maintainers":[{"name":"zenozeng","email":"zenoofzeng@gmail.com"}],"time":{"modified":"2022-06-18T02:50:41.577Z","created":"2015-11-09T10:11:26.105Z","1.3.1":"2015-11-09T10:11:26.105Z","1.4.0":"2015-11-09T11:42:50.845Z","1.3.0":"2016-10-25T09:58:50.475Z","1.1.0":"2016-10-25T10:00:06.255Z","1.0.0":"2016-10-25T10:01:21.369Z","1.4.1":"2016-10-25T10:08:39.304Z","1.5.0":"2016-10-25T10:59:03.833Z","2.0.0":"2018-03-11T12:04:18.521Z"},"keywords":["fonts"],"repository":{"type":"git","url":"git+https://github.com/zenozeng/fonts.css.git"},"author":{"name":"Zeno Zeng"},"bugs":{"url":"https://github.com/zenozeng/fonts.css/issues"},"license":"MIT","readmeFilename":"README.md","homepage":"https://github.com/zenozeng/fonts.css#readme"}