Skip to content

Commit

Permalink
Make typographic default sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
dy committed Sep 8, 2023
1 parent 9393136 commit ed613ce
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions _sources/Wavefont.designspace
Original file line number Diff line number Diff line change
Expand Up @@ -31,63 +31,63 @@
<instances>
<instance filename="instance_ufo/Wavefont-Thin.ufo" name="Wavefont Thin" familyname="Wavefont" stylename="Thin">
<location>
<dimension name="Weight" xvalue="25" />
<dimension name="Weight" xvalue="12" />
<dimension name="Roundness" xvalue="100" />
<dimension name="Vertical Element Alignment" xvalue="0" />
</location>
</instance>
<instance filename="instance_ufo/Wavefont-ExtraLight.ufo" name="Wavefont ExtraLight" familyname="Wavefont" stylename="ExtraLight">
<location>
<dimension name="Weight" xvalue="50" />
<dimension name="Weight" xvalue="16" />
<dimension name="Roundness" xvalue="100" />
<dimension name="Vertical Element Alignment" xvalue="0" />
</location>
</instance>
<instance filename="instance_ufo/Wavefont-Light.ufo" name="Wavefont Light" familyname="Wavefont" stylename="Light">
<location>
<dimension name="Weight" xvalue="75" />
<dimension name="Weight" xvalue="25" />
<dimension name="Roundness" xvalue="100" />
<dimension name="Vertical Element Alignment" xvalue="0" />
</location>
</instance>
<instance filename="instance_ufo/Wavefont-Regular.ufo" name="Wavefont Regular" familyname="Wavefont" stylename="Regular">
<location>
<dimension name="Weight" xvalue="100" />
<dimension name="Weight" xvalue="32" />
<dimension name="Roundness" xvalue="100" />
<dimension name="Vertical Element Alignment" xvalue="0" />
</location>
</instance>
<instance filename="instance_ufo/Wavefont-Medium.ufo" name="Wavefont Medium" familyname="Wavefont" stylename="Medium">
<location>
<dimension name="Weight" xvalue="125" />
<dimension name="Weight" xvalue="50" />
<dimension name="Roundness" xvalue="100" />
<dimension name="Vertical Element Alignment" xvalue="0" />
</location>
</instance>
<instance filename="instance_ufo/Wavefont-SemiBold.ufo" name="Wavefont SemiBold" familyname="Wavefont" stylename="SemiBold">
<location>
<dimension name="Weight" xvalue="150" />
<dimension name="Weight" xvalue="64" />
<dimension name="Roundness" xvalue="100" />
<dimension name="Vertical Element Alignment" xvalue="0" />
</location>
</instance>
<instance filename="instance_ufo/Wavefont-Bold.ufo" name="Wavefont Bold" familyname="Wavefont" stylename="Bold">
<location>
<dimension name="Weight" xvalue="175" />
<dimension name="Weight" xvalue="100" />
<dimension name="Roundness" xvalue="100" />
<dimension name="Vertical Element Alignment" xvalue="0" />
</location>
</instance>
<instance filename="instance_ufo/Wavefont-ExtraBold.ufo" name="Wavefont ExtraBold" familyname="Wavefont" stylename="ExtraBold">
<location>
<dimension name="Weight" xvalue="200" />
<dimension name="Weight" xvalue="128" />
<dimension name="Roundness" xvalue="100" />
<dimension name="Vertical Element Alignment" xvalue="0" />
</location>
</instance>
<instance filename="instance_ufo/Wavefont-Black.ufo" name="Wavefont Black" familyname="Wavefont" stylename="Black">
<location>
<dimension name="Weight" xvalue="225" />
<dimension name="Weight" xvalue="200" />
<dimension name="Roundness" xvalue="100" />
<dimension name="Vertical Element Alignment" xvalue="0" />
</location>
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ To adjust axes via CSS:

## Features

* Ranges, values and width is compatible with [linefont](https://github.com/dy/linefont), so fonts can be switched in coherent way.
* Ranges, values and width is compatible with [linefont](https://github.com/dy/linefont), so fonts can be switched preserving visual coherency.
* Visible charcodes fall under _marking characters_ unicode category, ie. recognized as word by regexp and can be selected with <kbd>Ctrl</kbd> + <kbd>→</kbd> or double click. Eg. waveform segments separated by ` ` or `-` are selectable by double click.
* Characters outside of visible ranges are clipped to _0_, eg. ` `, `\t` etc.
* `-–._*` map to _1_ value, `|` maps to max value, `▁▂▃▄▅▆▇█` map to corresponding bars.
Expand Down
2 changes: 1 addition & 1 deletion scripts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ <h1>
Wavefont&thinsp;<sup><small><a title="github" href="https://github.com/a-vis/wavefont">3.3</a></small></sup>
</h1>
<div class="panel-field">
<label for="weight"><small>Weight</small></label> <input id="weight" type="range" min="0" value="400" step="10"
<label for="weight"><small>Weight</small></label> <input id="weight" type="range" min="0" value="100" step="10"
max="1000" list="weights" />
<datalist id="weights">
<option>0</option>
Expand Down

0 comments on commit ed613ce

Please sign in to comment.