Skip to content

Commit

Permalink
Released 0.2.3, updated CHANGELOG and README
Browse files Browse the repository at this point in the history
  • Loading branch information
fschutt committed Feb 12, 2018
1 parent ab1326c commit 00552fe
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## `0.2.3`

- printpdf now uses rusttype and does not require freetype anymore! There was an ugly
character-spacing hack that was fixed. You should now be able to build printpdf on windows
without further setup.
- Millimeters and points are now strongly typed - instead of `f64`, you now must denote the
scale with `Pt(f64)`, `Mm(f64)` or `Px(f64)`. The `mm_to_pt!` and `pt_to_mm!` macros have
been dropped since you can now do true conversions between these types. The reason for this
change was because this raw `f64`-based conversion bit me hard while using the library.
- The `Line` now has a different API and no `new()` function anymore. This is because
`Line::new(true, false, true)` is less expressive than `Line { has_stroke: true, ... }`.

## `0.2.2`

- SVG functionality was removed (commented out), because it didn't work in the first place
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

```toml,ignore
[dependencies]
printpdf = "0.2.2"
printpdf = "0.2.3"
```

## Features
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//!
//! ```toml,ignore
//! [dependencies]
//! printpdf = "0.2.2"
//! printpdf = "0.2.3"
//! ```
//!
//! # Features
Expand Down

0 comments on commit 00552fe

Please sign in to comment.