Allow the user to customize the characters' width freely (#554).
This commit is contained in:
parent
275fc23ba3
commit
966838af7b
9 changed files with 163 additions and 115 deletions
|
@ -49,18 +49,20 @@ oblique = "oblique"
|
|||
# Override default building widths
|
||||
# When buildPlans.<plan name>.widths is absent, all widths would built and mapped to
|
||||
# default values.
|
||||
# IMPORTANT : Currently "shape" property only supports integers between 3 and 9 (inclusive), while
|
||||
# "menu" only supports integers between 1 and 9 (inclusive).
|
||||
# If you decide to use custom widths you have to define all the widths you
|
||||
# plan to use otherwise they will not be built.
|
||||
# IMPORTANT : Currently "shape" property only supports numbers between 434 and 664 (inclusive),
|
||||
# while "menu" only supports integers between 1 and 9 (inclusive).
|
||||
# The "shape" parameter specifies the unit width, measured in 1/1000 em. The glyphs'
|
||||
# width are equal to, or a simple multiple of the unit width.
|
||||
# If you decide to use custom widths you have to define all the widths you plan to use,
|
||||
# otherwise they will not be built.
|
||||
|
||||
[buildPlans.iosevka-custom.widths.normal]
|
||||
shape = 5 # Width grade of glyph shapes. NOT actual character width.
|
||||
menu = 5 # Width grade for the font's names. NOT actual character width.
|
||||
shape = 500 # Unit Width, measured in 1/1000 em.
|
||||
menu = 5 # Width grade for the font's names.
|
||||
css = "normal" # "font-stretch' property of webfont CSS.
|
||||
|
||||
[buildPlans.iosevka-custom.widths.extended]
|
||||
shape = 7
|
||||
shape = 576
|
||||
menu = 7
|
||||
css = "expanded"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue