gfngfn / SATySFi

A statically-typed, functional typesetting system
GNU Lesser General Public License v3.0
1.16k stars 83 forks source link

Unable to load `inconsolatalgc.ttf` (GSUB-related error) #157

Closed nyuichi closed 5 years ago

nyuichi commented 5 years ago

(Probably related to #156)

Satysfi throws an error when I try to use the Inconsolata LGC font.

$ satysfi test.saty
[...]
! [Error] font file 'inconsolatalgc.ttf' is broken;
      Unexpected end of input in table 'GSUB'; get_ligature_table
gfngfn commented 5 years ago

Thank you for reporting. The bug seems fixed by this commit for the forked version of otfm. This change was reflected by dd181b2c988c593c9d8e70933125d57a2f6b853b and will be merged into master soon.

nyuichi commented 5 years ago

@gfngfn Thank you for the quick response! BTW, does your fix mean that #156 is fixed as well?

gfngfn commented 5 years ago

@nyuichi Unfortunately the error #156 still remains… It seems due to an independent bug of the forked version of otfm.

nyuichi commented 5 years ago

@gfngfn Thank you for the clarification! I will do anything I can help you with about this, so please tell me then.