mirror of
https://github.com/googlefonts/lexend.git
synced 2026-09-10 07:26:23 -04:00
commit
57e6c14e2a
46
.github/workflows/build.yml
vendored
Normal file
46
.github/workflows/build.yml
vendored
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
name: Build Fonts
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- sources/**
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- sources/**
|
||||
|
||||
jobs:
|
||||
static-font-ci-job:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: [3.8]
|
||||
name: Build VF and statics
|
||||
steps:
|
||||
- name: Check out Lexend sources repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Set up Python v${{ matrix.python-version }} environment
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Python build dependency cache lookup
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: ~/.cache/pip
|
||||
# Check for requirements file cache hit
|
||||
key: ${{ runner.os }}-pip-${{ hashFiles('${{ steps.config.outputs.dependpath }}') }}
|
||||
- name: Install Python build dependencies
|
||||
uses: py-actions/py-dependency-install@v2
|
||||
with:
|
||||
update-wheel: "true"
|
||||
update-setuptools: "true"
|
||||
- name: Build fonts
|
||||
run: gftools builder sources/lexend.yaml
|
||||
- name: Upload Fonts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Fonts
|
||||
path: fonts/lexend/
|
||||
43
.github/workflows/fontbakery.yml
vendored
Normal file
43
.github/workflows/fontbakery.yml
vendored
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
name: Fontbakery CI
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
static-font-ci-job:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: [3.8]
|
||||
name: Checks fonts
|
||||
steps:
|
||||
- name: Check out Lexend sources repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Set up Python v${{ matrix.python-version }} environment
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Python build dependency cache lookup
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: ~/.cache/pip
|
||||
# Check for requirements file cache hit
|
||||
key: ${{ runner.os }}-pip-${{ hashFiles('${{ steps.config.outputs.dependpath }}') }}
|
||||
- name: Install Python build dependencies
|
||||
uses: py-actions/py-dependency-install@v2
|
||||
with:
|
||||
update-wheel: "true"
|
||||
update-setuptools: "true"
|
||||
- name: Build fonts
|
||||
run: gftools builder sources/lexend-CI.yaml
|
||||
- name: Make Fontbakery Report
|
||||
uses: f-actions/font-bakery@v1
|
||||
with:
|
||||
version: "latest"
|
||||
subcmd: "check-googlefonts"
|
||||
args: "--succinct --loglevel WARN --ghmarkdown report.md"
|
||||
path: "fonts/CI/variable/*.ttf"
|
||||
- name: Upload files
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: QA_files
|
||||
path: fonts/CI/
|
||||
|
|
@ -65,10 +65,10 @@ W: <http://arabictype.com>
|
|||
D: Designer of Readex Pro (Arabic of Readex PRo, derived from Lexend Latin)
|
||||
|
||||
N: Font Bureau
|
||||
E: David Berlow <dberlow@fontbureau.com>
|
||||
E: Santiago Orozco <hi@typemade.com>
|
||||
E: Héctor Gómez <hector@typemade.com>
|
||||
W: <http://www.fontbureau.com/ReadingEdge>
|
||||
E: David Berlow <dberlow@fontbureau.com><br/>
|
||||
E: Santiago Orozco <hi@typemade.com><br/>
|
||||
E: Héctor Gómez <hector@typemade.com><br/>
|
||||
W: <http://www.fontbureau.com/ReadingEdge><br/>
|
||||
D: Designer of weight axis
|
||||
|
||||
For more information about this font please visit [www.lexend.com](http://www.lexend.com)
|
||||
|
|
|
|||
49
sources/lexend-CI.yaml
Normal file
49
sources/lexend-CI.yaml
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
sources:
|
||||
- Lexend.glyphs
|
||||
familyName: Lexend
|
||||
outputDir: ../fonts/CI
|
||||
buildStatic: False
|
||||
axisOrder:
|
||||
- HEXP
|
||||
- wght
|
||||
stat:
|
||||
- name: Hyper Expansion
|
||||
tag: HEXP
|
||||
values:
|
||||
- name: Deca
|
||||
value: 0
|
||||
- name: Exa
|
||||
value: 40
|
||||
- name: Giga
|
||||
value: 56
|
||||
- name: Mega
|
||||
value: 64
|
||||
- name: Peta
|
||||
value: 72
|
||||
- name: Tera
|
||||
value: 80
|
||||
- name: Zetta
|
||||
value: 100
|
||||
- name: Weight
|
||||
tag: wght
|
||||
values:
|
||||
- name: Thin
|
||||
value: 100
|
||||
- name: ExtraLight
|
||||
value: 200
|
||||
- name: Light
|
||||
value: 300
|
||||
- name: Regular
|
||||
value: 400
|
||||
linkedValue: 700
|
||||
flags: 2
|
||||
- name: Medium
|
||||
value: 500
|
||||
- name: SemiBold
|
||||
value: 600
|
||||
- name: Bold
|
||||
value: 700
|
||||
- name: ExtraBold
|
||||
value: 800
|
||||
- name: Black
|
||||
value: 900
|
||||
Loading…
Reference in a new issue