File tree 6 files changed +23
-4
lines changed
6 files changed +23
-4
lines changed Original file line number Diff line number Diff line change @@ -338,6 +338,7 @@ figlet -f "Dancing Font" "Hi"
338
338
For more info see the [ figlet-cli] ( https://github.com/patorjk/figlet-cli ) .
339
339
340
340
## Release History
341
+ * 2020.07.12 v1.5.1 Fixed with with vertical smushing, updated lodash version.
341
342
* 2020.07.12 v1.5.0 Added width and whitespaceBreak options.
342
343
* 2020.04.26 v1.4.0 Removed jQuery from preloader and examples.
343
344
* 2020.02.23 v1.3.0 Added the "ANSI Regular" font and updated the README with info on how to use with Webpack.
Original file line number Diff line number Diff line change 1
- flf2a $ 6 5 16 15 12 0 17807
1
+ flf2a $ 6 5 16 15 10 0 18319
2
2
Slant by Glenn Chappell 3/93 -- based on Standard
3
3
Includes ISO Latin-1
4
4
figlet release 2.1 -- 12 Aug 1994
@@ -9,8 +9,6 @@ Modified by Paul Burton <solution@earthlink.net> 12/96 to include new parameter
9
9
supported by FIGlet and FIGWin. May also be slightly modified for better use
10
10
of new full-width/kern/smush alternatives, but default output is NOT changed.
11
11
12
- Modified by Patrick Gillespie (patorjk) on 2020/07/23 to fix vertical layout issue (ref: https://github.com/patorjk/figlet.js/issues/61)
13
-
14
12
$$ @
15
13
$$ @
16
14
$$ @
Original file line number Diff line number Diff line change @@ -390,6 +390,7 @@ var figlet = figlet || (function() {
390
390
} else if ( opts . fittingRules . vLayout === SMUSHING ) {
391
391
result += uni_Smush ( ch1 , ch2 ) ;
392
392
} else {
393
+ validSmush = false ;
393
394
validSmush = ( opts . fittingRules . vRule5 ) ? vRule5_Smush ( ch1 , ch2 ) : validSmush ;
394
395
validSmush = ( ! validSmush && opts . fittingRules . vRule1 ) ? vRule1_Smush ( ch1 , ch2 ) : validSmush ;
395
396
validSmush = ( ! validSmush && opts . fittingRules . vRule2 ) ? vRule2_Smush ( ch1 , ch2 ) : validSmush ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " figlet" ,
3
- "version" : " 1.5.0 " ,
3
+ "version" : " 1.5.1 " ,
4
4
"description" : " Creates ASCII Art from text. A full implementation of the FIGfont spec." ,
5
5
"keywords" : [
6
6
" figlet" ,
Original file line number Diff line number Diff line change
1
+ ______ _ __
2
+ /_ __/__ _________ ___ (_)___ ____ _/ /
3
+ / / / _ \/ ___/ __ `__ \/ / __ \/ __ `/ /
4
+ / / / __/ / / / / / / / / / / / /_/ / /
5
+ /_/__\___/_/ /_/ /_/ /_/_/_/ /_/\__,_/_/
6
+ / ____/ /_ ___ __________
7
+ / / / __ \/ _ \/ ___/ ___/
8
+ / /___/ / / / __(__ |__ )
9
+ \____/_/ /_/\___/____/____/
10
+
Original file line number Diff line number Diff line change @@ -200,6 +200,15 @@ exports.figlet = {
200
200
201
201
test . done ( ) ;
202
202
} ,
203
+ verticalSmushRule2 : function ( test ) {
204
+ test . expect ( 1 ) ;
205
+
206
+ var expected = grunt . file . read ( 'test/expected/verticalSmushRule2' ) ;
207
+ var actual = figlet . textSync ( 'Terminal\nChess' , { font : 'Slant' } ) ;
208
+ test . equal ( actual , expected , 'Vertical Smush Rule 2 should be followed.' ) ;
209
+
210
+ test . done ( ) ;
211
+ } ,
203
212
printDirection : function ( test ) {
204
213
test . expect ( 1 ) ;
205
214
You can’t perform that action at this time.
0 commit comments