sebschub / FontPro

LaTeX support for Adobe's Pro opentype fonts: Minion Pro, Myriad Pro, Cronos Pro and possibly more
229 stars 42 forks source link

MinionPro: Unknown slot number of character `\j ' (dotless j) with microtype #71

Open Marcool04 opened 8 months ago

Marcool04 commented 8 months ago

Hi there, First of all thanks for maintaining this useful package! I had been searching for some time for a way to use MinionPro with pdflatex and microtype and your package is the only working solution. I was just wondering if you could help me out with understanding this warning, its relevance / importance:

Package microtype Warning: Unknown slot number of character
(microtype)                `\j '
(microtype)                in font encoding `T1' in inheritance list
(microtype)                `microtype.cfg/263(protrusion)'.

Searching around the code and old issues, I noted that MinionPro apparently doesn't provide the "dotless j" (latex \j) and this discussion (which is old and you already commented on): https://tex.stackexchange.com/questions/220777/minionpro-microtype-and-j-is-there-a-way-to-get-rid-of-a-strange-warning/222471#222471 explains this should be fixed by setting a \DeclareCharacterInheritance in mt-MinionPro.cfg that does not include \j.

Well, I happen to have just such a thing in my setup:

grep \\\\j tex/latex/MinionPro/mt-MinionPro.cfg 
 %   j = {\j},

but the warnings are still produced. Also, contrary to what the stackexchange answer states, putting MinionPro before or after microtype makes no difference.

Thanks for any help and/or explanations you could provide. Best regards, Mark.