yex.box.CharBox
yex.box.CharBox(font, ch, from_ligature=None)
#
A Box containing a single character from a font.
Attributes:
| Name | Type | Description |
|---|---|---|
ch |
str
|
the character |
font |
yex.font.Font
|
the font |
from_ligature |
str
|
the ligature that produced this character, or None if there wasn't one. Usually this is None. It's only used for diagnostics. |
Source code in yex/box/box.py
336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 | |