summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAge
* Clear fsSelection regular bit for BlackJames Godfrey-Kittle2015-12-17
|
* Test for correct copyright messageJames Godfrey-Kittle2015-12-14
|
* Don't change copyright in build scriptsJames Godfrey-Kittle2015-12-14
| | | | The copyright message now found in the source files is correct.
* Update calls to ufo2ftJames Godfrey-Kittle2015-12-11
| | | | | Due to changes in https://github.com/jamesgk/ufo2ft/commit/6c46f7050bfdd346c33c1312f07830c48fcc07f2
* Switch general tests to test unhinted fontsJames Godfrey-Kittle2015-12-11
| | | | | | This was changed to test hinted fonts in a4ef18e29638cd1a0c814adb762177a342898eeb, but I think we want to go back to unhinted fonts by default. It can always be changed locally.
* Update an outdated context link for keycaps testJames Godfrey-Kittle2015-12-11
|
* Add name, metadata tests for general and androidJames Godfrey-Kittle2015-12-11
| | | | | There's no reason not to have these, and they're quite helpful for catching little issues.
* Don't set Black weight as bold outside of AndroidJames Godfrey-Kittle2015-12-11
| | | | | | There's no documented reason why we were doing this before, so let's output these fonts for now and see if they work on other platforms. Android can come next.
* Update use of nototools' unit testsJames Godfrey-Kittle2015-12-11
| | | | | | Due to changes in https://github.com/jamesgk/nototools/commit/7c07e2b2485b29638d9141b809d7eadd547f1b01 https://github.com/jamesgk/nototools/commit/995fe3c706d1e9fb76d5506e36a6ef06f2ea2dfe
* Update calls to cu2quJames Godfrey-Kittle2015-12-11
| | | | | This is hopefully the last time we have to do this. In response to https://github.com/googlei18n/cu2qu/commit/56f36a1b2ab673c25ac81756d5c251909a7d41e2
* Another update to curve conversion callsJames Godfrey-Kittle2015-11-24
| | | | | cu2qu is a new library without a currently well-defined API, so these calls have changed and will probably change again.
* Reverse contours before generating TTFsJames Godfrey-Kittle2015-11-23
| | | | | The UFOs store contours in ccw order, and the TrueType spec seems to say they should be cw. The old binaries are cw.
* Change error bound when converting curvesJames Godfrey-Kittle2015-11-23
| | | | | | This is a small change which passes the threshold at which dots will have eight points instead of four, which makes a noticeable difference in shape.
* Update curve conversion calls based on upstreamJames Godfrey-Kittle2015-11-20
|
* Generate TTFs with ufo2ftJames Godfrey-Kittle2015-11-20
|
* Fix import order in Build.pyJames Godfrey-Kittle2015-11-20
|
* [italics] Add some commentsJames Godfrey-Kittle2015-11-19
| | | | It's not much, but maybe a start....
* [italics] Work around RoboFab-related issuesJames Godfrey-Kittle2015-11-19
| | | | | | | | | | | | This is (hopefully) a temporary hack until a more robust solution to the issue is found. Basically the problem is that RoboFab pens do float-to-float comparisons to decide whether to remove duplicate points from contours, and breaks with BooleanOperations output (which can include point coordinates with very small fractional components). The italicizing code assumes certain behavior from RoboFab pens and can't handle duplicate points being kept.
* [italics] Fix import order, remove unused importsJames Godfrey-Kittle2015-11-13
|
* [italics] Fix whitespaceJames Godfrey-Kittle2015-11-13
|
* Use common tests from nototoolsJames Godfrey-Kittle2015-10-06
|
* Test version string, revision # as separate valuesJames Godfrey-Kittle2015-10-06
|
* Add example of expected_version definitionJames Godfrey-Kittle2015-10-06
|
* Further generalize common_tests.pyJames Godfrey-Kittle2015-10-06
|
* Merge pull request #116 from jamesgk/testingJames Godfrey-Kittle2015-10-06
|\ | | | | Test consolidation
| * Move exhaustive tests to common_testsJames Godfrey-Kittle2015-09-29
| |
| * Use common digit width test for androidJames Godfrey-Kittle2015-09-29
| |
| * Move TestHints to common_testsJames Godfrey-Kittle2015-09-29
| |
| * Generalize and move vertical metrics testsJames Godfrey-Kittle2015-09-29
| |
| * Generalize coverage tests in common_testsJames Godfrey-Kittle2015-09-29
| |
| * Move all name tests to common_testsJames Godfrey-Kittle2015-09-29
| |
* | Provide a hotfix for webfont names.James Godfrey-Kittle2015-09-29
|/ | | | | | | | | | This ensures that we'll only have four fonts with family name "Roboto" (regular, bold, italic, and bold italic), which is necessary for Windows compatibility. Other styles have their weight appended to the family name. Also ensures that the macStyle bold bit is set for weight Black, to be consistent with older Roboto binaries.
* Tmp disable superscript digit test for web.James Godfrey-Kittle2015-09-29
| | | | | | | | See added comment for motivation. Probably the *.frac and *superior glyphs should be merged. More info: https://github.com/google/roboto/issues/22 https://github.com/google/roboto/issues/108
* Add option to check heavier fonts as marked bold.James Godfrey-Kittle2015-09-28
| | | | | | Not sure if there's any rule for whether fonts heavier than Bold (e.g. Black) should be marked bold in the macStyle and subfamily name, so this adds an option to test either way.
* Re-add check for bold bit in Black weight.James Godfrey-Kittle2015-09-28
| | | | | | | | Check removed in ca851298519eb19c3c89cc2b3a6c0770b04257a4. It may or may not be standard practice, but Roboto has previously set the bold bit for its Black weight so we'll keep it this way to avoid regression.
* Remove unused imports.James Godfrey-Kittle2015-09-28
|
* Test that name and style are generally compatible.James Godfrey-Kittle2015-09-28
| | | | | | Changes to the TestNames unit tests reflect the issues raised in the link added to common_tests.py. Also generally account for code changed in nototools.
* Rename decomposeGlyph's recursive helper function.James Godfrey-Kittle2015-09-21
|
* Reduce code outside of decomposeGlyph's recursion.James Godfrey-Kittle2015-09-18
|
* Decompose nested components.James Godfrey-Kittle2015-09-17
| | | | | If components of components aren't also decomposed, we may miss some contours in the resulting glyphs.
* Don't use RGlyph.getParent.James Godfrey-Kittle2015-09-02
| | | | | | Apparently this method returns a different font than we expect in decomposeGlyph, probably due to the glyph copying we do when mixing masters. The easiest thing to do is just not trust or use the method.
* Add test to compare glyph sizes between fonts.James Godfrey-Kittle2015-08-31
| | | | | | For now, we just check which glyphs are unchanged between the Thin and Bold masters, and make sure only those glyphs are unchanged between Thin, Regular, and Bold output (ignoring empty glyphs).
* Allow source and output UFOs to be tested.James Godfrey-Kittle2015-08-31
|
* Always deal with floats when mixing font masters.James Godfrey-Kittle2015-08-21
| | | | | | | | | Without this change, some of the master data contains int values which are not interpolated correctly due to numpy array behavior. For example adding float values to a numpy array of ints will always result in an array of ints, so a scale value which should be a float between 0 and 1 might instead be rounded.
* Merge branch 'delivery-script-updates' into delivery-updatesJames Godfrey-Kittle2015-08-20
|\
| * Script updates 15/08/20.James Godfrey-Kittle2015-08-20
| |
* | Add top anchors to composite .smcp, .NAV glyphs.James Godfrey-Kittle2015-08-12
| | | | | | | | | | | | | | I'm not sure why we weren't doing this before, or why there is even a check to prevent adding top or bottom anchors to glyphs without unicode values. But this change seems appropriate, particularly since it fixes #69
* | Explicitly check anchor objects against None.James Godfrey-Kittle2015-07-17
| | | | | | | | | | | | | | | | | | This is necessary because of some implementation details in RoboFab; RAnchor objects always evaluate to False in a boolean context. Fixes a bug in which "top" anchors were not being added to composite glyphs, since they are added only when the "parenttop" anchor is present (which was checked for with a statement like "if anchor:").
* | Merge pull request #51 from google/name-table-fixJames Godfrey-Kittle2015-06-22
|\ \ | | | | | | Correct metadata related to font names and weights.
| * | Explicitly set weight class in OS/2 table.James Godfrey-Kittle2015-06-22
| | | | | | | | | | | | Without this, ufo2fdk sets both Light and Regular to 400 by default.