mirror of
https://github.com/typst/typst
synced 2025-05-14 17:15:28 +08:00
Fix pattern offset in PDF (#2985)
This commit is contained in:
parent
eb9dd539aa
commit
f3c39ac84a
@ -74,7 +74,7 @@ pub(crate) fn write_patterns(ctx: &mut PdfContext) {
|
|||||||
resources_map.finish();
|
resources_map.finish();
|
||||||
tiling_pattern
|
tiling_pattern
|
||||||
.matrix(transform_to_array(
|
.matrix(transform_to_array(
|
||||||
transform.post_concat(Transform::scale(Ratio::one(), -Ratio::one())),
|
transform.pre_concat(Transform::scale(Ratio::one(), -Ratio::one())),
|
||||||
))
|
))
|
||||||
.filter(Filter::FlateDecode);
|
.filter(Filter::FlateDecode);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user