'kern' Horizontal Kerning loopkupand a single
'kern' subtable Horizontal Kerning loopkup 0-1only for Latin. I put kerning for upper / uppercase and upper / lowercase and at end uppercase / small caps in this form:
----------------------------------- A | V W | V.sc W.sc ------------------------- V W | A | A.sc ------------------------- F P | c e o ------------------------------------and so on. However, even if I see correctly all pairs in FontForge preview, using LibreOffice with real smallcaps (and not fake ones) or XeLaTeX, all kerning work fine except uppercase / smallcaps. The space between thw glyphs is determined only by metric, and kerning ignored. I realize that here I gave you only a few information, but at present I've no idea of the reason of this trouble. Any idea? Thank youyou
Comments
- is your FontForge version up to date (I have 24-Sep-2017)?
- do smcp and kern have the same "Scripts & Languages" (click "edit Metadata") activated? (like DFLT{dflt} cyrl{dflt} grek{dflt} latn{dflt})
If this does not help, you may want to replace your glyphs by an open source font and submit the *.sfd file for testing.I tried to reproduce the problem adding a 'kern Horizontal kerning lookup 1 kerning class 11' with parossistic values for A / v.sc and V / a.sc. After I saved the file and generated the font. But nothing changes...
I submit an analogue experiment with EBGaramond-Regular. You can see the file here: https://www.dropbox.com/s/68doqqvv01s4z0b/EBGaramond-Regular.sfd?dl=0
and in that case I don't receive that message...
See this other file with a very small kerning table:
https://www.dropbox.com/s/g94ju8rmmwdbfy7/SamielPro.sfd?dl=0
And now it works with XeTeX too, because I discovered the reason: usually I write W\textsc{aterman} and actually this way no kerning is produced. The right way is to write: \textsc{Waterman} and all works fine.
I don't know if there as another GSUB table which still allows kerning to be done even by writing the code in the first way
and it's useful for my learning. But I think it not so relevant for other people