Skip to content

Commit caa559f

Browse files
Merge pull request #19 from source-foundry/dev
v1.0.1
2 parents ef6b593 + a35f40e commit caa559f

File tree

11 files changed

+37
-87
lines changed

11 files changed

+37
-87
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,6 @@ target/
6666
# Project files
6767
tests/runner.py
6868
tests/profiler.py
69+
70+
# VS Code files
71+
.vscode/*

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
## Changelog
22

3+
### v1.0.1
4+
5+
- removed unused variables in commands module
6+
- add docs/LICENSE.md to release archives and Python wheels
7+
- remove Pipfile and Pipfile.lock from version control
8+
39
### v1.0.0
410

511
- initial stable/production release

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
include docs/LICENSE
1+
include docs/LICENSE.md
22
include docs/README.rst

Pipfile

Lines changed: 0 additions & 21 deletions
This file was deleted.

Pipfile.lock

Lines changed: 0 additions & 45 deletions
This file was deleted.

docs/LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2017 Christopher Simpkins
3+
Copyright (c) 2018 Christopher Simpkins
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

docs/README.rst

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -104,17 +104,19 @@ Vertical Metrics Reporting
104104
The following OpenType vertical metrics values and calculated values
105105
derived from these data are displayed with the ``report`` sub-command:
106106

107-
- [OS/2] TypoAscender
108-
- [OS/2] TypoDescender
109-
- [OS/2] WinAscent
110-
- [OS/2] WinDescent
111-
- [OS/2] TypoLineGap
112-
- [hhea] Ascent
113-
- [hhea] Descent
114-
- [hhea] lineGap
115-
- [head] unitsPerEm
116-
- [head] yMax
117-
- [head] yMin
107+
- [OS/2] TypoAscender
108+
- [OS/2] TypoDescender
109+
- [OS/2] WinAscent
110+
- [OS/2] WinDescent
111+
- [OS/2] TypoLineGap
112+
- [OS/2] xHeight
113+
- [OS/2] CapHeight
114+
- [hhea] Ascent
115+
- [hhea] Descent
116+
- [hhea] lineGap
117+
- [head] unitsPerEm
118+
- [head] yMax
119+
- [head] yMin
118120

119121
``report`` Sub-Command Usage
120122
''''''''''''''''''''''''''''
@@ -138,13 +140,15 @@ Example Font Vertical Metrics Report
138140
::
139141

140142
=== Hack-Regular.ttf ===
141-
Version 2.020;DEV-03192016;
142-
SHA1: 638f033cc1b6a21597359278bee62cf7e96557ff
143+
Version 3.001; 379b3ad6d-dev
144+
SHA1: 20d02edca75f2d23787e80161a64418598c850de
143145

144146
--- Metrics ---
145147
[head] Units per Em: 2048
146148
[head] yMax: 2001
147149
[head] yMin: -573
150+
[OS/2] CapHeight: 1493
151+
[OS/2] xHeight: 1120
148152
[OS/2] TypoAscender: 1556
149153
[OS/2] TypoDescender: -492
150154
[OS/2] WinAscent: 1901
@@ -323,8 +327,8 @@ Acknowledgments
323327
font-line is built with the fantastic
324328
`fontTools <https://github.com/behdad/fonttools>`__ Python library.
325329

326-
.. |Build Status| image:: https://travis-ci.org/source-foundry/font-line.svg?branch=master
327-
:target: https://travis-ci.org/source-foundry/font-line
330+
.. |Build Status| image:: https://semaphoreci.com/api/v1/sourcefoundry/font-line/branches/master/badge.svg
331+
:target: https://semaphoreci.com/sourcefoundry/font-line
328332
.. |Build status| image:: https://ci.appveyor.com/api/projects/status/2s4725o5mxh2298c/branch/master?svg=true
329333
:target: https://ci.appveyor.com/project/chrissimpkins/font-line/branch/master
330334
.. |codecov.io| image:: https://codecov.io/github/source-foundry/font-line/coverage.svg?branch=master

lib/fontline/commands.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ def get_font_report(fontpath):
2121
os2_typo_linegap = tt['OS/2'].sTypoLineGap
2222
try:
2323
os2_x_height = tt['OS/2'].sxHeight
24-
except AttributeError as e:
24+
except AttributeError:
2525
os2_x_height = "---- (OS/2 table does not contain sxHeight record)"
2626
try:
2727
os2_cap_height = tt['OS/2'].sCapHeight
28-
except AttributeError as e:
28+
except AttributeError:
2929
os2_cap_height = "---- (OS/2 table does not contain sCapHeight record)"
3030
hhea_ascent = tt['hhea'].ascent
3131
hhea_descent = tt['hhea'].descent

lib/fontline/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# ------------------------------------------------------------------------------
1212
major_version = "1"
1313
minor_version = "0"
14-
patch_version = "0"
14+
patch_version = "1"
1515

1616
# ------------------------------------------------------------------------------
1717
# Help String

setup.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
[wheel]
22
universal = 1
3+
4+
[metadata]
5+
license_file = docs/LICENSE.md

0 commit comments

Comments
 (0)