TiroTypeworks / Nutso

OpenType Layout implementation for nut (stacked) fractions
Creative Commons Zero v1.0 Universal
29 stars 5 forks source link

Inconsistent results across apps #8

Open rbmntjs opened 9 months ago

rbmntjs commented 9 months ago

Hey! I’ve built an implementation of Nutso2 that works in browsers and in FontGoggles, but fails in different ways in InDesign and Illustrator (both most recent). In Illustrator the positioning seems to be broken entirely, and in InDesign the numr will not centre-align.

What magic am I missing here? My mark and mkmk features work fine otherwise.

Nuts Illustrator multiple Nutso FontGoggles Nutso Illustrator simple Nutso InDesign
tiroj commented 9 months ago

I just did a test with the Nutso and Nutso2 fonts in both Illustrator 2024 and InDesign 2024, and the fraction feature is working correctly in both. So I am guessing there is an issue in your font, but it is odd that the results should vary across software.

I presume you are using AFDKO feature code for this, which isn’t my usual OTL workflow, but I would be happy to take a look at your font and see if I can spot an issue. You can email me a john[at]tiro[dot]ca

rbmntjs commented 9 months ago

Thanks! I’ve sent you an e-mail with source and exports so you can perhaps spot where I went wrong.

tiroj commented 9 months ago

Seems to be a bug in Adobe’s non-WRC/HarfBuzz shaping engines. My guess is that the font is running into an erroneous assumptions about lookup types, but would need more time to analyse the problem.