Skip to content

Commit

Permalink
chore: Fix typos throughout code base
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Nov 19, 2024
1 parent 1e9c177 commit 71e5af7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ $ make docker

### System Setup

If you use Arch Linux, you can install [this AUR package](https://aur.archlinux.org/packages/fontship) (prebuilt in [this repostiory](https://wiki.archlinux.org/index.php/Unofficial_user_repositories#alerque)).
If you use Arch Linux, you can install [this AUR package](https://aur.archlinux.org/packages/fontship) (prebuilt in [this repository](https://wiki.archlinux.org/index.php/Unofficial_user_repositories#alerque)).

Otherwise to install and use locally from source, you’ll need some dependencies:

Expand All @@ -99,7 +99,7 @@ Otherwise to install and use locally from source, you’ll need some dependencie
* GNU `make` (4.2+) with corresponding autoconf tools,
* Python 3 plus assorted modules, see *requirements.txt* file,
* Rust tools including `cargo` and `rustc` to build the CLI,
* And a handfull of other font related CLI utilities, namely: `sfnt2woff-zopfli`, `psautohint`, `ttfautohint`, and `woff2_compress`.
* And a handful of other font related CLI utilities, namely: `sfnt2woff-zopfli`, `psautohint`, `ttfautohint`, and `woff2_compress`.

To install the software to your computer, either clone this repository and run `./bootstrap.sh` or [download and extract the latest release](https://github.com/theleagueof/fontship/releases), then run:

Expand Down Expand Up @@ -152,4 +152,4 @@ $ fontship make dist
### Versioning

The font version setting in all generated fonts is determined by the tag on the git repository.
Version tags should conform to the `MAJOR.MINOR` format descriped by [openfv](https://github.com/openfv/openfv#3-version-number-semantics).
Version tags should conform to the `MAJOR.MINOR` format described by [openfv](https://github.com/openfv/openfv#3-version-number-semantics).
4 changes: 2 additions & 2 deletions rules/glyphs.mk
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ $(shell rm -f $(_TMP))
%.designspace: %.glyphs
echo MM $@

# Glyphs -> Varibale OTF
# Glyphs -> Variable OTF

$(BUILDDIR)/%-VF-variable.otf: $(SOURCEDIR)/%.glyphs | $(BUILDDIR)
$(FONTMAKE) $(FONTMAKEFLAGS) -g $< -o variable-cff2 --output-path $@

# Glyphs -> Varibale TTF
# Glyphs -> Variable TTF

$(BUILDDIR)/%-VF-variable.ttf: $(SOURCEDIR)/%.glyphs | $(BUILDDIR)
$(FONTMAKE) $(FONTMAKEFLAGS) -g $< -o variable --output-path $@
Expand Down
2 changes: 1 addition & 1 deletion rules/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ $(BUILDDIR):
mkdir -p $@

ifeq ($(PROJECT),Data)
$(warning We cannot read the Project’s name inside Docker. Please manually specify it by adding PROJECT='Name' as an agument to your command invocation)
$(warning We cannot read the Project’s name inside Docker. Please manually specify it by adding PROJECT='Name' as an argument to your command invocation)
endif

-include $(FONTSHIPDIR)/rules/$(CANONICAL).mk
Expand Down
4 changes: 2 additions & 2 deletions src/setup/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ pub fn is_setup() -> Result<bool> {
results.write().unwrap().push(ret);
});
s.spawn(|_| {
let ret = is_make_exectuable().unwrap();
let ret = is_make_executable().unwrap();
results.write().unwrap().push(ret);
});
});
Expand Down Expand Up @@ -125,7 +125,7 @@ pub fn is_writable() -> Result<bool> {
}

/// Check if we can execute the system's `make` utility
pub fn is_make_exectuable() -> Result<bool> {
pub fn is_make_executable() -> Result<bool> {
let status = FONTSHIPUI.new_check("setup-is-make-executable");
let ret = Exec::cmd("make")
.arg("-v")
Expand Down

0 comments on commit 71e5af7

Please sign in to comment.