Skip to content

Commit

Permalink
Small tweaks to README
Browse files Browse the repository at this point in the history
  • Loading branch information
wezm committed Jul 9, 2024
1 parent b34289f commit 03d72e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ variable font to produce a static, non-variable font with those settings.
In this example the font has two axes: `UNDO` and `UNDS`. We supply a value of
500 for each one and write the output font to `UnderlineTest.ttf`.

allsorts --tuple 500,500 UnderlineTest-VF.ttf -o UnderlineTest.ttf
allsorts instance --tuple 500,500 UnderlineTest-VF.ttf -o UnderlineTest.ttf

### `layout-features`

Expand Down Expand Up @@ -273,7 +273,7 @@ large repertoire of real world fonts.
The `variations` tool lists information about a variable font. The information
includes:

- The variation axes and their tag, minimum, maximum, and default values.
- The variation axes with their tag, minimum, maximum, and default values.
- Any pre-defined instances and their name and axis values.

#### Example
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl fmt::Display for ErrorMessage {

impl Error for ErrorMessage {}

/// Decode a non-utf-8 string to a UTF-8 Rust string.
/// Decode a non-UTF-8 string to a UTF-8 Rust string.
pub(crate) fn decode(encoding: &'static Encoding, data: &[u8]) -> String {
let mut decoder = encoding.new_decoder();
if let Some(size) = decoder.max_utf8_buffer_length(data.len()) {
Expand Down

0 comments on commit 03d72e5

Please sign in to comment.