Last active
August 29, 2015 14:20
-
-
Save m13253/866298d42f08c79e39cc to your computer and use it in GitHub Desktop.
Sample text document for Source Han Sans font
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="zh-cn"> | |
<head> | |
<meta charset="utf-8" /> | |
<style> | |
p { | |
width: 600px; | |
font-family: "Source Han Sans SC Normal"; | |
font-weight: 300; | |
font-size: 18px; | |
transform: translateZ(0px); | |
text-rendering: geometricPrecision; | |
-webkit-font-smoothing: antialiased; | |
} | |
:lang(ja) { | |
font-family: "Source Han Sans Normal"; | |
font-weight: 300; | |
} | |
:lang(ko) { | |
font-family: "Source Han Sans K Normal"; | |
font-weight: 300; | |
} | |
:lang(zh-tw) { | |
font-family: "Source Han Sans TC Normal"; | |
font-weight: 300; | |
} | |
.w1 { | |
font-family: "Source Han Sans SC ExtraLight"; | |
font-weight: 100; | |
display: inline-block; | |
} | |
.w2 { | |
font-family: "Source Han Sans SC Light"; | |
font-weight: 200; | |
display: inline-block; | |
} | |
.w3 { | |
font-family: "Source Han Sans SC Normal"; | |
font-weight: 300; | |
display: inline-block; | |
} | |
.w4 { | |
font-family: "Source Han Sans SC Regular"; | |
font-weight: 400; | |
display: inline-block; | |
} | |
.w5 { | |
font-family: "Source Han Sans SC Medium"; | |
font-weight: 500; | |
display: inline-block; | |
} | |
.w7 { | |
font-family: "Source Han Sans SC Bold"; | |
font-weight: 700; | |
display: inline-block; | |
} | |
.w9 { | |
font-family: "Source Han Sans SC Heavy"; | |
font-weight: 900; | |
display: inline-block; | |
} | |
</style> | |
</head> | |
<body> | |
<p> | |
<span class="w5">思源黑体</span>(英语:Source Han Sans)是 Adobe 与 Google 所领导开发的开源字体家族,以 Apache 2.0 许可证授权,属于无衬线黑体。思源黑体于2014年7月16日首次发布,支持繁体中文、简体中文、日文及韩文,并且各有7种字体粗细。公开之时为当时涵盖字元数量最多的字体,44,666 个字元分属于 65,535 个字形中,此为 OpenType 字体技术的极限。 | |
</p> | |
<p> | |
思源黑体的开发以 Adobe 的<span lang="ja-jp">西冢凉子</span>为中心,西文及数字采自 Source Sans Pro 字体,汉字部分则分别以各语种为基础,由不同设计公司制作——日文为 Iwata、中文为常州华文、韩文为 Sandoll 等,其字形皆依循各国国家标准。共包含7种字重(<span class="w1">ExtraLight 100</span>、<span class="w2">Light 200</span>、<span class="w3">Normal 300</span>、<span class="w4">Regular 400</span>、<span class="w5">Medium 500</span>、<span class="w7">Bold 700</span>、<span class="w9">Heavy 900</span>)。 | |
</p> | |
<p> | |
字体的名称,除了英文名 Source Han Sans,日文名是“<span lang="ja-jp">源ノ角ゴシック</span>”、简体中文为“思源黑体”、繁体中文为“<span lang="zh-tw">思源黑體</span>”、韩文为“<span lang="ko-kr">본고딕</span>”。字体文档的格式上,Adobe 发布了三种版本供下载:多语言 OTF 版、各个地区子集版、多语言 OTC 版。而 Adobe 的 TypeKit 服务也可以使用此字体,但出于同步功能,TypeKit 版不能和下载版共存。 | |
</p> | |
<p> | |
Google 公司将此字体另起名为 Noto Sans CJK 发布,但字形本身(包括西文、数字)和 Adobe 的版本完全一样,仅是字重的称呼不一样而已。 | |
</p> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment