* [**Breaking**] Change of variant names: - `one`.`nobase` → `one`.`no-base` - `one`.`nobase-long-top-serif` → `one`.`no-base-long-top-serif` - `one`.`nobase-flat-top-serif` → `one`.`no-base-flat-top-serif` - `three`.`flattop` → `three`.`flat-top` - `three`.`twoarcs` → `three`.`two-arcs`
22 lines
No EOL
958 B
Markdown
22 lines
No EOL
958 B
Markdown
* \[**Breaking**\] Add support for slope customization (#599, #1165).
|
|
- Slope customization format has a major change, giving ability to customize slope grade used for variant selection, as well as slope angle.
|
|
- The format will look like this:
|
|
``` toml
|
|
[buildPlans.iosevka-custom.slopes.upright]
|
|
angle = 0 # Angle in degrees. Valid range [0, 15]
|
|
shape = "upright" # Slope grade used for shape selection. `upright` | `oblique` | `italic`
|
|
menu = "upright" # Slope grade used for naming. `upright` | `oblique` | `italic`
|
|
css = "normal" # Slope grade used for webfont CSS. `normal` | `oblique` | `italic`
|
|
|
|
[buildPlans.iosevka-custom.slopes.oblique]
|
|
angle = 9.4
|
|
shape = "oblique"
|
|
menu = "oblique"
|
|
css = "oblique"
|
|
|
|
[buildPlans.iosevka-custom.slopes.italic]
|
|
angle = 9.4
|
|
shape = "italic"
|
|
menu = "italic"
|
|
css = "italic"
|
|
``` |