Commit 6bf2230
committed
Remove cutout for missing font file in PdfFile._embedTeXFont.
If fontfile is None, an error would already have been raised earlier in
dviFontName (which explicitly checks for this case).
(The cutout in _embedTeXFont was introduced first, in ed0066f (2009),
but support for that case appears to have been broken a bit later and
the check in dviFontName was then introduced in 4fcc0e7 (2016) where it
simply improved the clarity of the exception ultimately raised.)1 parent 03fa1ff commit 6bf2230
1 file changed
+0
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1021 | 1021 | | |
1022 | 1022 | | |
1023 | 1023 | | |
1024 | | - | |
1025 | | - | |
1026 | | - | |
1027 | | - | |
1028 | | - | |
1029 | | - | |
1030 | | - | |
1031 | | - | |
1032 | | - | |
1033 | | - | |
1034 | | - | |
1035 | | - | |
1036 | 1024 | | |
1037 | 1025 | | |
1038 | 1026 | | |
| |||
0 commit comments