Closed princjef closed 6 years ago
Updated with a fix to actually handle fonts missing the OS/2 table rather than skipping them: https://github.com/princjef/font-finder/pull/6
@princjef should this fix prevent errors even when the font doesn't exist? https://github.com/xtermjs/xterm-addon-ligatures/issues/16#issuecomment-412345273
@Tyriar Yes the success/failure of this call doesn't depend on the actual font you're looking for. From the perspective of the addon, the logic runs like this once enabled:
The issue in #16 is related to an error being thrown in step 1 due to some fonts in an unexpected format (regardless of the actual font you're looking for). The actual question of whether your font is present or not is determined in step 2, which will not throw if the font is not present.
Fixes #16 via upstream fix in https://github.com/princjef/font-finder/pull/4
Updated versions of font-finder and font-ligatures also include source typescript files for better debugging