Fix Fixed custom building when not using derivation (#1428)

This commit is contained in:
be5invis 2022-10-04 22:07:48 -07:00
parent cc7fc85133
commit a4d0240b8f
4 changed files with 14 additions and 6 deletions

View file

@ -73,7 +73,8 @@ Inside the plan, top-level properties include:
- `U+27F6` LONG RIGHTWARDS ARROW
- `U+27FB` LONG LEFTWARDS ARROW FROM BAR
- `U+27FC` LONG RIGHTWARDS ARROW FROM BAR
- `fixed`: Apply `fontconfig-mono` changes and further remove ligations, `NWID` and `WWID` typographic features.
- Remove `NWID` and `WWID` features typographic features
- `fixed`: Apply `fontconfig-mono` changes and further remove ligations.
* `serifs`: Optional, String, configures style of serifs.
- When set to `slab`, the font will be converted into slab-serif.
- Otherwise the font will be sans-serif.

View file

@ -13,7 +13,6 @@ define [CvLookupName tag] : 'lookup_cv_' + tag
define [SsLookupName tag] : 'lookup_ss_' + tag
export : define [buildCVSS sink para glyphStore] : begin
if [not para.enableCvSs] : return nothing
define {chain-rule} : ChainRuleBuilder sink
local rec : BeginLookupBlock sink

View file

@ -22,6 +22,7 @@ define [buildGSUB para glyphStore markGlyphs] : begin
define gsub : CreateEmptyTable
# NWID / WWID
if para.enableNwidWwid : begin
buildGrFeature gsub glyphStore Gr.Nwid
buildGrFeature gsub glyphStore Gr.Wwid
@ -30,6 +31,7 @@ define [buildGSUB para glyphStore markGlyphs] : begin
buildGrFeature gsub glyphStore Gr.Onum
# APLF
if para.enableCvSs : begin
buildGrFeature gsub glyphStore Gr.AplForm
# numr / dnom
@ -53,6 +55,7 @@ define [buildGSUB para glyphStore markGlyphs] : begin
buildGsubThousands gsub para glyphStore
# cv##, ss##
if para.enableCvSs : begin
buildCVSS gsub para glyphStore
# locl

View file

@ -57,6 +57,9 @@ powerlineShiftX = 0 # Horizontal shift
# Whether to generate CV-SS features
enableCvSs = true
# Whether to generate NWID/WWID features
enableNwidWwid = true
# Whether to generate ligation
enableLigation = true
@ -108,12 +111,14 @@ spacing = 0
# "FontFonfig Monospace"
[spacing-fontconfig-mono]
spacing = 0
enableNwidWwid = false
forceMonospace = true
# Fixed variant
[spacing-fixed]
spacing = 0
enableLigation = false
enableNwidWwid = false
forceMonospace = true
# Quasi-proportional