aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/svg/element/vkern/index.html
blob: 2ba71bbbc77b8e480d965110bd4aac950a3b2ae2 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
---
title: vkern
slug: Web/SVG/Element/vkern
tags:
  - SVG
  - SVG字体
  - 元素
  - 参考
  - 需要兼容性表
  - 需要示例
translation_of: Web/SVG/Element/vkern
---
<div>{{SVGRef}}{{deprecated_header}}</div>

<p>在自上而下的字体中,<code>vkern</code> 元素可以精确地调整两个字符(glyph)间的垂直距离。这个处理被称为<a href="http://en.wikipedia.org/wiki/Kerning">字距处理</a></p>

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

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

<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="示例">示例</h2>

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

<p>该元素实现了 {{domxref("SVGVKernElement")}} 接口。</p>

<h2 id="规范">规范</h2>

<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">规范</th>
   <th scope="col">状态</th>
   <th scope="col">备注</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td>{{SpecName('SVG1.1', 'fonts.html#VKernElement', '&lt;vkern&gt;')}}</td>
   <td>{{Spec2('SVG1.1')}}</td>
   <td>Initial definition</td>
  </tr>
 </tbody>
</table>

<h2 id="浏览器兼容性">浏览器兼容性</h2>



<p>{{Compat("svg.elements.vkern")}}</p>

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

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