copy
This commit is contained in:
parent
65059546eb
commit
b18c7e28b5
2 changed files with 2 additions and 2 deletions
|
|
@ -81,7 +81,7 @@ Renders the diagram to look like it was sketched by hand
|
||||||
Center the SVG in the containing viewbox, such as your browser screen
|
Center the SVG in the containing viewbox, such as your browser screen
|
||||||
.Ns .
|
.Ns .
|
||||||
.It Fl -scale Ar -1
|
.It Fl -scale Ar -1
|
||||||
Set a fixed render scale (e.g. 0.5 to halve rendered size). If none provided, SVG will fit to screen
|
Scale the output. E.g., 0.5 to halve the default size. Default -1 means that SVG's will fit to screen and all others will use their default render size. Setting to 1 turns off SVG fitting to screen
|
||||||
.Ns .
|
.Ns .
|
||||||
.It Fl -font-regular
|
.It Fl -font-regular
|
||||||
Path to .ttf file to use for the regular font. If none provided, Source Sans Pro Regular is used
|
Path to .ttf file to use for the regular font. If none provided, Source Sans Pro Regular is used
|
||||||
|
|
|
||||||
|
|
@ -107,7 +107,7 @@ func Run(ctx context.Context, ms *xmain.State) (err error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
scaleFlag, err := ms.Opts.Float64("SCALE", "scale", "", -1, "set a fixed render scale (e.g. 0.5 to halve rendered size). If none provided, SVG will fit to screen.")
|
scaleFlag, err := ms.Opts.Float64("SCALE", "scale", "", -1, "scale the output. E.g., 0.5 to halve the default size. Default -1 means that SVG's will fit to screen and all others will use their default render size. Setting to 1 turns off SVG fitting to screen.")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue