mcfonts.glyph.space¶
Module Contents¶
- class SpaceGlyph(width: int)¶
Bases:
mcfonts.glyph.Glyph,mcfonts.serde.yaff.ToYaffDataThe space glyph contains its width.
-
__deepcopy__(memodict: collections.abc.Mapping[Any, Any] | None =
None) SpaceGlyph¶ Return a deep copy; width is implicitly copied.
-
bake(scale: int =
1) PIL.Image.Image¶ Return a image rendering of this glyph.
This does not include any right padding.
- get_metrics() mcfonts.glyph.GlyphMetrics¶
Return the metrics of this glyph.
- show() str¶
Return a pretty visual representation of this glyph.
It is best to pass this into
print().
-
height : ClassVar[int] =
1¶
-
maximum_width : ClassVar[int] =
256¶
-
__deepcopy__(memodict: collections.abc.Mapping[Any, Any] | None =