Skip to content

Commit

Permalink
Add badges
Browse files Browse the repository at this point in the history
  • Loading branch information
laurmaedje committed Oct 14, 2022
1 parent 51c0eaf commit a57e365
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ readme = "README.md"
license = "MIT OR Apache-2.0"
categories = ["compression", "encoding"]
keywords = ["subsetting", "OpenType", "PDF"]
exclude = ["fonts/*"]

[dev-dependencies]
ttf-parser = "0.15"
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# subsetter
Reduces the size and coverage of OpenType fonts.
[![Crates.io](https://img.shields.io/crates/v/subsetter.svg)](https://crates.io/crates/subsetter)
[![Documentation](https://docs.rs/subsetter/badge.svg)](https://docs.rs/subsetter)

Supports both TrueType and CFF outlines.
Reduces the size and coverage of OpenType fonts with TrueType or CFF outlines.

```toml
[dependencies]
subsetter = "0.1"
```

## Example
In the example below, we remove all glyphs except the ones with IDs 68, 69, 70.
Expand Down
4 changes: 1 addition & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*!
Reduces the size and coverage of OpenType fonts.
Supports both TrueType and CFF outlines.
Reduces the size and coverage of OpenType fonts with TrueType or CFF outlines.
# Example
In the example below, we remove all glyphs except the ones with IDs 68, 69, 70.
Expand Down

0 comments on commit a57e365

Please sign in to comment.