Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit6db18d5

Browse files
authored
Merge pull request#30036 from anntzer/texnofont
2 parents15787d5 +6bf2230 commit6db18d5

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

‎lib/matplotlib/backends/backend_pdf.py

Lines 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-
iffontinfo.fontfileisNone:
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-
returnfontdictObject
1035-
10361024
# We have a font file to embed - read it in and apply any effects
10371025
t1font=_type1font.Type1Font(fontinfo.fontfile)
10381026
iffontinfo.effects:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp