|
|
| (未显示同一用户的87个中间版本) |
| 第1行: |
第1行: |
| == 引言 == | | == 引言 == |
| 字体是字形的集合,且每个字形是一个描述了一个字母亦或符号的矢量图。字体文件的大小由两个因素决定:
| | 从语译上讲字型(Font)和字体(Typeface)是两种不同的概念。 |
| | |
| | 这里引用 sketch 发布的一篇文章里的一句话,来表述字体兼容性的复杂度:“确保渲染出来的字体能精确的和iOS,Android,Windows下的Chrome,或者Mac下的Safari的显示效果完全一致,这是不可能的。每个系统对字体和图形的渲染都有很大的差异,也非常复杂,保持精确的像素一致性几乎不可能。”,以上。 |
| | |
| | === 字型(Font) === |
| | 字型(Font)泛指拥有相同的字的粗细、宽度、样式等显性的属性风格和尺寸的字形(Glyph) 。 |
| | |
| | === 字形(Glyph) === |
| | |
| | 字形(Glyph)从广义上说就是指字符的外观形态(字的形体/字的骨骼),且每个字形是一个描述了一个字母亦或符号的矢量图。同一个字拥有一种或多种字形。 |
| | |
| | === 字体(Typeface) === |
| | |
| | [https://en.wikipedia.org/wiki/Typeface 字体(Typeface)]是字形的集合,集合内的字型的多尺寸的集合。字体文件的大小由两个因素决定: |
|
| |
|
| * 字形矢量路径的复杂程度。 | | * 字形矢量路径的复杂程度。 |
| 第7行: |
第20行: |
| 暂时没有一种字体可以同时兼容新旧浏览器。 | | 暂时没有一种字体可以同时兼容新旧浏览器。 |
|
| |
|
| === 字体列表 === | | == 字体技术 == |
| | |
| | {| |
| | |- |
| | | 章节:[[/Raster|Raster(栅格字体、位图字体、点阵字体)]] |
| | |- |
| | | 章节:[[/Vector|Vector(矢量字体、轮廓字体)]] |
| | |} |
| | |
| | == 文字系统 == |
| | |
| | === 文本控制器 === |
| | |
| | == 书写系统 == |
| | |
| | == 关键字 == |
| | 字形(glyphs)、符号(symbols)。 |
| | |
| | == 字体排版 == |
| | 字型(Font)、字体(Typeface)、字形(Glyph) |
| | |
| | == 字体设计 == |
| | |
| | == 字面 == |
| | 章节:[[/字面|字面]] |
| | |
| | == 字体列表 == |
| {| class="wikitable" | | {| class="wikitable" |
| |- | | |- |
| 第20行: |
第59行: |
| ==== 等比关系 ==== | | ==== 等比关系 ==== |
| 如果采用 css 预编译,比如 scss 等,在处理边距等问题上乘除结果一般为整数,奇数字体会小数居多,如 13*0.5 等。 | | 如果采用 css 预编译,比如 scss 等,在处理边距等问题上乘除结果一般为整数,奇数字体会小数居多,如 13*0.5 等。 |
| | |
| | == 字体结构(中文) == |
| | === 合体字 === |
| | {| class="wikitable" |
| | |- |
| | | rowspan = "6" | 左右结构<br>(eq: 双) |
| | | rowspan = "6" | 上下结构<br>(eq: 昌) |
| | | rowspan = "6" | 左中右结构<br>(eq: 树) |
| | | rowspan = "6" | 上中下结构<br>(eq: 奚) |
| | | rowspan = "6" | 全包围结构<br>(eq: 圆) |
| | | rowspan = "6" | 镶嵌结构<br>(eq: 噩) |
| | | 左上包围结构(eq: 庙) |
| | |- |
| | | 左下包围结构(eq: 建) |
| | |- |
| | | 右上包围结构(eq: 司) |
| | |- |
| | | 上三包围结构(eq: 同) |
| | |- |
| | | 下三包围结构(eq: 画) |
| | |- |
| | | 左三包围结构(eq: 区) |
| | |} |
| | |
| | === 独体字 === |
|
| |
|
| == 浏览器 == | | == 浏览器 == |
| 第26行: |
第90行: |
| 另一个问题是平分字体,也就是说奇数字体的中线不在字体中间 | | 另一个问题是平分字体,也就是说奇数字体的中线不在字体中间 |
|
| |
|
| === 字体间距 === | | == 族类(GenericFamily) == |
| | 族类定义为不同字体类型的集合。?? |
| | |
| | == 字族(FontFamily) == |
| | 一个字体拥有多种字族?? |
|
| |
|
| === 字体像素宽度 === | | === 字族的构成 === |
| | 基础构成为细体、标准、粗体、斜体。 |
|
| |
|
| == 字族 == | | == 字体族(字族) == |
| 一个字族需要满足指定字符集([https://unicode-table.com/en/ Unicode Table]) | | 一个字族需要满足指定字符集([https://unicode-table.com/en/ Unicode Table]) |
|
| |
|
| == 字体格式 == | | == 字族组(通用字体、类字体) == |
| === 格式示例 === | | === 通用字体 === |
| <blockquote>
| | {| |
| <syntaxhighlight lang="css">
| | |- |
| @font-face {
| | | 章节:[[/SerifFont|衬线字体(Serif Font)]] |
| font-family: <font-name>;
| | |- |
| src: <local/url> <format>,[…];
| | | 章节:[[/Sans-serifFont|无衬线字体(Sans-serif Font)]] |
| font-weight: <font-weight>;
| | |- |
| font-style: <font-style>;
| | | 章节:[[/MonospaceFont|等宽字体(Monospace Font)]] |
| font-stretch: <font-stretch>;
| | |- |
| unicode-range:<unicode-range>;
| | | 章节:[[/CursiveFont|手写字体(Cursive Font)]] |
| }
| | |- |
| </syntaxhighlight></blockquote>
| | | 章节:[[/FantasyFont|无归类艺术字体(Fantasy Font)]] |
| | | |} |
| 示例如下:
| |
| | |
| <syntaxhighlight lang="css">
| |
| @font-face {
| |
| font-family: 'Awesome Font';
| |
| font-style: normal;
| |
| font-weight: 400;
| |
| src: local('Awesome Font'),
| |
| url('/fonts/awesome.woff2') format('woff2'),
| |
| url('/fonts/awesome.woff') format('woff'),
| |
| url('/fonts/awesome.ttf') format('ttf'),
| |
| url('/fonts/awesome.eot') format('eot');
| |
| } | |
| </syntaxhighlight>
| |
| | |
| === [http://www.w3.org/TR/css3-fonts/#descdef-unicode-range Unicode-range] ===
| |
| | |
| 可以将一个大的字体设置成小的子集(例如拉丁,希腊和斯拉夫字母等),并且只是加载这个子集来渲染页面上的字体。使用unicide range 子集并将文件分成字体不同样式的变体可以迅速和高效的下载用户“只需要”下载的子集和变体的字体。
| |
| | |
| 指定一个逗号隔开的数据集合, 数据可以是下面三种形式中的任何一种:
| |
| | |
| * Single codepoint (e.g. U+416)
| |
| * Interval range (e.g. U+400-4ff): indicates the start and end codepoints of a range
| |
| * Wildcard range (e.g. U+4??): ‘?’ characters indicate any hexadecimal digit
| |
|
| |
|
| <syntaxhighlight lang="css">
| | === 字体排印学 === |
| @font-face {
| |
| font-family: 'Awesome Font';
| |
| font-style: normal;
| |
| font-weight: 400;
| |
| src: local('Awesome Font'),
| |
| url('/fonts/awesome-l.woff2') format('woff2'),
| |
| url('/fonts/awesome-l.woff') format('woff'),
| |
| url('/fonts/awesome-l.ttf') format('ttf'),
| |
| url('/fonts/awesome-l.eot') format('eot');
| |
| unicode-range: U+000-5FF; /* Latin glyphs */
| |
| }</syntaxhighlight>
| |
|
| |
|
| === [https://www.w3.org/TR/WOFF2/ WOFF2] ===
| | {| |
| {| class="wikitable" | |
| |- | | |- |
| | IE 浏览器 || || | | | 章节:[[/SlabSerifFont|粗称线体(埃及体、Slab-serif)]] |
| |- | | |- |
| | 其他浏览器 || || | | | 章节:[[/Scripts|草写体(Scripts)]],eq: 花体 |
| |}
| |
| === WOFF ===
| |
| {| class="wikitable"
| |
| |- | | |- |
| | IE 浏览器 || 旧的浏览器不支持 || | | | 章节:[[/Handwritten|手写体(Handwritten)]] |
| |- | | |- |
| | 其他浏览器 || 旧的浏览器不支持 || | | | 章节:[[/Blackletter|铅字体(Blackletter)]],eq:哥特体 |
| |}
| |
| === EOT ===
| |
| {| class="wikitable"
| |
| |- | | |- |
| | IE 浏览器 || 支持 || IE (版本<9)使用 EOT 变体 | | | 章节:[[/Ornamental|装饰体(Ornamental)]] |
| |-
| |
| | 其他浏览器 || 不支持 ||
| |
| |} | | |} |
| === TTF/OTF === | | |
| {| class="wikitable" | | == 字体概念 == |
| | == 基线 == |
| | {| |
| |- | | |- |
| | IE 浏览器 || 部分支持 || | | | 章节:[[/Baseline|基线(baseline)]] |
| |- | | |- |
| | 其他浏览器 || || | | | 章节:[[/Meanline|等分线(meanline)、中线(midine)]] |
| |- | | |- |
| | 安卓 || 支持 || 安卓(版本<4.4)使用 TTF 变体 | | | 章节:[[/Baseline|基线(baseline)]] |
| |} | | |} |
| === SVG === | | |
| === 兼容 === | | === x-height === |
| https://caniuse.com/
| | 从表述上阐述字母 x 的高度 <code>x-height</code> 即基线和等分线之间的距离。 |
| | |
| | == 字体渲染器 == |
| | == Fallback == |
| | [[/Fallback|Fallback]] |
| | |
| | == 字体格式 == |
| | 章节:[[/字体格式|字体格式]] |
|
| |
|
| == 字体压缩 == | | == 字体压缩 == |
| 第123行: |
第157行: |
| * WOFF 有内置的压缩 - 确保你的WOFF压缩器使用了最优化的设置。 | | * WOFF 有内置的压缩 - 确保你的WOFF压缩器使用了最优化的设置。 |
| * WOFF2 使用了用户预定义和压缩算法来减少相对于其他字体格式约30%的文件大小 | | * WOFF2 使用了用户预定义和压缩算法来减少相对于其他字体格式约30%的文件大小 |
| == 字体选择和合成 ==
| |
| == 优化下载和渲染 ==
| |
| * 字体加载请求会在渲染树(the render tree)被创建之后,这可能导致字体渲染被延迟。
| |
| * 字体加载 API 同样也允许我们实现用户自定义的字体加载和渲染政策来重写和替代默认的字体延迟加载
| |
| * Font inlining 允许我们在旧的浏览器中重新书写字体加载形式
| |
| === 字体渲染方式 ===
| |
| 字体的渲染必须在浏览器创建了渲染树(就是DOM树和CSSOM树)之后。
| |
|
| |
|
| 浏览器执行如下操作:
| | == 字体预处理 == |
| | 章节:[[/字体预处理|字体预处理]] |
|
| |
|
| # 解析 HTML 文档
| | == 字体选择和合成 == |
| # 解析 HTML 响应和构造 DOM
| | == 字体度量 == |
| # CSS、JS、图片等资源分配请求
| | 章节:[[/字体度量|字体度量]] |
| #:: CSS资源下载完成并与 DOM 树一起构建 CSSOM,在过程 DOM 树渲染过程中字体被分配请求
| |
|
| |
|
| {| class="wikitable"
| | == 字体渲染 == |
| |+ 不同的浏览器在渲染的时候执行的操作
| | 章节:[[/字体渲染|字体渲染]] |
| |-
| |
| | Safari || 在文本下载全部完成之后才进行文本渲染
| |
| |-
| |
| | Chrome、Firefox || 使用一个回退字体时,进行三秒钟的字体渲染, 并且一旦字体下载完成,浏览器用刚下载的字体再次进行渲染
| |
| |-
| |
| | IE || 立即渲染回退字体,如果请求的字体不可获得,等待字体加载全部完成之后在进行再次渲染。
| |
| |} | |
|
| |
|
| === 字体下载API来优化字体渲染 === | | == 渲染差异 == |
| [http://dev.w3.org/csswg/css-font-loading/ Font Loading API]、[https://github.com/bramstein/fontloader FontLoader polyfill]、[https://github.com/typekit/webfontloader webfontloader library] 提供了一个编程脚本来定义和操作CSS字体,追踪字体的下载进程和重写字体的懒加载行为(懒加载是指在DOM树和CSSOM树加载完成之后才进行字体加载渲染的行为)。 | | 章节:[[/客户端渲染差异|客户端渲染差异]] |
| <syntaxhighlight lang="javascript">
| |
| var font = new FontFace("Awesome Font", "url(/fonts/awesome.woff2)", {
| |
| style: 'normal', unicodeRange: 'U+000-5FF', weight: '400'
| |
| });
| |
| font.load(); // don't wait for render tree, initiate immediate fetch!
| |
| font.ready().then(function() {
| |
| // apply the font (which may rerender text and cause a page reflow)
| |
| // ...
| |
| });</syntaxhighlight>
| |
| === Inlining 来优化渲染字体 ===
| |
| * 在构建 CSSOM 对象的时候, CSS样式中匹配设备的查询将作为首选自动加载;
| |
| * 将字体数据嵌入 CSS 样式表中将强制浏览器来加载字体,并且以高优先级进行不用等到渲染树的完成。
| |
|
| |
|
| 常见问题:
| |
| # Inlining 不允许针对不同个页面自定义的定时器和渲染策略;
| |
| #:: 可以将嵌入字体数据的 CSS 代码写在独立 CSS 文件中,在加载时设置 max-age 属性,避免更新 CSS 文件时再次下载字体。
| |
| # 浏览器通常都是在加载 DOM 和形成 CSSOM 对象之后,形成渲染树之后再渲染数据内容到屏幕。将字体数据放在 CSS 中,等于将分配请求放在 CSSOM 对象形成的时候。
| |
| === 使用 HTTP 缓存优化你的字体 ===
| |
| 使用 HTTP 缓存,为字体设置较长时间的 max-age 没有必要将字体存储在 localStorage 中,这会影响性能。
| |
| == 优化建议 == | | == 优化建议 == |
| # 审查和监听你的字体: 每个网页中不要使用太多的字体,每个字体都要简化它们的变体数量。 | | # 审查和监听你的字体: 每个网页中不要使用太多的字体,每个字体都要简化它们的变体数量。 |
| 第178行: |
第180行: |
| == 字体分类 == | | == 字体分类 == |
|
| |
|
| [https://en.wikipedia.org/wiki/Typeface Typeface]
| | {| |
| == 计算机字体分类 ==
| |
| | |
|
| |
| === 衬线字体(serif) ===
| |
| {| class="wikitable" | |
| |+ Serif
| |
| |- | | |- |
| | Georgia,serif || <p style="font-family:Georgia,serif;">This is a heading<br>This is a paragraph</p> | | | 章节:[[/BitmapFont|点阵字体(Bitmap Font)]] |
| |- | | |- |
| | 'Palatino Linotype','Book Antiqua',Palatino,serif || <p style="font-family:'Palatino Linotype','Book Antiqua',Palatino,serif;">This is a heading<br>This is a paragraph</p> | | | 章节:[[/OutlineFont|轮廓字体(Outline Font)]] |
| |- | | |- |
| | 'Times New Roman',Times,serif || <p style="font-family:'Times New Roman',Times,serif;">This is a heading<br>This is a paragraph</p> | | | 章节:[[/StrokeFont|笔画字体(Stroke Font)]] |
| |- | | |- |
| | 宋体,serif || <p style="font-family:宋体,Times,serif;">This is a heading<br>This is a paragraph</p> | | | 章节:[[/WebFont|网络字体(Web Font)]] |
| |- | | |- |
| | Big Caslon,serif || <p style="font-family:Big Caslon,serif;">This is a heading<br>This is a paragraph</p> | | | 章节:[[/IconFont|图标字体(Icon Font)]] |
| |} | | |} |
|
| |
|
| === 非衬线字体(sans-serif) === | | == 排版原则 == |
| | |
| | 章节: CRAP |
| | |
| | == 信噪比(Signal-to-Noise Ratio) == |
|
| |
|
| {| class="wikitable"
| | == 字体单位 == |
| |+ sans-serif
| | === IOS === |
| |-
| | IOS 系统中默认单位为 pt。 |
| | Arial,Helvetica,sans-serif || <p style="font-family:Arial,Helvetica,sans-serif;">This is a heading<br>This is a paragraph</p>
| |
| |-
| |
| | Arial Black,Gadget,sans-serif || <p style="font-family:Arial Black,Gadget,sans-serif;">This is a heading<br>This is a paragraph</p>
| |
| |-
| |
| | 'Comic Sans MS',cursive,sans-serif || <p style="font-family:'Comic Sans MS',cursive,sans-serif;">This is a heading<br>This is a paragraph</p>
| |
| |-
| |
| | Impact,Charcoal,sans-serif || <p style="font-family:Impact,Charcoal,sans-serif;">This is a heading<br>This is a paragraph</p>
| |
| |-
| |
| | 'Lucida Sans Unicode','Lucida Grande',sans-serif || <p style="font-family:'Lucida Sans Unicode','Lucida Grande',sans-serif;">This is a heading<br>This is a paragraph</p>
| |
| |-
| |
| | Tahoma,Geneva,sans-serif || <p style="font-family:Tahoma,Geneva,sans-serif;">This is a heading<br>This is a paragraph</p>
| |
| |-
| |
| | 'Trebuchet MS',Helvetica,sans-serif || <p style="font-family:'Trebuchet MS',Helvetica,sans-serif;">This is a heading<br>This is a paragraph</p>
| |
| |-
| |
| | Verdana,Geneva,sans-serif || <p style="font-family:Verdana,Geneva,sans-serif;">This is a heading<br>This is a paragraph</p>
| |
| |-
| |
| | Helvetica,sans-serif || <p style="font-family:Helvetica,sans-serif;">This is a heading<br>This is a paragraph</p>
| |
| |-
| |
| | 黑体,sans-serif || <p style="font-family:黑体,sans-serif;">This is a heading<br>This is a paragraph</p>
| |
| |}
| |
|
| |
|
| === 等宽字体(monospace) === | | === ANDROID === |
| | ANDROID 系统使用 sp。 |
|
| |
|
| {| class="wikitable"
| | 换算方式:<math>px = sp * ppi / 160</math> |
| |+ Monospace
| |
| |-
| |
| | 'Courier New',Courier,monospace || <p style="font-family:'Courier New',Courier,monospace;">This is a heading<br>This is a paragraph</p>
| |
| |-
| |
| | 'Lucida Console',Monaco,monospace || <p style="font-family:'Lucida Console',Monaco,monospace;">This is a heading<br>This is a paragraph</p>
| |
| |-
| |
| | Menlo,monospace || <p style="font-family:Menlo,monospace;">This is a heading<br>This is a paragraph</p>
| |
| |}
| |
|
| |
|
| === 手写体(cursive ) === | | == 视觉距离 == |
| Comic Sans MS
| | 假定人眼与显示器的距离为 40cm,估算(视角计算公式-水平视角)可识别字体大小为 2*40·tan(0.3/2),待补充 https://www.sr-research.com/visual-angle-calculator/ |
|
| |
|
| | 1in = 2.54cm |
|
| |
|
| === 幻想体(fantasy ) ===
| | dpi * ((2*40·tan(0.3/2))/2.54cm) |
| Bodoni Ornaments
| |
|
| |
|
| == Fallback == | | == 次像素(Sub-pixel) == |
| <blockquote><pre>
| | === 次像素抗锯齿 === |
| (hasFont && isInUnicodeTable) ? 'Current Font' : 'Next Font'</pre></blockquote>
| | ==== ClearType ==== |
| | === 屏幕翻转 === |
| | 当显示器翻转时,屏幕的次像素排列方向发生变化会间接影响字体的渲染。 |
|
| |
|
| 国际化的站点设置多语种的字体:
| | == PPI == |
| <syntaxhighlight lang="css">
| |
| [lang="ja"] body{
| |
| font-family:"ヒラギノ角ゴ Pro","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,Osaka,"MS Pゴシック","MS PGothic","MS Gothic”,
| |
| "MS ゴシック","Helvetica Neue”,Helvetica,Arial,
| |
| sans-serif !important
| |
| }
| |
| [lang="ko"] body{
| |
| font-family:"나눔 고딕","Nanum Gothic","맑은 고딕","Malgun Gothic”,
| |
| "Apple Gothic","돋움",Dotum,"Helvetica Neue”,Helvetica,
| |
| Arial,sans-serif !important
| |
| }
| |
| [lang^="zh"] body{
| |
| font-family:"Hiragino Sans GB”,"华文细黑","STHeiti","微软雅黑",
| |
| "Microsoft YaHei",SimHei,"Helvetica Neue”,Helvetica,Arial,
| |
| sans-serif !important
| |
| }</syntaxhighlight>
| |
| == 网络安全字体 ==
| |
|
| |
|
| | == 字体平台 == |
|
| |
|
| {| class="wikitable" | | {| class="wikitable" |
| |- | | |- |
| | colspan=2| 无衬线字体 | | ! 谷歌字体 |
| | | [https://fonts.google.com/ Google Fonts] |
| | ! 蒙纳字体 |
| | | [https://www.monotype.com/ Monotype.] |
| | ! 适用于 Apple 平台的字体 |
| | | [https://developer.apple.com/fonts/ Fonts for Apple platforms] |
| |- | | |- |
| | Verdana || <p style="font-family:Verdana;">This is a heading<br>This is a paragraph</p> | | ! Adobe Fonts |
| | | [https://fonts.adobe.com/ Adobe Fonts] |
| | ! Myfonts |
| | | [https://www.myfonts.com/ Myfonts] |
| | ! 方正字体 |
| | | [https://www.foundertype.com/ FounderType] |
| | |} |
| | |
| | 其他:Fontsquirrel、dafont、100fonts、Behance、 |
| | |
| | == 字体工具 == |
| | |
| | {| class="wikitable" |
| | |+ 字体 NPM 组件 |
| |- | | |- |
| | Trebuchet MSe || <p style="font-family:Trebuchet MS;">This is a heading<br>This is a paragraph</p> | | | [https://www.npmjs.com/package/fontmin Fontmin] |
| | | [https://www.npmjs.com/package/ttf2woff2 Ttf2woff2] |
| | | svgicons2svgfont |
| | | svg2ttf |
| | | fonteditor-core |
| | | [https://github.com/Andyliwr/font-carrier font-carrier] |
| | |} |
| | |
| | {| class="wikitable" |
| | |+ 字体处理工具 |
| |- | | |- |
| | Arial || <p style="font-family:Arial;">This is a heading<br>This is a paragraph</p> | | | [http://font-spider.org/ Font Spider] |
| | | [https://www.fontsquirrel.com/tools/webfont-generator Webfont Generator] |
| | | [https://fontforge.org/en-US/ fontforge] |
| | | [https://www.hellofont.cn/home 字由] |
| | |} |
| | |
| | {| class="wikitable" |
| | |+ 字体设计工具 |
| |- | | |- |
| | colspan=2| 衬线 | | | [https://birdfont.org/ BirdFont] |
| | | [https://glyphsapp.com/ Glyphs] |
| | | [https://www.fontlab.com/ Fontlab] |
| | | [https://x04studios.com/ultracharactermap.html Ultra Character Map] |
| | | [https://rightfontapp.com/ RightFont] |
| | | [https://www.lemkesoft.de/en/products/fontbook Fontbook] |
| | | [https://www.fontspace.com/category/premium Premium Fonts] |
| |- | | |- |
| | Georgia || <p style="font-family:Georgia a;">This is a heading<br>This is a paragraph</p> | | | [https://text.design/art-text Art Text] |
| |- | | | [http://2ttf.com/ iFontMaker] |
| | Times New Roman || <p style="font-family:Times New Roman;">This is a heading<br>This is a paragraph</p> | | | [https://robofont.com/ robofont] |
| |- | | | [https://github.com/ecomfe/fonteditor fonteditor] |
| | colspan=2| 符号字体 | | |} |
| |-
| | |
| | Wingdings || <p style="font-family:Wingdings;">This is a heading<br>This is a paragraph</p> | | {| class="wikitable" |
| | |+ 标题文本 |
| |- | | |- |
| | Webdings || <p style="font-family:Webdings;">This is a heading<br>This is a paragraph</p> | | | [https://zenozeng.github.io/fonts.css/ 跨平台中文字体解决方案] |
| |- | | | [https://github.com/zenozeng/font-detect.js WEB 字体检测脚本] |
| | ITC Zapf Dingbats || <p style="font-family:'ITC Zapf Dingbats';">This is a heading<br>This is a paragraph</p> | | | 示例 || 示例 || 示例 |
| |} | | |} |
|
| |
| == 字体生成 ==
| |
| * https://www.npmjs.com/package/fontmin
| |
| * https://www.npmjs.com/package/ttf2woff2
| |
| * https://www.google.com/fonts
| |
| * http://libs.useso.com/
| |
| * http://font-spider.org/
| |
| * http://typesquare.com/zh_tw/
| |