diff --git a/private-build-plans.sample.toml b/private-build-plans.sample.toml index d66785339..f5bfeb0e4 100644 --- a/private-build-plans.sample.toml +++ b/private-build-plans.sample.toml @@ -7,7 +7,7 @@ hintParams = ["-a", "sss"] # Optional custom parameters # Override default building weights # When buildPlans..weights is absent # All weights would built and mapped to default shape/CSS -# IMPORTANT : Currently "menu" property only support 100, 200, 300, 400, 450, 500, 600, 700, 800, 900. +# IMPORTANT : Currently "menu" and "css" property only support numbers between 0 and 1000. # and "shape" properly only supports number between 100 and 900 (inclusive). [buildPlans.iosevka-custom.weights.regular] shape = 400 # Weight for glyph shapes diff --git a/verdafile.js b/verdafile.js index 62cc67b5d..34765dab6 100644 --- a/verdafile.js +++ b/verdafile.js @@ -137,7 +137,7 @@ function vlShapeWeight(x) { return x >= 100 && x <= 900; } function vlCssWeight(x) { - return x >= 0 && x <= 1000; + return x > 0 && x < 1000; } function vlMenuWeight(x) { return vlCssWeight(x);