Skip to content

Commit cb8d608

Browse files
committed
updated readme files
1 parent bd87172 commit cb8d608

File tree

2 files changed

+52
-20
lines changed

2 files changed

+52
-20
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
### About
5-
font-line is a libre open source command line tool for font vertical metrics reporting and line spacing modifications. It currently supports `.ttf` and `.otf` font builds.
5+
font-line is a libre, open source command line tool for OpenType vertical metrics reporting and command line based font line spacing modifications. It currently supports `.ttf` and `.otf` font builds.
66

77
### Contents
88

docs/README.rst

Lines changed: 51 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
font-line |Build Status| |Build status|
22
---------------------------------------
33

4-
Project Source: `https://github.com/source-foundry/font-line <https://github.com/source-foundry/font-line>`__
5-
64
About
75
~~~~~
86

9-
font-line is a libre open source command line tool for font vertical
10-
metrics reporting and line spacing modifications. It currently supports
11-
reporting and modifications of ``.ttf`` and ``.otf`` font builds.
7+
font-line is a libre, open source command line tool for OpenType
8+
vertical metrics reporting and command line based font line spacing
9+
modifications. It currently supports ``.ttf`` and ``.otf`` font builds.
1210

1311
Contents
1412
~~~~~~~~
@@ -28,20 +26,30 @@ Contents
2826
Install
2927
~~~~~~~
3028

31-
font-line is built with Python and can be used on any system where the
32-
Python interpreter is installed. Use either of the following methods to
33-
install font-line on your system.
29+
font-line is built with Python and can be used on systems with Python
30+
2.7+ and Python 3.3+ interpreters, including current releases of pypy
31+
and pypy3. You can verify your installed Python version on the command
32+
line with the command:
33+
34+
::
35+
36+
$ python --version
37+
38+
Use either of the following methods to install font-line on your system.
3439

3540
pip Install
3641
^^^^^^^^^^^
3742

38-
The latest release version is available through the Python Package Index
39-
and can be installed with pip:
43+
The latest font-line release is available through the Python Package
44+
Index and can be installed with pip:
4045

4146
::
4247

4348
$ pip install font-line
4449

50+
To upgrade to a new version of font-line after a pip install, use the
51+
command ``pip install --upgrade font-line``.
52+
4553
Download Project Repository and Install
4654
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4755

@@ -61,14 +69,17 @@ command:
6169

6270
$ python setup.py install
6371

72+
Follow the same instructions to upgrade to a new version of the
73+
application if you elect to install with this approach.
74+
6475
Usage
6576
~~~~~
6677

67-
font-line works via sub-commands to the ``font-line`` executable. The
68-
following sub-commands are available:
78+
font-line works via sub-commands to the ``font-line`` command line
79+
executable. The following sub-commands are available:
6980

7081
- ``percent`` - modify the line spacing of a font to a percent of the
71-
Ascender to Descender delta value
82+
Ascender to Descender distance
7283
- ``report`` - report OpenType metrics values for a font
7384

7485
Usage of these sub-commands is described in detail below.
@@ -98,7 +109,15 @@ Enter one or more font path arguments to the command:
98109

99110
$ font-line report [fontpath 1] <fontpath ...>
100111

101-
Here is an example of the report generated with ``font-line report``:
112+
Here is an example of the report generated with the Hack typeface file
113+
``Hack-Regular.ttf`` using the command:
114+
115+
::
116+
117+
$ font-line report Hack-Regular.ttf
118+
119+
Example Font Vertical Metrics Report
120+
''''''''''''''''''''''''''''''''''''
102121

103122
::
104123

@@ -131,13 +150,19 @@ Here is an example of the report generated with ``font-line report``:
131150
--- Ratio of TypoLineGap to UPM ---
132151
TypoLineGap / UPM: 0.2
133152

153+
The report includes the font version string, a SHA-1 hash digest of the
154+
font file, and OpenType table metrics that are associated with line
155+
spacing in the font.
156+
134157
Unix/Linux/OS X users can write this report to a file with the ``>``
135158
command line idiom:
136159

137160
::
138161

139162
$ font-line report TheFont.ttf > font-report.txt
140163

164+
You can modify ``font-report.txt`` to the file path of your choice.
165+
141166
Vertical Metrics Modifications
142167
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
143168

@@ -150,7 +175,7 @@ This delta value will be abbreviated as TA:TD below.
150175
'''''''''''''''''''''''''''''
151176

152177
Enter the desired percentage of the TA:TD metric as the first argument
153-
to the command. This should be formatted as an integer value. Then enter
178+
to the command. This should be *entered as an integer value*. Then enter
154179
one or more font paths to which you would like to apply your font
155180
metrics changes.
156181

@@ -178,15 +203,15 @@ the font. See the Details section below for a description of the
178203
OpenType table modifications that occur when the application is used on
179204
a font file.
180205

181-
You can inspect the new vertical metrics in the new font file with the
206+
You can inspect the vertical metrics in the new font file with the
182207
``report`` subcommand (see Usage above).
183208

184209
Details of Font Metrics Changes with ``percent`` Sub-Command
185210
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
186211

187-
The interpretation of the multiple vertical metric values is platform
212+
The interpretation of these multiple vertical metric values is platform
188213
and application dependent. This has led to `debate over the 'best'
189-
approach to font line
214+
approach to cross-platform typeface line
190215
spacing <https://grahamwideman.wikispaces.com/Font+Vertical+Metrics>`__.
191216
The line spacing modification approach used in font-line is defined with
192217
a slightly modified version of Karsten Lücke's approach that is
@@ -223,6 +248,13 @@ these issues before use of the application and leave this testing to the
223248
designer / user before the modified fonts are used in a production
224249
setting.
225250

251+
Issue Reporting
252+
~~~~~~~~~~~~~~~
253+
254+
Please `submit a new issue
255+
report <https://github.com/source-foundry/font-line/issues/new>`__ on
256+
the project repository.
257+
226258
Acknowledgments
227259
~~~~~~~~~~~~~~~
228260

@@ -232,4 +264,4 @@ font-line is built with the fantastic
232264
.. |Build Status| image:: https://travis-ci.org/source-foundry/font-line.svg?branch=master
233265
:target: https://travis-ci.org/source-foundry/font-line
234266
.. |Build status| image:: https://ci.appveyor.com/api/projects/status/2s4725o5mxh2298c/branch/master?svg=true
235-
:target: https://ci.appveyor.com/project/chrissimpkins/font-line/branch/master
267+
:target: https://ci.appveyor.com/project/chrissimpkins/font-line/branch/master

0 commit comments

Comments
 (0)