Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39cdf5d commit cdbb556Copy full SHA for cdbb556
lib/matplotlib/backends/_backend_pdf_ps.py
@@ -36,8 +36,13 @@ def get_glyphs_subset(fontfile, characters):
36
37
options = subset.Options(glyph_names=True, recommended_glyphs=True)
38
39
- # prevent subsetting FontForge Timestamp and other tables
40
- options.drop_tables += ['FFTM', 'PfEd', 'BDF']
+ # Prevent subsetting extra tables.
+ options.drop_tables += [
41
+ 'FFTM', # FontForge Timestamp.
42
+ 'PfEd', # FontForge personal table.
43
+ 'BDF', # X11 BDF header.
44
+ 'meta', # Metadata stores design/supported languages (meaningless for subsets).
45
+ ]
46
47
# if fontfile is a ttc, specify font number
48
if fontfile.endswith(".ttc"):
0 commit comments