Skip to content

Commit

Permalink
Update repo with latest from head (#2)
Browse files Browse the repository at this point in the history
* Update checker.py

Added mark2base test that uses the serialized buffer to see if a mark has a GPOS shift if placed after a target base mark.

* Use shaper to check whether glyphs exist, see googlefonts#7

* Add youseedee to requirements

* Fix some lints

* Read your own config file, pylint

* More pylint fixes

* Pin protobuf dependency

* Further poetry dependency fixes

* Cache shaping

* Fix error message

* Implement an "unknown" state

* Implement the "report" option

* Speed up the mark checker

* Don't GSUB closure on pathological fonts

* Make pylint happier

* Make result status machine readable

* A new test for unencoded glyph variants. Fixes googlefonts#8

* Use the language tag from the language we're checking

* Skip tests based on certain conditions (missing features), fixes googlefonts#11

* Make linter happier

* Update orthographies check to include auxiliary chars

There is probably a more elegant way to implement this but I have merged auxiliary characters into the bases for the orthographies check. For the purposes of language support testing base and auxiliary characters need to be included to ensure loan words, names and place names can all be typed for a given language.

* Improve error messages

* Add Neil's work

* Pylint stuff

* Update shaping_differs.py

Fixed Type Error caused by trying to concat YAML to str

* Make non-verbose less verbose

* Transfer IP to Google

---------

Co-authored-by: Simon Cozens <[email protected]>
Co-authored-by: Dave Crossland <[email protected]>
  • Loading branch information
3 people authored Feb 6, 2023
1 parent 21fbb11 commit f010dea
Show file tree
Hide file tree
Showing 40 changed files with 5,004 additions and 286 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: poetry install

- name: Check code
run: poetry run pylint shaperglot
run: poetry run pylint --rcfile pyproject.toml shaperglot

- name: Test code
run: poetry run pytest
9 changes: 9 additions & 0 deletions AUTHORS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# This is the official list of authors for copyright purposes.
# This file is distinct from the CONTRIBUTORS files.
# See the latter for an explanation.
#
# Names should be added to this file as:
# Name or Organization <email address>
# The email address is not required for organizations.

Google LLC
27 changes: 27 additions & 0 deletions CONTRIBUTORS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This is the official list of people who can contribute
# (and typically have contributed) code to this repository.
# The AUTHORS file lists the copyright holders; this file
# lists people. For example, Google employees are listed here
# but not in AUTHORS, because Google holds the copyright.
#
# Names should be added to this file only after verifying that
# the individual or the individual's organization has agreed to
# the appropriate Contributor License Agreement, found here:
#
# http://code.google.com/legal/individual-cla-v1.0.html
# http://code.google.com/legal/corporate-cla-v1.0.html
#
# The agreement for individuals can be filled out on the web.
#
# When adding J Random Contributor's name to this file,
# either J's name or J's organization's name should be
# added to the AUTHORS file, depending on whether the
# individual or corporate CLA was used.
#
# Names should be added to this file like so:
# Name <email address>
#
# Please keep the list sorted.
# (first name; alphabetical order)

Simon Cozens <[email protected]>
Loading

0 comments on commit f010dea

Please sign in to comment.