Commit Graph

1001 Commits (96e3bf47100fecac9ca78b90b13593b2cc7e1ec6)
 

Author SHA1 Message Date
Chris Simpkins 96e3bf4710 updated contributors list 2017-09-16 20:44:36 +07:00
Chris Clauss fba648eac1 Declare success_indicator as a local variable
Redo #313 on the correct branch.
Declare success_indicator as a local variable, not a GLOBAL CONSTANT.

* By convention, values that may change at runtime should not be in UPPERCASE.
* A global variable can be read from either with or without a global statement
* A global variable can be written to only when preceded by a global statement
```python 
>>> SUCCESS_INDICATOR = 0
>>> def read_from_global():
...     print(SUCCESS_INDICATOR)
...
>>> def write_to_declared__global():
...     global SUCCESS_INDICATOR
...     SUCCESS_INDICATOR += 1
...
>>> def write_to_undeclared__global():
...     SUCCESS_INDICATOR += 1
...
>>> read_from_global()
0
>>> write_to_declared__global()
>>> read_from_global()
1
>>> write_to_undeclared__global()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 2, in write_to_undeclared__global
UnboundLocalError: local variable 'SUCCESS_INDICATOR' referenced before assignment
```
2017-09-16 23:56:02 +07:00
Chris Simpkins 73ee2b7410 update BUILD.md documentation with uninstall instructions 2017-09-16 08:42:30 +07:00
Chris Simpkins a154caa701 new build from source documentation 2017-09-13 21:23:28 +07:00
Chris Simpkins fe8bf12fd2 remove unnecessary build binary file path file 2017-09-13 20:58:05 +07:00
Chris Simpkins 579143ea90 add development builds of all desktop and web fonts generated with build scripts 2017-09-13 17:50:54 +07:00
Chris Simpkins 2a97b0d52b Hack-Regular U+002B vertical stem length hinting update - decrease length by 0.5 units @ 12 2017-09-11 19:27:45 +07:00
Chris Simpkins 0d6a4a4f24 Hack-BoldItalic hint updates for U+002B @ 10,11 2017-09-11 14:05:33 +07:00
Chris Simpkins a908af388e Hack-Bold hint updates for U+002B @10,11 and U+0038 @ 12,13,14 2017-09-11 14:04:54 +07:00
Chris Simpkins 8f20b787e6 add group: deprecated-2017Q3 to revert to old testing platform on Travis CI 2017-09-10 21:41:51 +07:00
Chris Simpkins 60d230a66e Hack-Bold hinting update U+0025 @ 14 (percent, glyph ID 762) (#300) 2017-09-07 22:00:44 +07:00
Chris Simpkins 348abb9b33 Hack-Bold hinting update U+0025 @ 11 (percent, glyph ID 762) (#300) 2017-09-07 21:51:02 +07:00
Chris Simpkins 775ed92f0e Hack-Bold hinting update U+0025 @ 10 (percent, glyph ID 762) (#300) 2017-09-07 21:43:20 +07:00
Chris Simpkins 03540d30ab manual hinting fix for ttfautohint exclamation point U+0021 at 14 (#299) 2017-09-07 21:13:58 +07:00
Chris Simpkins 6c10788843 manual ttfautohint hinting adjustments U+0025, italic set at 10,11,14 ppem (#259) 2017-09-06 23:36:57 +07:00
Chris Simpkins cdd8df1953 manual ttfautohint hinting adjustments U+0025, regular set at size 11 2017-09-06 23:35:40 +07:00
Chris Simpkins c64e46b2cc add manual ttfautohint instruction set modifications for U+0025, regular set (#297) 2017-09-06 22:43:22 +07:00
Chris Simpkins f9c066e37d add manual instruction set modifications for ttfautohint U+002B, regular set (#298) 2017-09-06 21:07:31 +07:00
Chris Simpkins c605b6617a add manual hints for U+0023, regular set (#296) 2017-09-05 22:51:14 +07:00
Chris Simpkins 12806fd0f3 updated targets 2017-08-30 21:50:41 +07:00
Chris Simpkins 9284d227b0 add test builds for web font subset proofing 2017-08-30 21:19:02 +07:00
Chris Simpkins c750713fe0 adds general punctuation glyphs to web font subsets (defined in lib.plist files) 2017-08-30 21:03:54 +07:00
Chris Simpkins 869c0d1d84 adds currency glyphs to web subset data in lib.plist files 2017-08-30 20:30:52 +07:00
Chris Simpkins 14f8d41f32 adds directory testing before file moves (bugfix for move errors when git does not clone an empty existing directory) 2017-08-29 23:17:46 +07:00
Chris Simpkins 8895e7e949 removes subset data from all lib.plist source files (this is breaking full set builds with fontmake), adds temp source directory approach for web font subset builds, adds new subset formatted lib.plist files in source/subset-lib directory that are used as replacements in temp source directory during the subsetting process 2017-08-29 22:56:25 +07:00
Chris Simpkins 01da9617be adds build-subsets.sh script for web font subset builds and makefile support for web font subset builds 2017-08-29 21:25:24 +07:00
Chris Simpkins b4e79c67cf changed path of build.sh to build-ttf.sh, updated Makefile paths 2017-08-29 18:30:51 +07:00
Chris Simpkins 9ac87b7c3e remove unnecessary webfonts build directory and old web font release script 2017-08-29 18:03:24 +07:00
Chris Simpkins 4272954a36 adds public.glyphOrder key back to lib.plist file (fontmake builds fail without this glyph list) 2017-08-28 23:03:04 +07:00
Chris Simpkins 4748b6efac adds ASCII + Latin-1 + Latin Extended A glyph name list to lib.plist for subset builds 2017-08-28 22:27:28 +07:00
Chris Simpkins d488635791 adds ttfautohint-build.sh shell script updates from Werner Lemberg (https://github.com/source-foundry/Hack/issues/227#issuecomment-325187895) to address OS X builds 2017-08-27 17:45:46 +07:00
Chris Simpkins 1a4ccfe29c double quote to prevent globbing / splitting 2017-08-26 13:24:21 +07:00
Chris Simpkins c290a387ed remove pkg-config dependency update 2017-08-26 13:21:34 +07:00
Chris Simpkins fc7c75c56a adds Freetype patches to address build issue on OS X 2017-08-26 13:20:09 +07:00
Chris Simpkins 475efcd41c modify build testing dependency installs in Travis settings 2017-08-26 12:59:39 +07:00
Chris Simpkins 0a5a19e6d4 modifies environment var settings in matrix build, modifies testing dependency installs on OS X platform 2017-08-26 12:09:09 +07:00
Chris Simpkins 53f2a2880d another attempt at a matrix build for OS X platform CI testing, modifies python install relative to build phase 2017-08-26 12:02:46 +07:00
Chris Simpkins 42c21c3014 attempt workaround for Travis testing dependencies on OS X CI testing builds 2017-08-26 11:52:23 +07:00
Chris Simpkins 53760bdee5 adds OS X testing to CI test matrix, includes OS specific testing dependency install changes to .travis.yml 2017-08-26 11:19:30 +07:00
Chris Simpkins 039c4669fc shellcheck fixes for ttfautohint-build.sh script, adds CI shellcheck testing for ttfautohint-build.sh script 2017-08-26 10:31:48 +07:00
Chris Simpkins 4751cb39f7 update Makefile with web font builds and shellcheck linting of new build-woff.sh + build-woff2.sh shell scripts 2017-08-26 09:46:48 +07:00
Chris Simpkins 26f6daa266 decreases the number of zopfli iterations on woff builds from 15 to 3. Significant decrease in build time without change in compression ratio 2017-08-25 23:45:40 +07:00
Chris Simpkins f05ef7922d adds build-woff2.sh woff2 web font build script 2017-08-25 22:41:19 +07:00
Chris Simpkins 0715aa9c5d renames woff web font build script from build-web.sh to build-woff.sh 2017-08-25 22:40:43 +07:00
Chris Simpkins e07c3eb0d3 implementation of ttf to woff build 2017-08-25 16:46:58 +07:00
Chris Simpkins 66e64f3eee modified web font directory path 2017-08-25 14:02:32 +07:00
Chris Simpkins de1a559d59 adds build-web.sh web font build script, currently implements sfnt2woff-zopfli dependency install 2017-08-25 00:06:10 +07:00
Chris Simpkins bf468e59c1 changed shebang to sh from bash 2017-08-22 19:51:01 +07:00
Chris Simpkins ea3fb98e95 remove unnecessary apt-get ttfautohint dependency installs on Travis builds 2017-08-22 19:39:23 +07:00
Chris Simpkins 9f9c34f36d Merge branch 'mavit-make' into dev-build-scripts
* mavit-make:
  update contributor badge
  added Peter Oliver to contributors list
  Run lint via parallel make.
2017-08-22 19:33:22 +07:00