aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/svg/element/hkern/index.html
blob: 3c2914a0dc05c05d68c0cddea5a6f94b7f1f613f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
title: hkern
slug: Web/SVG/Element/hkern
tags:
  - SVG
  - SVG字体
  - 元素
  - 参考
  - 需要兼容性表
  - 需要示例
translation_of: Web/SVG/Element/hkern
---
<div>{{SVGRef}}</div>

<p>在自上而下的字体中,<code>hkern</code>元素可以精细调整两个雕刻文字的水平距离。这个处理就是”<a href="http://en.wikipedia.org/wiki/Kerning">字距处理</a></p>

<h2 id="用法">用法</h2>

<p>{{svginfo}}</p>

<h2 id="示例">示例</h2>

<h2 id="属性">属性</h2>

<h3 id="全局属性">全局属性</h3>

<ul>
 <li><a href="/en/SVG/Attribute#Core" title="en/SVG/Attribute#Core">核心属性</a> »</li>
</ul>

<h3 id="专有属性">专有属性</h3>

<ul>
 <li>{{ SVGAttr("u1") }}</li>
 <li>{{ SVGAttr("g1") }}</li>
 <li>{{ SVGAttr("u2") }}</li>
 <li>{{ SVGAttr("g2") }}</li>
 <li>{{ SVGAttr("k") }}</li>
</ul>

<h2 id="DOM_接口">DOM 接口</h2>

<p>该元素实现了<code><a href="/en/DOM/SVGVKernElement" title="en/DOM/SVGVKernElement">SVGHKernElement</a></code>接口。</p>

<h2 id="参见">参见</h2>

<ul>
 <li>{{ SVGElement("font") }}</li>
 <li>{{ SVGElement("glyph") }}</li>
 <li>{{ SVGElement("hkern") }}</li>
 <li><a href="/en/SVG/Tutorial/SVG_fonts" title="en/SVG/Tutorial/SVG_Fonts">SVG教程:SVG字体</a></li>
</ul>