Skip to content

Commit

Permalink
Merge pull request #1 from mishamyrt/develop
Browse files Browse the repository at this point in the history
Release 1.000 rc1
  • Loading branch information
mishamyrt authored Oct 21, 2019
2 parents 17b7142 + d3427e4 commit 9804b6a
Show file tree
Hide file tree
Showing 85 changed files with 1,840 additions and 211 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: |
sudo apt-get install python3-setuptools ttfautohint -y
sudo pip3 install fonttools
sudo pip3 install git+https://github.com/googlefonts/gftools
sudo pip3 install --upgrade cu2qu
sudo pip3 install fontmake
- name: Checkout
- name: Checkout
uses: actions/checkout@v1
- name: Bootstrap
run: sudo make bootstrap
- name: Build Lilex
run: ./scripts/build
run: make
- name: Upload results
uses: actions/upload-artifact@v1
with:
Expand Down
16 changes: 14 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
# Changelog
All notable changes to this project will be documented in this file.

## [1.000 rc1] — October 21, 2019

Rebuilt from bash scripts to Makefile.

Added `##` `###` `####` `<=>` `>>` `=>>` `=:=` `=!=` `<<=` `/~\`.

Fixed arrows hinting.

Added colon vertical alignment in time sequences `10:22`.

## [1.000 beta2] — October 16, 2019

Refused from using the patching method to create my own source code based on IBM Plex Mono.

Made a variable TTF.

Added `&&` `==` `===` `!=` `!==` `~~` `||` `**` `***` `//` `=>` `~~>` `>=` `<=` `*>` `/*` `*/` `.?` `~=` `--` `++` `..` `...` `::` `#!` `</` `/>` `www` `__` `/=` `.=` `:=` `->` `<-` `</>`
Added `&&` `==` `===` `!=` `!==` `~~` `||` `**` `***` `//` `=>` `~~>` `>=` `<=` `*>` `/*` `*/` `.?` `~=` `--` `++` `..` `...` `::` `#!` `</` `/>` `www` `__` `/=` `.=` `:=` `->` `<-` `</>`.

## [1.000 beta1] — October 9, 2019

Expand All @@ -20,4 +30,6 @@ IBM Plex Mono version: 3.000

[1.000 beta1]: https://github.com/mishamyrt/Lilex/releases/tag/1.000-beta

[1.000 beta2]: https://github.com/mishamyrt/Lilex/releases/tag/1.000-beta2
[1.000 beta2]: https://github.com/mishamyrt/Lilex/releases/tag/1.000-beta2

[1.000 rc1]: https://github.com/mishamyrt/Lilex/releases/tag/1.000-rc1
64 changes: 64 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
BUILD_DIRECTORY=build
DESIGNSPACE_FILE=source/Lilex.designspace
VF_FILE="$(BUILD_DIRECTORY)/variable_ttf/Lilex-VF.ttf"
UNAME := $(shell uname)
ifeq (, $(shell which lsb_release))
OS := $(UNAME)
else
OS := $(shell lsb_release -si)
endif

all: ttf otf variable_ttf

