Commit ab74d64
committed
Use the first valid line when parsing pdftex.map.
This can be tested by placing two lines with the same `tfmname`, but
different `psname` in a `pdftex.map`:
```
cmr12 CMR10 <cmr12.pfb
cmr12 CMR12 <cmr12.pfb
```
and then running `TEXFONTMAPS=/path/to/pdftex.map pdflatex` on a file
using Computer Modern. It will warn about the second line, and embed
`CMR10` as the name in the resulting PDF.1 parent f4c518e commit ab74d64
File tree
3 files changed
+14
-2
lines changed- lib/matplotlib
- tests
- baseline_images/dviread
3 files changed
+14
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
828 | 828 | | |
829 | 829 | | |
830 | 830 | | |
831 | | - | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
832 | 835 | | |
833 | 836 | | |
834 | 837 | | |
835 | 838 | | |
836 | 839 | | |
837 | 840 | | |
838 | | - | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
839 | 844 | | |
840 | 845 | | |
841 | 846 | | |
| |||
920 | 925 | | |
921 | 926 | | |
922 | 927 | | |
| 928 | + | |
923 | 929 | | |
924 | 930 | | |
925 | 931 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
| |||
0 commit comments