View Issue Details

IDProjectCategoryView StatusLast Update
0001011MetaPostlimitationpublic2019-08-28 09:26
Reporterigor Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
Summary0001011: MetaPost uses psfonts.map, which fails when embedding fonts when dvipsPreferOutline is false
DescriptionWhen "dvipsPreferOutline false" is used in updmap.cfg
and MetaPost is embedding the fonts (prologues:=3;), it looks
into psfonts.map, which makes it fail with this error:

    Warning: font cmr10 cannot be found in any fontmapfile!

$ cat /usr/local/share/texmf/web2c/updmap.cfg
dvipsPreferOutline false

$ ls -l /var/lib/texmf/fonts/map/dvips/updmap/psfonts.map
lrwxrwxrwx 1 root root 14 Aug 27 14:09 /var/lib/texmf/fonts/map/dvips/updmap/psfonts.map -> psfonts_pk.map

$ grep cm.map /usr/share/texlive/texmf-dist/web2c/updmap.cfg
MixedMap cm.map
Steps To Reproduce$ mpost -rec test
$ cat test.fls
INPUT /var/lib/texmf/fonts/map/dvips/updmap/psfonts.map
Additional InformationMetaPost normally uses pdftex.map. But sometimes it uses psfonts.map.
TagsNo tags attached.

Activities

igor

2019-08-28 03:50

reporter  

test.mp (97 bytes)   
outputtemplate:="%j.eps"; prologues:=3;
beginfig(1);
label(btex hello etex, origin);
endfig;
end
test.mp (97 bytes)   

Taco

2019-08-28 09:26

administrator   ~0001715

Use the fontmapfile and fontmapline commands in metapost if your psfonts.map
  cannot be trusted to contain the lines you need.

See section 8.2 in the metapost manual.

Issue History

Date Modified Username Field Change
2019-08-28 03:50 igor New Issue
2019-08-28 03:50 igor File Added: test.mp
2019-08-28 09:26 Taco Note Added: 0001715
2019-08-28 09:26 Taco Status new => resolved
2019-08-28 09:26 Taco Resolution open => no change required