1
0
mirror of https://github.com/google/fonts.git synced 2024-12-11 10:02:13 +03:00
Commit Graph

7 Commits

Author SHA1 Message Date
Marc Foley
79b2181952 Merge commit 'b50029ddb273c195ca108bebc43724b56f6c19e3' into axis-fix 2022-10-17 12:44:19 +01:00
Chris Simpkins
f0adc6ccc2
Sync axisregistry with googlefonts/axisregistry (#5157)
* Creating `flair.svg`

* y_transparent_descender.textproto Use depth, not height

* weight and width textprotos updated to say stroke weight

* update tox

* run black

* wip name builder

* add build_fvar_instances

* black

* wip linked values

* fix vf name table generation for sibling fonts

* add nameID25

* black

* test static name table generation

* rm local stuff

* add prelim fvar instance check

* improve fvar instance checks

* cleanup stat tests

* run black

* fix tests

* ignore egg-info

* ignore _version

* refactor name check

* Add VF tests

* black

* add logging

* clean up

* convert AxisRegistry into a class

* clean up

* use enums

* replace old family name with new name

* add test for style name which is not part of the allowed static fonts

* add nameID25 checks

* add build filename

* fix replacing names

* simplyify

* implement Simon feedback

* Add wonky example

* do not delete stat name ids if they are used in the fvar table

* do not delete name records which are needed elsehwere

* implement simon feedback

* actions: publish release added

* build_fvar_instances: support fonts which lack wght axis

* AxisRegistry: add items method

* add _fvar_instance_collision.

Determine whether a family of fonts will have fvar instances which collide

* add axis ordering

* fix fvar_collision heuristic

* black

* Don't delete name IDs which are shared with the STAT table

* Update __init__.py

* build_fvar_instances: fix typo

* fix dependencies

* black

* update tox

* tox black: ignore _version.py

* Move nameid25 to its own func

* make family_name optional

* EGRD custom axis added

* Add Extrusion Depth and Edge Highlight axes for Nabla

* Update Lib/axisregistry/data/extrusion_depth.textproto

Co-authored-by: Just van Rossum <justvanrossum@gmail.com>

* Update edge_highlight.textproto

Use Nabla's default value rather zero

* Update extrusion_depth.textproto

Use Nabla's default value rather zero

* Add a fallback to egrid

* Update name of fallback per https://github.com/rosettatype/handjet#element-grid-axis-egrd

* For reasons unknown fallbacks don't have spaces in names

* Add default fallback entries

* All axes must have a fallback

(issue #67)

* Adding the default fallback requirement

* sync with google/fonts

* Revert "sync with google/fonts"

* sync google/fonts axisregistry changes with googlefonts/axisregistry

includes Edge Highlight, Element Grid, and Extrusion Depth edits

Co-authored-by: Elliot Jay Stocks <elliot@elliotjaystocks.com>
Co-authored-by: Dave Crossland <dave@lab6.com>
Co-authored-by: Marc Foley <m.foley.88@gmail.com>
Co-authored-by: Nathan Williams <nlw2sx@virginia.edu>
Co-authored-by: Simon Cozens <simon@simon-cozens.org>
Co-authored-by: Viviana Monsalve <viviana.monsalve.a@gmail.com>
Co-authored-by: Just van Rossum <justvanrossum@gmail.com>
Co-authored-by: Rod S <rsheeter@google.com>
Co-authored-by: Felipe Corrêa da Silva Sanches <juca@members.fsf.org>
2022-08-31 01:01:42 -04:00
Chris Simpkins
7443395948
Sync axisregistry subtree and resolve conflicts (#5072)
* Creating `flair.svg`

* y_transparent_descender.textproto Use depth, not height

* weight and width textprotos updated to say stroke weight

* update tox

* run black

* wip name builder

* add build_fvar_instances

* black

* wip linked values

* fix vf name table generation for sibling fonts

* add nameID25

* black

* test static name table generation

* rm local stuff

* add prelim fvar instance check

* improve fvar instance checks

* cleanup stat tests

* run black

* fix tests

* ignore egg-info

* ignore _version

* refactor name check

* Add VF tests

* black

* add logging

* clean up

* convert AxisRegistry into a class

* clean up

* use enums

* replace old family name with new name

* add test for style name which is not part of the allowed static fonts

* add nameID25 checks

* add build filename

* fix replacing names

* simplyify

* implement Simon feedback

* Add wonky example

* do not delete stat name ids if they are used in the fvar table

* do not delete name records which are needed elsehwere

* implement simon feedback

* actions: publish release added

* build_fvar_instances: support fonts which lack wght axis

* AxisRegistry: add items method

* add _fvar_instance_collision.

Determine whether a family of fonts will have fvar instances which collide

* add axis ordering

* fix fvar_collision heuristic

* black

* Don't delete name IDs which are shared with the STAT table

* Update __init__.py

* build_fvar_instances: fix typo

* fix dependencies

* black

* update tox

* tox black: ignore _version.py

* Move nameid25 to its own func

* make family_name optional

* EGRD custom axis added

Co-authored-by: Elliot Jay Stocks <elliot@elliotjaystocks.com>
Co-authored-by: Dave Crossland <dave@lab6.com>
Co-authored-by: Marc Foley <m.foley.88@gmail.com>
Co-authored-by: Nathan Williams <nlw2sx@virginia.edu>
Co-authored-by: Simon Cozens <simon@simon-cozens.org>
Co-authored-by: Viviana Monsalve <viviana.monsalve.a@gmail.com>
2022-08-17 23:30:44 -04:00
Nathan Williams
1f5d64a60b
Squashed 'axisregistry/' changes from 3158f45e..4e862682 (#4618)
4e862682 Merge pull request #36 from googlefonts/davelab6-tooltip-fixes
948129a4 Merge pull request #39 from googlefonts/tox
81aa9727 run black
15b9f574 update tox
80e36bf3 weight and width textprotos updated to say stroke weight
796f577b y_transparent_descender.textproto Use depth, not height
ed29279d Creating `flair.svg`

git-subtree-dir: axisregistry
git-subtree-split: 4e86268272
2022-05-09 15:37:11 -07:00
nathan-williams
cdcac0aeef Merge commit 'd6236bba52532944a176597d17a48f0dffcc2d78' as 'axisregistry' 2022-04-28 15:59:27 -07:00
nathan-williams
b0914e4f00 Temporarily remove axisregistry/ 2022-04-28 15:59:00 -07:00
nathan-williams
ae08ef115b Delete axisregistry/ and lang/ and rename *_st/
axisregistry_st/ subtree dir replaces axisregistry/
lang_st/ subtree dir replaces lang/
2022-04-16 09:42:00 -07:00