class MarginKernNode
- supers: Node
Margin kerns result from protrusion.
Example:
assert.node_type("margin_kern", nil, {
id = "margin_kern (28)",
fields = {
"prev (-1)",
"next (0)",
"id (1)",
"subtype (2)",
"attr (3)",
"width (4)",
"glyph (5)",
},
})
Reference:
- Corresponding C source code: texnodes.c#L863-L866
😱 Types incomplete or incorrect? 🙏 Please contribute!
fields
MarginKernNode.subtype
MarginKernNode.attr
MarginKernNode.attr : Node {
next: Node?,
prev: Node?,
id: integer,
subtype: integer,
head: Node?,
attr: Node,
}
A list of attributes.
MarginKernNode.width
the advance of the kern
MarginKernNode.glyph
MarginKernNode.glyph : Node {
next: Node?,
prev: Node?,
id: integer,
subtype: integer,
head: Node?,
attr: Node,
}
the glyph to be used