-
Notifications
You must be signed in to change notification settings - Fork 22.5k
/
index.md
55 lines (43 loc) · 1.29 KB
/
index.md
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
---
title: units-per-em
slug: Web/SVG/Attribute/units-per-em
page-type: svg-attribute
status:
- deprecated
browser-compat: svg.elements.font-face.units-per-em
---
{{SVGRef}}{{Deprecated_Header}}
The **`units-per-em`** attribute specifies the number of coordinate units on the "em square", an abstract square whose height is the intended distance between lines of type in the same type size. This is the size of the design grid on which {{Glossary("glyph", "glyphs")}} are laid out.
> [!NOTE]
> This value is almost always necessary as nearly every other attribute requires the definition of a design grid.
You can use this attribute with the following SVG elements:
- {{SVGElement("font-face")}}
## Usage notes
<table class="properties">
<tbody>
<tr>
<th scope="row">Value</th>
<td>
<code
><a href="/en-US/docs/Web/SVG/Content_type#number"
><number></a
></code
>
</td>
</tr>
<tr>
<th scope="row">Default value</th>
<td><code>1000</code></td>
</tr>
<tr>
<th scope="row">Animatable</th>
<td>No</td>
</tr>
</tbody>
</table>
- `<number>`
- : This value indicates the number of coordinate units on the em square.
## Specifications
{{Specifications}}
## Browser compatibility
{{Compat}}