Rework mapping of dvi glyph indices to freetype indices. by anntzer · Pull Request #29829 · matplotlib/matplotlib · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 42 additions & 12 deletions lib/matplotlib/dviread.py
2 changes: 2 additions & 0 deletions lib/matplotlib/dviread.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ class Text(NamedTuple):
@property
def font_effects(self) -> dict[str, float]: ...
@property
def index(self) -> int: ... # type: ignore[override]
@property
def glyph_name_or_index(self) -> int | str: ...

class Dvi:
Expand Down
12 changes: 1 addition & 11 deletions lib/matplotlib/textpath.py