You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// [fontHeightCompensationFactor] the optional factor between 0 and 1 that is used to adjust the height of the image. Most fonts have a greater height than width, so this factor allows to compensate this. Defaults to 0.6.
Copy file name to clipboardExpand all lines: lib/src/figlet/font.dart
+13-14Lines changed: 13 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -72,19 +72,19 @@ enum VerticalLayout {
72
72
///
73
73
/// Since a FIGfont file is a text file, it can be created with any text editing program on any platform. The filename of a FIGfont file must end with ".flf", which stands for "FIGLettering Font".
Copy file name to clipboardExpand all lines: lib/src/image_converter.dart
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -8,13 +8,13 @@ class ImageConverter {
8
8
///
9
9
/// [image] the image to be converted
10
10
/// [maxWidth] the optional maximum width of the image in characters, defaults to 80
11
-
/// [maxHeight] the optional maximum height of th eimage in characters, defaults to null, so the image is caled linearily
11
+
/// [maxHeight] the optional maximum height of the image in characters, defaults to null, so the image is scaled linearily
12
12
/// [charSet] the optional charset from darkest to lightest character, defaults to '#@%=+*:-. '
13
13
/// [invert] allows to invert pixels, so that a dark pixel gets a bright characater and vise versa. This is useful when printing bight text on a dark background (console). Defaults to false.
14
14
/// [fontHeightCompensationFactor] the optional factor between 0 and 1 that is used to adjust the height of the image. Most fonts have a greater height than width, so this factor allows to compensate this. Defaults to 0.6.
0 commit comments