-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from mishamyrt/develop
Release 1.000 rc1
- Loading branch information
Showing
85 changed files
with
1,840 additions
and
211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.