ttf: raw_ttf
$(foreach file,$(wildcard $(BUILD_DIRECTORY)/ttf/*.ttf),$(call ttf_fix,$(file)))

raw_ttf:
fontmake -m $(DESIGNSPACE_FILE) -o ttf --output-dir "$(BUILD_DIRECTORY)/ttf" -i

otf:
fontmake -m $(DESIGNSPACE_FILE) -o otf \
--output-dir "$(BUILD_DIRECTORY)/otf" -i

variable_ttf:
fontmake -m $(DESIGNSPACE_FILE) -o variable \
--output-dir "$(BUILD_DIRECTORY)/variable_ttf"
gftools fix-vf-meta $(VF_FILE)
gftools fix-nonhinting $(VF_FILE) $(VF_FILE)
gftools fix-gasp --autofix $(VF_FILE)
gftools fix-dsig --autofix $(VF_FILE)
rm $(BUILD_DIRECTORY)/variable_ttf/Lilex-VF-backup-fonttools-prep-gasp.ttf
rm $(BUILD_DIRECTORY)/variable_ttf/Lilex-VF.ttf.fix

install:
-@make install_$(UNAME)

bootstrap:
-@make bootstrap_$(OS)

install_Darwin:
rm -rf ~/Library/Fonts/Lilex
cp -r build/otf ~/Library/Fonts/Lilex

bootstrap_Darwin:
brew install cairo freetype harfbuzz pkg-config ttfautohint python3
-@make bootstrap_pip

bootstrap_Ubuntu:
apt install python3-setuptools ttfautohint
-@make bootstrap_pip

bootstrap_pip:
pip3 install fonttools git+https://github.com/googlefonts/gftools fontmake
pip3 install -U cu2qu

install_Linux:
mkdir -p ~/.fonts
rm -rf ~/.fonts/Lilex

define ttf_fix
gftools fix-dsig --autofix $(1)
ttfautohint -I $(1) $(1)-hinted --stem-width-mode nnn --composites --windows-compatibility
mv $(1)-hinted $(1)

endef
45 changes: 38 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,54 @@
<p align="center">
<img
src="./showcases/[email protected]"
alt="Lilex logo">
alt="Lilex logo"
width="464px">
<p>

<h2 align="center">
monospaced font with programming ligatures
</h2>
Lilex is the modern programming font containing a set of ligatures for common programming multi-character combinations.

Lilex is the font containing a set of ligatures from for common programming multi-character combinations. This is just a font rendering feature: underlying code remains ASCII-compatible. This helps to read and understand code faster. For some frequent sequences like .. or //, ligatures allow us to correct spacing.
This is just a font rendering feature: underlying code remains ASCII-compatible. This helps to read and understand code faster. For some frequent sequences like .. or //, ligatures allow us to correct spacing like kerning pairs.

[**Download Lilex Font Family v1.000 ß**](https://github.com/mishamyrt/Lilex/releases/download/1.000-beta/Lilex-1.000-beta.zip)
Compiled versions are available under [releases](https://github.com/mishamyrt/Lilex/releases).

## Examples

### JavaScript
### JavaScript (JSX)

<img src="./showcases/[email protected]">

### PHP

<img src="./showcases/[email protected]">

### Go

<img src="./showcases/[email protected]">

### C

<img src="./showcases/[email protected]">

## Stylistic sets

Additional features are available in the font, which are disabled by default.

<img src="./showcases/[email protected]">

## Build

At the moment building is possible on Ubuntu and macOS. First, install the build dependencies.

```sh
sudo make bootstrap
```

Now run the command to build it.

```sh
make
```

## Credits

- Author: Mikhael Khrustik
Expand Down
3 changes: 0 additions & 3 deletions scripts/_paths

This file was deleted.

8 changes: 0 additions & 8 deletions scripts/build

This file was deleted.

9 changes: 0 additions & 9 deletions scripts/build_otf

This file was deleted.

22 changes: 0 additions & 22 deletions scripts/build_ttf

This file was deleted.

22 changes: 0 additions & 22 deletions scripts/build_vf

This file was deleted.

3 changes: 0 additions & 3 deletions scripts/install

This file was deleted.

Binary file added showcases/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added showcases/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified showcases/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified showcases/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added showcases/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added showcases/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions source/Lilex.designspace
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version='1.0' encoding='utf-8'?>
<designspace format="3">
<axes>
<axis default="400" tag="wght" name="weight" minimum="340" maximum="700">
<axis name="weight" tag="wght" minimum="340" maximum="700" default="400">
<labelname xml:lang="en">Weight</labelname>
</axis>
</axes>
<sources>
<source filename="masters/Lilex-Regular.ufo" familyname="Lilex" stylename="Regular" name="Regular">
<source name="Regular" filename="masters/Lilex-Regular.ufo" stylename="Regular" familyname="Lilex">
<lib copy="1"/>
<groups copy="1"/>
<info copy="1"/>
Expand All @@ -15,29 +15,29 @@
<dimension name="weight" xvalue="400"/>
</location>
</source>
<source filename="masters/Lilex-Bold.ufo" familyname="Lilex" stylename="Bold" name="Bold">
<source name="Bold" filename="masters/Lilex-Bold.ufo" stylename="Bold" familyname="Lilex">
<location>
<dimension name="weight" xvalue="700"/>
</location>
</source>
</sources>
<instances>
<instance filename="instances/Lilex-Regular.ufo" familyname="Lilex" stylename="Regular" name="Regular">
<instance name="Regular" filename="instances/Lilex-Regular.ufo" stylename="Regular" familyname="Lilex">
<location>
<dimension name="weight" xvalue="400"/>
</location>
</instance>
<instance filename="instances/Lilex-Bold.ufo" familyname="Lilex" stylename="Bold" name="Bold">
<instance name="Bold" filename="instances/Lilex-Bold.ufo" stylename="Bold" familyname="Lilex">
<location>
<dimension name="weight" xvalue="700"/>
</location>
</instance>
<instance filename="instances/Lilex-Light.ufo" familyname="Lilex" stylename="Light" name="Light">
<instance name="Light" filename="instances/Lilex-Light.ufo" stylename="Light" familyname="Lilex">
<location>
<dimension name="weight" xvalue="340"/>
</location>
</instance>
<instance filename="instances/Lilex-Retina.ufo" familyname="Lilex" stylename="Retina" name="Retina">
<instance name="Retina" filename="instances/Lilex-Retina.ufo" stylename="Retina" familyname="Lilex">
<location>
<dimension name="weight" xvalue="410"/>
</location>
Expand Down
Loading

0 comments on commit 9804b6a

Please sign in to comment.