Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate Google formulas to new API #187

Merged
merged 4 commits into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/google.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: bundle exec fontist config set read_timeout 60

- name: Import new fonts
run: bundle exec fontist import google --formulas_path Formulas -n 50
run: bundle exec fontist import google --formulas_path Formulas -n 100 -v

- uses: EndBug/add-and-commit@v7
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/metanorma.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: metanorma

on:
push:
branches: [ master, v2, v3 ]
branches: [ master, v2, v3, v4 ]
pull_request:

jobs:
Expand Down Expand Up @@ -33,8 +33,8 @@ jobs:
path: "formulas"

- run: |
mkdir -p $HOME/.fontist/versions/v3
mv formulas $HOME/.fontist/versions/v3/formulas
mkdir -p $HOME/.fontist/versions/v4
mv formulas $HOME/.fontist/versions/v4/formulas
shell: bash

- uses: ruby/setup-ruby@v1
Expand Down
39 changes: 22 additions & 17 deletions Formulas/google/abeezee.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,43 @@
---
name: ABeeZee
description: ABeeZee
homepage: https://carrois.com/
resources:
ABeeZee.zip:
urls:
- https://fonts.google.com/download?family=ABeeZee
sha256: c857de68ce2e4caad334e2f24a2daa71d5ccb904c25c03ee409b150bc0f5234b
file_size: 51772
ABeeZee:
source: google
family: ABeeZee
files:
- https://fonts.gstatic.com/s/abeezee/v22/esDR31xSG-6AGleN6tKukbcHCpE.ttf
- https://fonts.gstatic.com/s/abeezee/v22/esDT31xSG-6AGleN2tCklZUCGpG-GQ.ttf
fonts:
- name: ABeeZee
styles:
- family_name: ABeeZee
type: Italic
full_name: ABeeZee Italic
post_script_name: ABeeZee-Italic
version: '1.002'
copyright: Copyright (c) 2011 by Anja Meiners, with Reserved Font Name 'ABeeZee'
font: ABeeZee-Italic.ttf
version: 1.003; ttfautohint (v1.8.3)
copyright: Copyright 2011 The ABeeZee Project Authors (https://github.com/googlefonts/abeezee)
with Reserved Font Name ABeeZee
font: esDT31xSG-6AGleN2tCklZUCGpG-GQ.ttf
- family_name: ABeeZee
type: Regular
full_name: ABeeZee Regular
post_script_name: ABeeZee-Regular
version: '1.002'
copyright: Copyright (c) 2011 by Anja Meiners, with Reserved Font Name 'ABeeZee'
font: ABeeZee-Regular.ttf
version: 1.003; ttfautohint (v1.8.3)
copyright: Copyright 2011 The ABeeZee Project Authors (https://github.com/googlefonts/abeezee)
with Reserved Font Name ABeeZee
font: esDR31xSG-6AGleN6tKukbcHCpE.ttf
extract: {}
copyright: Copyright (c) 2011 by Anja Meiners, with Reserved Font Name 'ABeeZee'
license_url: http://scripts.sil.org/OFL
copyright: Copyright 2011 The ABeeZee Project Authors (https://github.com/googlefonts/abeezee)
with Reserved Font Name ABeeZee
license_url: https://scripts.sil.org/OFL
open_license: |-
Copyright (c) 2011 by Anja Meiners, with Reserved Font Name 'ABeeZee'
Copyright 2011 The ABeeZee Project Authors (https://github.com/googlefonts/abeezee), with Reserved Font Name 'ABeeZee'

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
https://scripts.sil.org/OFL


-----------------------------------------------------------
Expand Down Expand Up @@ -120,5 +126,4 @@ open_license: |-
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
digest: 74cf1429158276fd918aa2d08bba809ac92cda5f06fa12435080db39d705483b
command: google import --formulas_path Formulas
command: import google -n 9999
16 changes: 8 additions & 8 deletions Formulas/google/abel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: Abel
description: Abel
homepage: http://www.madtype.com
resources:
Abel.zip:
urls:
- https://fonts.google.com/download?family=Abel
sha256: adf78af6e6d53062554abcbf1a3ae463ef161a5368e1106350db0876e4b20d0c
file_size: 17115
Abel:
source: google
family: Abel
files:
- https://fonts.gstatic.com/s/abel/v18/MwQ5bhbm2POE6VhLPJp6qGI.ttf
fonts:
- name: Abel
styles:
Expand All @@ -18,9 +18,8 @@ fonts:
version: '1.003'
copyright: Copyright (c) 2011, Matthew Desmond (http://www.madtype.com | [email protected]),
with Reserved Font Name Abel.
font: Abel-Regular.ttf
extract:
format: zip
font: MwQ5bhbm2POE6VhLPJp6qGI.ttf
extract: {}
copyright: Copyright (c) 2011, Matthew Desmond (http://www.madtype.com | [email protected]),
with Reserved Font Name Abel.
license_url: http://scripts.sil.org/OFL
Expand Down Expand Up @@ -118,3 +117,4 @@ open_license: |-
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
command: import google -n 9999
60 changes: 33 additions & 27 deletions Formulas/google/abhaya_libre.yml
Original file line number Diff line number Diff line change
@@ -1,51 +1,56 @@
---
name: Abhaya Libre
description: Abhaya Libre
homepage:
resources:
AbhayaLibre.zip:
urls:
- https://fonts.google.com/download?family=Abhaya%20Libre
sha256: 82c16ee1bf501ab73e6e86d4731d53bcebbf402d5c87a28238f310622e02e879
file_size: 829820
Abhaya Libre:
source: google
family: Abhaya Libre
files:
- https://fonts.gstatic.com/s/abhayalibre/v17/e3tmeuGtX-Co5MNzeAOqinEge0PWovdU4w.ttf
- https://fonts.gstatic.com/s/abhayalibre/v17/e3t5euGtX-Co5MNzeAOqinEYj2ryqtxI6oYtBA.ttf
- https://fonts.gstatic.com/s/abhayalibre/v17/e3t5euGtX-Co5MNzeAOqinEYo23yqtxI6oYtBA.ttf
- https://fonts.gstatic.com/s/abhayalibre/v17/e3t5euGtX-Co5MNzeAOqinEYx2zyqtxI6oYtBA.ttf
- https://fonts.gstatic.com/s/abhayalibre/v17/e3t5euGtX-Co5MNzeAOqinEY22_yqtxI6oYtBA.ttf
fonts:
- name: Abhaya Libre
styles:
- family_name: Abhaya Libre
type: Bold
full_name: Abhaya Libre Bold
post_script_name: AbhayaLibre-Bold
version: 1.050 ; ttfautohint (v1.6)
font: e3t5euGtX-Co5MNzeAOqinEYx2zyqtxI6oYtBA.ttf
- family_name: Abhaya Libre
type: Regular
full_name: Abhaya Libre Regular
post_script_name: AbhayaLibre-Regular
version: 1.050 ; ttfautohint (v1.6)
font: AbhayaLibre-Regular.ttf
font: e3tmeuGtX-Co5MNzeAOqinEge0PWovdU4w.ttf
- name: Abhaya Libre ExtraBold
styles:
- family_name: Abhaya Libre ExtraBold
type: Regular
full_name: Abhaya Libre ExtraBold
post_script_name: AbhayaLibre-ExtraBold
version: 1.050 ; ttfautohint (v1.6)
font: e3t5euGtX-Co5MNzeAOqinEY22_yqtxI6oYtBA.ttf
- name: Abhaya Libre Medium
styles:
- family_name: Abhaya Libre Medium
type: Regular
full_name: Abhaya Libre Medium
post_script_name: AbhayaLibre-Medium
version: 1.050 ; ttfautohint (v1.6)
font: AbhayaLibre-Medium.ttf
font: e3t5euGtX-Co5MNzeAOqinEYj2ryqtxI6oYtBA.ttf
- name: Abhaya Libre SemiBold
styles:
- family_name: Abhaya Libre SemiBold
type: Regular
full_name: Abhaya Libre SemiBold
post_script_name: AbhayaLibre-SemiBold
version: 1.050 ; ttfautohint (v1.6)
font: AbhayaLibre-SemiBold.ttf
- family_name: Abhaya Libre
type: Bold
full_name: Abhaya Libre Bold
post_script_name: AbhayaLibre-Bold
version: 1.050 ; ttfautohint (v1.6)
font: AbhayaLibre-Bold.ttf
- family_name: Abhaya Libre ExtraBold
type: Regular
full_name: Abhaya Libre ExtraBold
post_script_name: AbhayaLibre-ExtraBold
version: 1.050 ; ttfautohint (v1.6)
font: AbhayaLibre-ExtraBold.ttf
extract:
format: zip
copyright: Copyright (c) 1996-2015 Pushpananda Ekanayake ([email protected])
Copyright (c) 2015 Sol Matas ([email protected]) Copyright (c) 2015 Mooniak
([email protected])
license_url:
font: e3t5euGtX-Co5MNzeAOqinEYo23yqtxI6oYtBA.ttf
extract: {}
open_license: |-
Copyright (c) 2013-2016 Abhaya Libre Project Authors (https://github.com/mooniak/abhaya-libre-font).

Expand Down Expand Up @@ -141,3 +146,4 @@ open_license: |-
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
command: import google -n 9999
18 changes: 9 additions & 9 deletions Formulas/google/aboreto.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
---
name: Aboreto
description: Aboreto
resources:
Aboreto.zip:
urls:
- https://fonts.google.com/download?family=Aboreto
sha256: 075d970ac972f1adf98d2c566138a0e53d28e60ed2a78ee1ab7d883f3d513956
file_size: 28725
Aboreto:
source: google
family: Aboreto
files:
- https://fonts.gstatic.com/s/aboreto/v2/5DCXAKLhwDDQ4N8blKTeA2yuxSY.ttf
fonts:
- name: Aboreto
styles:
Expand All @@ -15,7 +16,7 @@ fonts:
post_script_name: Aboreto-Regular
version: 1.001; ttfautohint (v1.8.4.7-5d5b)
copyright: Copyright 2022 The Aboreto Project Authors (https://github.com/domija/Aboreto)
font: Aboreto-Regular.ttf
font: 5DCXAKLhwDDQ4N8blKTeA2yuxSY.ttf
extract: {}
copyright: Copyright 2022 The Aboreto Project Authors (https://github.com/domija/Aboreto)
license_url: https://scripts.sil.org/OFL
Expand All @@ -24,7 +25,7 @@ open_license: |-

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
https://scripts.sil.org/OFL


-----------------------------------------------------------
Expand Down Expand Up @@ -113,5 +114,4 @@ open_license: |-
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
digest: 24221c06b3db6e62d95457e11a311d6e96877d01aee8e0d3b939a3ac817f611e
command: import google --formulas_path Formulas -n 50
command: import google -n 9999
21 changes: 11 additions & 10 deletions Formulas/google/abril_fatface.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
---
name: Abril Fatface
description: Abril Fatface
homepage: www.type-together.com
resources:
AbrilFatface.zip:
urls:
- https://fonts.google.com/download?family=Abril%20Fatface
sha256: 55e40e1edd06d81e0e03d1262a2e0c73bbf9739ee3f5e36e1e691a4ac71c224c
file_size: 29901
Abril Fatface:
source: google
family: Abril Fatface
files:
- https://fonts.gstatic.com/s/abrilfatface/v23/zOL64pLDlL1D99S8g8PtiKchm-BsjOLhZBY.ttf
fonts:
- name: Abril Fatface
styles:
Expand All @@ -17,11 +18,10 @@ fonts:
version: '1.001'
copyright: Copyright (c) 2011, Copyright (c) 2011, TypeTogether (www.type-together.com),
with Reserved Font Names "Abril" and "Abril Fatface"
font: AbrilFatface-Regular.ttf
extract:
format: zip
copyright: Copyright (c) 2011, Copyright (c) 2011, TypeTogether (www.type-together.com
[email protected]), with Reserved Font Names "Abril" and "Abril Fatface"
font: zOL64pLDlL1D99S8g8PtiKchm-BsjOLhZBY.ttf
extract: {}
copyright: Copyright (c) 2011, Copyright (c) 2011, TypeTogether (www.type-together.com),
with Reserved Font Names "Abril" and "Abril Fatface"
license_url: http://scripts.sil.org/OFL
open_license: |-
Copyright (c) 2011, TypeTogether (www.type-together.com),
Expand Down Expand Up @@ -118,3 +118,4 @@ open_license: |-
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
command: import google -n 9999
17 changes: 9 additions & 8 deletions Formulas/google/abyssinica_sil.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
---
name: Abyssinica SIL
description: Abyssinica SIL
homepage: http://scripts.sil.org
resources:
Abyssinica_SIL.zip:
urls:
- https://fonts.google.com/download?family=Abyssinica%20SIL
sha256: 67615b12f3c5a86971f0f6997f22849e5571b1b956de157a9e971070d712bf33
file_size: 141932
Abyssinica SIL:
source: google
family: Abyssinica SIL
files:
- https://fonts.gstatic.com/s/abyssinicasil/v5/oY1H8ezOqK7iI3rK_45WKoc8J6UZBFOVAXuI.ttf
fonts:
- name: Abyssinica SIL
styles:
Expand All @@ -17,7 +18,7 @@ fonts:
version: '2.200'
description: Ethiopic script font designed in a calligraphic style
copyright: Copyright (c) 2000-2022 by SIL International
font: AbyssinicaSIL-Regular.ttf
font: oY1H8ezOqK7iI3rK_45WKoc8J6UZBFOVAXuI.ttf
extract: {}
copyright: Copyright (c) 2000-2022 by SIL International
license_url: http://scripts.sil.org/OFL
Expand All @@ -32,6 +33,7 @@ open_license: |-
http://scripts.sil.org/OFL



-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
Expand Down Expand Up @@ -118,5 +120,4 @@ open_license: |-
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
digest: 19392cbc8f2652cf1608a858ee6645247dee36d3b951762e649a5bd636a816fd
command: import google --formulas_path Formulas -n 50
command: import google -n 9999
24 changes: 13 additions & 11 deletions Formulas/google/aclonica.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: Aclonica
description: Aclonica
homepage: http://www.astigmatic.com/
resources:
Aclonica.zip:
urls:
- https://fonts.google.com/download?family=Aclonica
sha256: 8a233c679555455802b6c2d92e4420142a8a38685babe450af18ff3e0b704b33
file_size: 33867
Aclonica:
source: google
family: Aclonica
files:
- https://fonts.gstatic.com/s/aclonica/v22/K2FyfZJVlfNNSEBXGb7TCI6oBjLz.ttf
fonts:
- name: Aclonica
styles:
Expand All @@ -19,13 +19,14 @@ fonts:
copyright: |-
Copyright (c) 2010 by Brian J. Bonislawsky DBA Astigmatic (AOETI). All rights reserved. Available under the Apache 2.0 licence.
http://www.apache.org/licenses/LICENSE-2.0.html
font: Aclonica-Regular.ttf
extract:
format: zip
copyright: Copyright (c) 2010 Brian J. Bonislawsky ([email protected])
font: K2FyfZJVlfNNSEBXGb7TCI6oBjLz.ttf
extract: {}
copyright: |-
Copyright (c) 2010 by Brian J. Bonislawsky DBA Astigmatic (AOETI). All rights reserved. Available under the Apache 2.0 licence.
http://www.apache.org/licenses/LICENSE-2.0.html
license_url: http://www.apache.org/licenses/LICENSE-2.0
open_license: |2-
Apache License
open_license: |-
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

Expand Down Expand Up @@ -226,3 +227,4 @@ open_license: |2-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
command: import google -n 9999
Loading
Loading