Fix Fixed custom building when not using derivation (#1428)
This commit is contained in:
parent
cc7fc85133
commit
a4d0240b8f
4 changed files with 14 additions and 6 deletions
|
@ -73,7 +73,8 @@ Inside the plan, top-level properties include:
|
||||||
- `U+27F6` LONG RIGHTWARDS ARROW
|
- `U+27F6` LONG RIGHTWARDS ARROW
|
||||||
- `U+27FB` LONG LEFTWARDS ARROW FROM BAR
|
- `U+27FB` LONG LEFTWARDS ARROW FROM BAR
|
||||||
- `U+27FC` LONG RIGHTWARDS 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.
|
* `serifs`: Optional, String, configures style of serifs.
|
||||||
- When set to `slab`, the font will be converted into slab-serif.
|
- When set to `slab`, the font will be converted into slab-serif.
|
||||||
- Otherwise the font will be sans-serif.
|
- Otherwise the font will be sans-serif.
|
||||||
|
|
|
@ -13,7 +13,6 @@ define [CvLookupName tag] : 'lookup_cv_' + tag
|
||||||
define [SsLookupName tag] : 'lookup_ss_' + tag
|
define [SsLookupName tag] : 'lookup_ss_' + tag
|
||||||
|
|
||||||
export : define [buildCVSS sink para glyphStore] : begin
|
export : define [buildCVSS sink para glyphStore] : begin
|
||||||
if [not para.enableCvSs] : return nothing
|
|
||||||
define {chain-rule} : ChainRuleBuilder sink
|
define {chain-rule} : ChainRuleBuilder sink
|
||||||
|
|
||||||
local rec : BeginLookupBlock sink
|
local rec : BeginLookupBlock sink
|
||||||
|
|
|
@ -22,15 +22,17 @@ define [buildGSUB para glyphStore markGlyphs] : begin
|
||||||
define gsub : CreateEmptyTable
|
define gsub : CreateEmptyTable
|
||||||
|
|
||||||
# NWID / WWID
|
# NWID / WWID
|
||||||
buildGrFeature gsub glyphStore Gr.Nwid
|
if para.enableNwidWwid : begin
|
||||||
buildGrFeature gsub glyphStore Gr.Wwid
|
buildGrFeature gsub glyphStore Gr.Nwid
|
||||||
|
buildGrFeature gsub glyphStore Gr.Wwid
|
||||||
|
|
||||||
# lnum / onum
|
# lnum / onum
|
||||||
buildGrFeature gsub glyphStore Gr.Lnum
|
buildGrFeature gsub glyphStore Gr.Lnum
|
||||||
buildGrFeature gsub glyphStore Gr.Onum
|
buildGrFeature gsub glyphStore Gr.Onum
|
||||||
|
|
||||||
# APLF
|
# APLF
|
||||||
buildGrFeature gsub glyphStore Gr.AplForm
|
if para.enableCvSs : begin
|
||||||
|
buildGrFeature gsub glyphStore Gr.AplForm
|
||||||
|
|
||||||
# numr / dnom
|
# numr / dnom
|
||||||
buildGrFeature gsub glyphStore Gr.NumeratorForm
|
buildGrFeature gsub glyphStore Gr.NumeratorForm
|
||||||
|
@ -53,7 +55,8 @@ define [buildGSUB para glyphStore markGlyphs] : begin
|
||||||
buildGsubThousands gsub para glyphStore
|
buildGsubThousands gsub para glyphStore
|
||||||
|
|
||||||
# cv##, ss##
|
# cv##, ss##
|
||||||
buildCVSS gsub para glyphStore
|
if para.enableCvSs : begin
|
||||||
|
buildCVSS gsub para glyphStore
|
||||||
|
|
||||||
# locl
|
# locl
|
||||||
# Builds last, but the lookups are added into the beginning of the lookup list
|
# Builds last, but the lookups are added into the beginning of the lookup list
|
||||||
|
|
|
@ -57,6 +57,9 @@ powerlineShiftX = 0 # Horizontal shift
|
||||||
# Whether to generate CV-SS features
|
# Whether to generate CV-SS features
|
||||||
enableCvSs = true
|
enableCvSs = true
|
||||||
|
|
||||||
|
# Whether to generate NWID/WWID features
|
||||||
|
enableNwidWwid = true
|
||||||
|
|
||||||
# Whether to generate ligation
|
# Whether to generate ligation
|
||||||
enableLigation = true
|
enableLigation = true
|
||||||
|
|
||||||
|
@ -108,12 +111,14 @@ spacing = 0
|
||||||
# "FontFonfig Monospace"
|
# "FontFonfig Monospace"
|
||||||
[spacing-fontconfig-mono]
|
[spacing-fontconfig-mono]
|
||||||
spacing = 0
|
spacing = 0
|
||||||
|
enableNwidWwid = false
|
||||||
forceMonospace = true
|
forceMonospace = true
|
||||||
|
|
||||||
# Fixed variant
|
# Fixed variant
|
||||||
[spacing-fixed]
|
[spacing-fixed]
|
||||||
spacing = 0
|
spacing = 0
|
||||||
enableLigation = false
|
enableLigation = false
|
||||||
|
enableNwidWwid = false
|
||||||
forceMonospace = true
|
forceMonospace = true
|
||||||
|
|
||||||
# Quasi-proportional
|
# Quasi-proportional
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue