diff --git a/doc/_static/font_indexing_thumbnail.svg b/doc/_static/font_indexing_thumbnail.svg new file mode 100644 index 000000000000..e1f0ca9066f5 --- /dev/null +++ b/doc/_static/font_indexing_thumbnail.svg @@ -0,0 +1,529 @@ + + + + + + + + 2026-04-15T15:01:58.541399 + image/svg+xml + + + Matplotlib v3.10.8, https://matplotlib.org/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/galleries/examples/misc/font_indexing.py b/galleries/examples/misc/font_indexing.py index 31388737bcae..808ea7da7b78 100644 --- a/galleries/examples/misc/font_indexing.py +++ b/galleries/examples/misc/font_indexing.py @@ -5,12 +5,14 @@ This example shows how the font tables relate to one another. """ +# sphinx_gallery_thumbnail_path = '_static/font_indexing_thumbnail.svg' import os import matplotlib from matplotlib.ft2font import FT2Font, Kerning + font = FT2Font( os.path.join(matplotlib.get_data_path(), 'fonts/ttf/DejaVuSans.ttf')) font.set_charmap(0)