jpswalsh / academicons

An icon font for academics
https://jpswalsh.github.io/academicons
800 stars 102 forks source link

MTMT Icon Issue #180

Closed diogo-fernan closed 2 years ago

diogo-fernan commented 2 years ago

Hello guys! I am the author and maintainer of https://github.com/diogo-fernan/academicons and ran into an issue where the MTMT icon is not loading in LaTeX. This did not happen with a previous academicons.ttf font file and it now only happens with this icon despite that it seems to be visible at the very end in the Font Book on macOS: mtmt

However, the MTMT icon does not come up with ttfdump:

  % ttfdump academicons.ttf | egrep -i mtmt                                                                                                                                                                                               
  % ttfdump academicons.ttf | egrep -i acm  # an example that works
         Glyf   7  -> PSGlyf Name #   5, 'acm'
         Glyf   8  -> PSGlyf Name #   6, 'acm-square'
         Glyf   9  -> PSGlyf Name #   7, 'acmdl'
         Glyf  10  -> PSGlyf Name #   8, 'acmdl-square'

Not sure if it is related with an install error message on the name table that macOS shows: install-error

Can you please look into it?

nfrerebeau commented 2 years ago

I can't reproduce the problem on my side :

ttfdump academicons.ttf | egrep -i mtmt
         Glyf 136  -> PSGlyf Name # 134, 'mtmt'
         Glyf 137  -> PSGlyf Name # 135, 'mtmt-square'

I may have made a mistake in generating the ttf file when adding the mtmt icon. Could you try again with this one ?

diogo-fernan commented 2 years ago

It seems to be working now with the file that you shared. Thanks!