Skip to content

Commit

Permalink
- add fonts in woff2 format
Browse files Browse the repository at this point in the history
 - bump version
  • Loading branch information
zbryikt committed Nov 8, 2021
1 parent a43863e commit f11b5f0
Show file tree
Hide file tree
Showing 20 changed files with 1,756 additions and 21 deletions.
23 changes: 15 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,46 +1,53 @@
## 0.1.7
# Change Logs

## v0.1.8

- add fonts in woff2 format


## v0.1.7

- add icons: radiobox-semi / checkbox-semi / sad / heart-fill / star-fill
- check and update all current line-24 icons to make them pixel perfect.


## 0.1.6
## v0.1.6

- add caret icons ( right, left, up, down ) in both `line-24-bold` and `line-16-light`
- hide fallback font to prevent flash of emojis by setting font-display to `block`
- upgrade modules
- tweak line-24-bold iconfont alignment and rebuild all fonts


## 0.1.5
## v0.1.5

- rebuild icons


## 0.1.4
## v0.1.4

- tweak `line-24-bold` upload icon alignment
- add `info-circle` icon in `line-24-bold` and `line-16-light`


## 0.1.3
## v0.1.3

- fix `line-16-light` icon bug ( icons don't match their names )
- add style switcher in demo page

## 0.1.2
## v0.1.2

- add icons for keys `shift`, `alt` and `cmd`.


## 0.1.1
## v0.1.1

- upgrade packages including `template`, `fedep`, `livescript`.
- rebuild dist with upgraded packages.
- add demo link to `github` page.


## 0.1.0
## v0.1.0

icon update:

Expand Down
8 changes: 7 additions & 1 deletion build
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,15 @@ echo "Generating 'line-24-bold' Font File..."
echo "Generating 'legacy' Font File..."
./bin/makefont.js -u 90 -m src/unicode.json -i src/vector-files/legacy/svg -a 80 -y -13 -d dist/legacy

echo "make 'line' the default icon set..."
echo "Make 'line' the default icon set..."
cp dist/line-24-bold/* dist

echo "Generating woff2 counterparts..."
cat dist/ldif.ttf | ./node_modules/.bin/ttf2woff2 > dist/ldif.woff2
cat dist/legacy/ldif.ttf | ./node_modules/.bin/ttf2woff2 > dist/legacy/ldif.woff2
cat dist/line-16-light/ldif.ttf | ./node_modules/.bin/ttf2woff2 > dist/line-16-light/ldif.woff2
cat dist/line-24-bold/ldif.ttf | ./node_modules/.bin/ttf2woff2 > dist/line-24-bold/ldif.woff2

echo "copy dist to dev web ..."
rm -rf web/static/assets/lib/ldif/dev/
mkdir -p web/static/assets/lib/ldif
Expand Down
Binary file modified dist/ldif.ttf
Binary file not shown.
Binary file added dist/ldif.woff2
Binary file not shown.
Binary file modified dist/legacy/ldif.ttf
Binary file not shown.
Binary file added dist/legacy/ldif.woff2
Binary file not shown.
Binary file modified dist/line-16-light/ldif.ttf
Binary file not shown.
Binary file added dist/line-16-light/ldif.woff2
Binary file not shown.
Binary file modified dist/line-24-bold/ldif.ttf
Binary file not shown.
Binary file added dist/line-24-bold/ldif.woff2
Binary file not shown.
Loading

0 comments on commit f11b5f0

Please sign in to comment.