Added automatic building for sample images.

This commit is contained in:
be5invis 2015-12-25 08:50:33 +08:00
parent befc92a3a5
commit d7983e7286
3 changed files with 26 additions and 11 deletions

View File

@ -34,11 +34,14 @@ symbol-block 'i'
include : VBar (MIDDLE) 0 XH
create-glyph 'dotlessi.hooky' : glyph-construction
include glyphs.'dotlessi.straight' AS_BASE
include : LeftwardTopSerif MIDDLE XH LONGJUT
include eMarks
include : VBar (MIDDLE + IBALANCE) 0 XH
include : LeftwardTopSerif (MIDDLE + IBALANCE) XH LONGJUT
create-glyph 'dotlessi.zshaped' : glyph-construction
include glyphs.'dotlessi.hooky' AS_BASE
include eMarks
include : VBar (MIDDLE) 0 XH
include : LeftwardTopSerif (MIDDLE) XH LONGJUT
include : RightwardBottomSerif MIDDLE 0 LONGJUT
create-glyph 'dotlessi.serifed' : glyph-construction
@ -269,21 +272,21 @@ symbol-block 'l'
create-glyph 'l.hooky' : glyph-construction
include bMarks
include : VBar MIDDLE 0 (CAP - STROKE)
include : LeftwardTopSerif MIDDLE CAP LONGJUT
include : VBar (MIDDLE + LBALANCE) 0 (CAP - STROKE)
include : LeftwardTopSerif (MIDDLE + LBALANCE) CAP LONGJUT
create-glyph 'l.zshaped' : glyph-construction
include bMarks
include glyphs.'l.hooky'
include : VBar MIDDLE 0 (CAP - STROKE)
include : LeftwardTopSerif MIDDLE CAP LONGJUT
include : RightwardBottomSerif MIDDLE 0 LONGJUT
create-glyph 'l.serifed' : glyph-construction
include bMarks
local balance LBALANCE
include : VBar (MIDDLE + balance) 0 CAP
include : LeftwardTopSerif (MIDDLE + balance) CAP (LONGJUT - balance)
include : VBar (MIDDLE + LBALANCE) 0 CAP
include : LeftwardTopSerif (MIDDLE + LBALANCE) CAP (LONGJUT - LBALANCE)
include : CenterBottomSerif MIDDLE 0 LONGJUT
set-anchor 'overlay' BASE (MIDDLE + balance / 2) (CAP * BARPOS)
set-anchor 'overlay' BASE (MIDDLE + LBALANCE / 2) (CAP * BARPOS)
create-glyph 'l.italic' : glyph-construction
local left : mix SB RIGHTSB 0.3

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 KiB

After

Width:  |  Height:  |  Size: 294 KiB

View File

@ -70,4 +70,16 @@ releasepack-hooky : $(SCRIPTS) | $(OBJDIR)
releasepack-zshaped : $(SCRIPTS) | $(OBJDIR)
$(MAKE) archives-default VERSION=$(VERSION) VARIANTNAME='zshaped-' STYLE_UPRIGHT='v-l-zshaped v-i-zshaped' ARCPREFIX='variant-zshaped-'
release-all : releasepack-default releasepack-fw releasepack-cc releasepack-hooky releasepack-zshaped
fw : fonts-fw fonts-cc
fw : fonts-fw fonts-cc
sampleimage : fonts
convert -size 4500x1100 xc:white -pointsize 125 \
-fill black \
-font dist/iosevka-thin.ttf -draw "text 0,121 ' thin float Fox.quick(h){ is_brown && it_jumps_over(doges.lazy) }'" \
-font dist/iosevka-extralight.ttf -draw "text 0,263 'extralight float Fox.quick(h){ is_brown && it_jumps_over(doges.lazy) }'" \
-font dist/iosevka-light.ttf -draw "text 0,406 ' light float Fox.quick(h){ is_brown && it_jumps_over(doges.lazy) }'" \
-font dist/iosevka-regular.ttf -draw "text 0,549 ' retular float Fox.quick(h){ is_brown && it_jumps_over(doges.lazy) }'" \
-font dist/iosevka-medium.ttf -draw "text 0,692 ' medium float Fox.quick(h){ is_brown && it_jumps_over(doges.lazy) }'" \
-font dist/iosevka-bold.ttf -draw "text 0,835 ' bold float Fox.quick(h){ is_brown && it_jumps_over(doges.lazy) }'" \
-font dist/iosevka-heavy.ttf -draw "text 0,978 ' heavy float Fox.quick(h){ is_brown && it_jumps_over(doges.lazy) }'" \
-trim images/weights.png