convert the ft2font glyph to vertices and codes.
(self, font, currx=0.)
| 66 | return char_id |
| 67 | |
| 68 | def glyph_to_path(self, font, currx=0.): |
| 69 | """ |
| 70 | convert the ft2font glyph to vertices and codes. |
| 71 | """ |
| 72 | verts, codes = font.get_path() |
| 73 | if currx != 0.0: |
| 74 | verts[:, 0] += currx |
| 75 | return verts, codes |
| 76 | |
| 77 | def get_text_width_height_descent(self, s, prop, ismath): |
| 78 | if rcParams['text.usetex']: |
no test coverage detected