Skip to content

Commit

Permalink
slightly nicer fabric usage info
Browse files Browse the repository at this point in the history
  • Loading branch information
yomimono committed Dec 18, 2023
1 parent 9f0a63e commit e41d02e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stitchpdf/lib/materialspage.ml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ let fabric_options ~font_size ~margin_inches start_position pattern =
let open Stitchy.Types in
let as_described = { substrate with grid = size} in
let width, height = Estimator.substrate_size_in_inches ~margin_inches as_described in
Format.asprintf "On Aida cloth count %a, the pattern will require %.02f x %.02f inches (with a %.01f inch margin)" Stitchy.Types.pp_grid size width height margin_inches
Format.asprintf "On %a Aida cloth, the pattern will require %.02f x %.02f inches (including a %.01f inch margin)" Stitchy.Types.pp_grid size width height margin_inches
in
let ops position size = pdfops_text ~font_size position @@ describe_option size pattern.Stitchy.Types.substrate in
let position = start_position in
Expand Down

0 comments on commit e41d02e

Please sign in to comment.