parent
f9e23f0172
commit
21d63ff67e
21 changed files with 180 additions and 117 deletions
|
@ -81,7 +81,7 @@ Inside the plan, top-level properties include:
|
|||
* `webfontFormats`: Optional, Array of String. Controls the formats needed to be exported into the webfont CSS. Valid options are `'ttf'` and `'woff2'`, or including both.
|
||||
* `buildTextureFeature`: Optional, Boolean, whether to build the `TXTR` feature for cross-letter texture adjustments. Defaults to false.
|
||||
|
||||
Build plan could have 8 optional subsections:
|
||||
Build plan could have 9 optional subsections:
|
||||
* `ligations`
|
||||
* `variants`
|
||||
* `weights`
|
||||
|
@ -90,6 +90,7 @@ Build plan could have 8 optional subsections:
|
|||
* `compatibilityLigatures`
|
||||
* `excludeChars`
|
||||
* `metricOverride`
|
||||
* `namingOverride`
|
||||
|
||||
#### Configuring Ligations
|
||||
|
||||
|
@ -3307,6 +3308,21 @@ will:
|
|||
* Override the sidebearing value by its value multiplied by `1.0625` then added with `15`.
|
||||
* Override the dot size by a interpolation against weight: at thin (`100`) being `50`, at regular (`400`) being `125`, and at heavy (`900`) being `180`.
|
||||
|
||||
#### Naming Override
|
||||
|
||||
The properties in the `namingOverride` section could be uase to override menu names of the produced font. The following properties will be applied to the font directly:
|
||||
|
||||
- `copyright`: Name ID 0, copyright notice.
|
||||
- `manufacturer`: Name ID 8, manufacturer name.
|
||||
- `designer`: Name ID 9, designer name.
|
||||
- `description`: Name ID 10, description of the typeface.
|
||||
- `urlVendor`: Name ID 11, URL of font vendor.
|
||||
- `urlDesigner`: Name ID 12, URL of typeface designer.
|
||||
- `licence`: Name ID 13, license description.
|
||||
- `licenceURL`: Name ID 14, license Info URL.
|
||||
|
||||
In addition, you can also use the `version` property to override font version. The version number should follow [SemVer](https://semver.org/), like being `1.0.0`.
|
||||
|
||||
#### Sample Configuration
|
||||
|
||||
A sample configuration could be found at [private-build-plans.sample.toml](https://github.com/be5invis/Iosevka/blob/master/private-build-plans.sample.toml).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue