Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ttfonts.map not in zhmetrics #98

Open
1 task done
u-fischer opened this issue Apr 27, 2019 · 5 comments
Open
1 task done

ttfonts.map not in zhmetrics #98

u-fischer opened this issue Apr 27, 2019 · 5 comments
Labels

Comments

@u-fischer
Copy link

If one (or some driver) tries to use ttfonts.map and this is not found, the on-the-fly installation tries to install zhmetrics. But zhmetrics doesn't contain ttfonts.map.

See also https://tex.stackexchange.com/questions/487857/iguanatex-ttfonts-map-missing

I had a ttfonts.map, but don't know which package did install it, for the test I renamed it:

\documentclass{book}
\pdfmapfile{=ttfonts.map}
\begin{document}
ccc
\end{document}
@edocevoli
Copy link
Member

After installing the package: ttfonts.map is installed here:

C:\Program Files\MiKTeX 2.9\fonts\map\ttf2pk\

This is the source:

http://mirrors.ctan.org/fonts/psfonts/zhmetrics/fonts/map/ttf2pk/ttfonts.map

@u-fischer
Copy link
Author

u-fischer commented Apr 27, 2019

Yes, that where my version is too. I don't know why the OP on tex.sx seems to be missing the map-file (and why it is used at all) and will try to find it out, but why does a missing map triggers the installation of zhmetrics which doesn't contain the map?

@QxxxZ
Copy link

QxxxZ commented Apr 27, 2019

Hi,u-fischer(I assume you are the same person on SE),I asked it on LatexSE and lost the password.So I am posting my reply here.

I don't have MikTex installed on that directory.According to MikTex Log
LinkTargetDirectory:C\User\Username\Appdata\Local\Programs\MikTex 2.9\miktex\bin\×64
Root0:C\User\Username\Appdata\Roaming\MikTex\2.9
Root1:C\User\Username\Appdata\Local\Miktex\2.9
Root2:C\User\Username\Appdata\Local\Programs\MikTex\2.9
Root3:C\ProgramData\Miktrx 2.9
Root4:C\ProgramFiles\Miktex 2.9
UserInstall C\User\Username\Appdata\Local\Programs\Miktex 2.9

I could not understand your first comment on SE also there is nothing in Root4.The console .exe runs from Appdata\Local. A similar issue is here sympy/sympy#12669

Edit.Sorry for my ignorance.The issue is resolved.I was wrong to say that zhmetrics is installed,actually it was not.I installed it from the miktex console and everything works fine.

@u-fischer
Copy link
Author

If you have a single user miktex installation look for the map in C:\User\Username\Appdata\Local\Programs\MikTex 2.9\fonts\map\ttf2pk. Beside this, this here is not the right place for a discussion. If you lost your access to tex.sx create a new one and then flag a moderator so that they merge the accounts. Then you can edit your original question.

@edocevoli
Copy link
Member

edocevoli commented Apr 27, 2019

It seems that TL does not install this file (for a reason?), so I will remove it from the MiKTeX zhmetrics package.

See https://tug.org/pipermail/tex-live/2011-April/028899.html

@edocevoli edocevoli transferred this issue from MiKTeX/miktex Apr 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants