matplotlib 3.5.1

AttributesBackRef

Attributes

num_faces :

Number of faces in file.

face_flags, style_flags : int

Face and style flags; see the ft2font constants.

num_glyphs :

Number of glyphs in the face.

family_name, style_name :

Face family and style name.

num_fixed_sizes :

Number of bitmap in the face.

scalable :

Whether face is scalable; attributes after this one are only defined for scalable faces.

bbox :

Face global bounding box (xmin, ymin, xmax, ymax).

units_per_EM :

Number of font units covered by the EM.

ascender, descender :

Ascender and descender in 26.6 units.

height :

Height in 26.6 units; used to compute a default line spacing (baseline-to-baseline distance).

max_advance_width, max_advance_height :

Maximum horizontal and vertical cursor advance for all glyphs.

underline_position, underline_thickness :

Vertical position and thickness of the underline bar.

postscript_name :

PostScript name of the font.

Create a new FT2Font object.

Examples

See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

matplotlib.textpath.TextToPath._get_font

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


File: /matplotlib/ft2font.cpython-39-darwin.so#None
type: <class 'type'>
Commit: