Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
500 B
Python
Raw Normal View History

from fontTools import ttLib
superclass = ttLib.getTableClass("hmtx")
2022-12-13 11:26:36 +00:00
class table__v_m_t_x(superclass):
"""Vertical Metrics table
The ``vmtx`` table contains per-glyph metrics for the glyphs in a
``glyf``, ``CFF ``, or ``CFF2`` table, as needed for vertical text
layout.
See also https://learn.microsoft.com/en-us/typography/opentype/spec/vmtx
"""
headerTag = "vhea"
advanceName = "height"
sideBearingName = "tsb"
numberOfMetricsName = "numberOfVMetrics"