Skip to content

Commit 2615fb8

Browse files
committed
fix build when features=mfek,!skia
1 parent 8f2ee00 commit 2615fb8

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

Cargo.lock

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "glifparser"
3-
version = "1.2.5"
3+
version = "1.2.5-1"
44
authors = ["Fredrick Brennan <copypaste@kittens.ph>", "MFEK Authors"]
55
edition = "2021"
66
license = "Apache-2.0"

src/glif/mfek.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ impl<PD: PointData> Into<Contour<PD>> for MFEKContour<PD> {
170170

171171
pub type MFEKOutline<PD> = Vec<MFEKContour<PD>>;
172172

173+
#[cfg(feature = "skia")]
173174
impl<PD: PointData> ToSkiaPaths for MFEKOutline<PD> {
174175
fn to_skia_paths(&self, spt: Option<SkiaPointTransforms>) -> SkiaPaths {
175176
let mut ret = SkiaPaths {

0 commit comments

Comments
 (0)