非常教程

SVG参考手册

分类 | Elements

vkern

弃用

该功能已从Web标准中删除。尽管一些浏览器可能仍然支持,但它正在被丢弃。避免使用它并尽可能更新现有的代码; 请参阅本页面底部的兼容性表格来指导您的决定。请注意,此功能可能随时停止工作。

<vkern>SVG元素允许以细调整在顶部至底部的字体两个字形之间的垂直距离。这个过程被称为字距调整。

用法上下文

分类

字体元素

允许的内容

属性

全局属性

  • Core attributesSpecific attributes
  • u1
  • g1
  • u2
  • g2
  • k

DOM接口

这个元素实现了SVGVKernElement接口。

产品规格

Specification

Status

Comment

Scalable Vector Graphics (SVG) 1.1 (Second Edition)The definition of '<vkern>' in that specification.

Recommendation

Initial definition

浏览器兼容性

Feature

Chrome

Firefox (Gecko)

Internet Explorer

Opera

Safari

Basic support

?

?

?

?

?

Feature

Android

Firefox Mobile (Gecko)

IE Phone

Opera Mobile

Safari Mobile

Basic support

?

?

?

?

?

SVG

可缩放矢量图形是基于可扩展标记语言(标准通用标记语言的子集),用于描述二维矢量图形的一种图形格式。它由万维网联盟制定,是一个开放标准。