Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6db18d5

Browse filesBrowse files
authored
Merge pull request #30036 from anntzer/texnofont
2 parents 15787d5 + 6bf2230 commit 6db18d5
Copy full SHA for 6db18d5

File tree

1 file changed

+0
-12
lines changed
Filter options

1 file changed

+0
-12
lines changed

‎lib/matplotlib/backends/backend_pdf.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_pdf.py
-12Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,18 +1021,6 @@ def _embedTeXFont(self, fontinfo):
10211021
0, *map(Name, dviread._parse_enc(fontinfo.encodingfile))],
10221022
}
10231023

1024-
# If no file is specified, stop short
1025-
if fontinfo.fontfile is None:
1026-
_log.warning(
1027-
"Because of TeX configuration (pdftex.map, see updmap option "
1028-
"pdftexDownloadBase14) the font %s is not embedded. This is "
1029-
"deprecated as of PDF 1.5 and it may cause the consumer "
1030-
"application to show something that was not intended.",
1031-
fontinfo.basefont)
1032-
fontdict['BaseFont'] = Name(fontinfo.basefont)
1033-
self.writeObject(fontdictObject, fontdict)
1034-
return fontdictObject
1035-
10361024
# We have a font file to embed - read it in and apply any effects
10371025
t1font = _type1font.Type1Font(fontinfo.fontfile)
10381026
if fontinfo.effects:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.