1

This is a recurring topic, but I haven't found a satisfactory and up-to-date answer. I apologize for any redundancy.

I'd like to use Hoefler Text within Linux/Tex Live. I installed the font as a system font. I load it with Lualatex.

Writing in French, Hoefler has some problems with properly kerning the apostrophe:

enter image description here

L\mbox{'}exemple is better:

enter image description here

However, this is not practical. Given that microtype's kerning is not available in Lualatex, how would you best solve the issue? Is this achievable through \directlua? Should I install the font to be used through pdfTex?

Ingmar
  • 6,690
  • 5
  • 26
  • 47
jfk
  • 101
  • 6

1 Answers1

3

After some testing, I realised that the problematic kerning was rather between the "L" et the apostrophe (I also sligthly corrected the "T"):

\directlua{fonts.handlers.otf.addfeature
  {
    name = "kern",
    type = "kern",
    data = {                        
    ["L"] = { ["quoteright"] = 300 },
    ["T"] = { ["quoteright"] = 100 },
    }, 
  }
}
jfk
  • 101
  • 6