Skip to content

Commit

Permalink
Fix colorspace in SC command handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
badicsalex committed Sep 19, 2022
1 parent a0f934c commit eda8dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1598,7 +1598,7 @@ impl<'a> Processor<'a> {
gs.fill_colorspace = make_colorspace(doc, name, resources);
}
"SC" | "SCN" => {
gs.stroke_color = match gs.fill_colorspace {
gs.stroke_color = match gs.stroke_colorspace {
ColorSpace::Pattern => {
dlog!("unhandled pattern color");
Vec::new()
Expand Down

0 comments on commit eda8dce

Please sign in to comment.