mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-11 16:30:16 -06:00
fix clippy (pdf FaceRef)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
35eb84d629
commit
3af7a9913b
@@ -163,7 +163,7 @@ impl Exporter<'_> {
|
||||
if fill.is_none() && stroke.is_none() {
|
||||
return;
|
||||
}
|
||||
let face = g0.face.clone();
|
||||
let face = g0.face;
|
||||
let size = g0.sy * face.upem;
|
||||
let hs = g0.sx / g0.sy;
|
||||
let skew = if st.skew != 0.0 { Affine::new([1.0, 0.0, -st.skew.to_radians().tan(), 1.0, 0.0, 0.0]) } else { Affine::IDENTITY };
|
||||
|
||||
Reference in New Issue
Block a user