From aa18bb5ba002fa5c0d54161ce5139a0a066b7407 Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Wed, 6 Dec 2023 14:32:53 +0000 Subject: [PATCH] More excuses --- fontbakery.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/fontbakery.js b/fontbakery.js index b2d0f959f2..6b87ea3aad 100644 --- a/fontbakery.js +++ b/fontbakery.js @@ -15,12 +15,16 @@ version, and we recommend that you install fontbakery and check your fonts locally to ensure that all checks are run.`; const CANT_COMPILE = (s) => NOWASM(`the ${s} library cannot be compiled for WASM`); const NEEDS_NETWORK = NOWASM("it needs access to the network"); +const BABELFONT = NOWASM('the check requires a library (babelfont) with a Rust dependency'); const EXCUSES = { // Needs dependencies 'com.adobe.fonts/check/freetype_rasterizer': CANT_COMPILE('Freetype'), 'com.google.fonts/check/ots': CANT_COMPILE('OpenType Sanitizer'), - 'com.google.fonts/check/alt_caron:googlefonts': NOWASM('the check requires a library (babelfont) with a Rust dependency'), - 'com.google.fonts/check/alt_caron': NOWASM('the check requires a library (babelfont) with a Rust dependency'), + 'com.google.fonts/check/alt_caron:googlefonts': BABELFONT, + 'com.google.fonts/check/alt_caron': BABELFONT, + 'com.google.fonts/check/arabic_high_hamza': BABELFONT, + 'com.google.fonts/check/arabic_spacing_symbols': BABELFONT, + 'com.google.fonts/check/legacy_accents:googlefonts': BABELFONT, // Needs network 'com.google.fonts/check/vendor_id': NEEDS_NETWORK, 'com.google.fonts/check/fontdata_namecheck': NEEDS_NETWORK, @@ -36,6 +40,8 @@ const EXCUSES = { 'com.google.fonts/check/dotted_circle': CANT_COMPILE('cffsubr [required by ufo2ft]'), 'com.google.fonts/check/metadata/can_render_samples': CANT_COMPILE('Harfbuzz'), 'com.google.fonts/check/slant_direction': CANT_COMPILE('Harfbuzz'), + 'com.google.fonts/check/glyphsets/shape_languages': CANT_COMPILE('Harfbuzz'), + // Other checks 'com.google.fonts/check/metadata/family_directory_name': NOWASM('there are no directories in the WASM environment'), };