File: PKG-INFO

package info (click to toggle)
ufo2otf 0.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 232 kB
  • ctags: 183
  • sloc: python: 1,753; makefile: 3
file content (151 lines) | stat: -rw-r--r-- 5,633 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
Metadata-Version: 1.1
Name: ufo2otf
Version: 0.2.2
Summary: Take UFO font sources and generate OTF’s and webfonts
Home-page: http://packages.python.org/an_example_pypi_project
Author: Eric Schrijver
Author-email: eric@ericschrijver.nl
License: BSD
Description: =======
        UFO2OTF
        =======
        
        Ufo2otf is a command line utility that takes UFO font sources and generates
        OTF’s and webfonts.
        
        Summary
        -------
        ::
        
            usage: ufo2otf [-h] [--webfonts] [--afdko] [--diagnostics]
                           infiles [infiles ...]
        
            positional arguments:
              infiles        The source UFO files
        
            optional arguments:
              -h, --help     show this help message and exit
              --webfonts     Generate webfonts in a ./webfonts subfolder
              --afdko        Generate the OTF with Adobe Font Development Kit for Opentype
              --diagnostics  Display information about available font compilers (no files
                             outputted)
        
        
        
        Usage examples
        --------------
        ::
        
            $ ufo2otf OpenBodoni.ufo
        
        will create a file called OpenBodoni.otf.
        ::
        
            $ ufo2otf OpenBodoni-Regular.ufo OpenBodoni-Italic.ufo OpenBodoni-Bold.ufo
        
        will create OpenBodoni-Regalur.otf, OpenBodoni-Italic.otf and OpenBodoni-Bold.otf.
        
        
        Fontforge
        ---------
        
        By default, ufo2otf uses FontForge to generate the otf files. FontForge is a
        free and open source font editor that comes with a python extension. The
        python extension has access to the functionality of FontForge without needing
        to launch the graphical program itself.
        
        Ufo2otf will warn you if FontForge is not present. Installing it can be as
        easy as:
        
        debian, ubuntu::
        
            $ sudo apt-get install fontforge python-fontforge
        
        os x::
        
            $ brew install fontforge
        
        More info see:
        http://openfontlibrary.org/wiki/How_to_install_FontForge
        
        AFDKO
        -----
        
        Ufo2otf can also use the AFDKO to generate the fontfiles.
        
        The Adobe Font Development Kit for Opentype are a set of tools made available
        by Adobe that can help you generate Opentype/CFF fonts from PostScript
        sources, and to add OpenType features in the progress.
        
        Since the AFDKO is not open source, and not installable on Linux, it doesn’t
        make a lot of sense for Open Source projects. But it can be useful to have
        around, if only to compare the output to that of FontForge.
        
        Please check http://www.adobe.com/devnet/opentype/afdko.html for installation
        instructions. Subsequently, one needs to install Tal Leming’s ufo2afdko
        package which in turn depends on Robofab:
        
        http://code.typesupply.com/wiki/ufo2fdk
        http://robofab.org/
        
        Webfonts
        --------
        
        Passing the option ``--webfonts`` will generate a subfolder called webfonts. Ufo2otf
        autohints the font and proceeds to generate ttf, eot and woff files.
        
        When using the AFDKO to convert the fonts the webfonts option is not
        available.
        
        CSS
        ---
        
        When using the ``--webfonts`` option, Ufo2otf will attempt to generate a CSS file to use
        with the generated webfonts, inspired by the service provided by the website Font Squirrel.
        However, where Font Squirrel will create a separate css @font-face family for each font
        style, Ufo2otf will try to construct your font declarations in such a way that one
        @font-face family can be used with multiple font-styles.
        
        In doing so the script is bound by what CSS supports. Currently, Ufo2otf can distinguish
        between multiple font-weights and between regular and Italic fonts. If you have other
        styles to distinguish (condensed, outline etcetera) you will need to adjust the ``font-family``
        property in the CSS to create separate families.
        
        UFO
        ---
        
        UFO is an open and exchangable format for fonts.It is easy to write programs
        that process UFO fonts, and they play well with versioning systems like Git.
        
        http://unifiedfontobject.org/
        
        History
        -------
        
        Ufo2otf has been developed by Eric Schrijver for the Open Baskerville font
        project, a collaborative open source typeface.
        
        http://klepas.org/openbaskerville/
        
        License
        -------
        
        Ufo2otf is licensed under the BSD license (see LICENSE.txt).
        
        Argparse
        --------
        
        This software includes a version of Python 2.7’s argparse module that is
        compatible with earlier version of Python. The author is Steven Bethard and
        the license is the Python Software Foundation license
        http://docs.python.org/license.html
        
        
Keywords: font utility web ufo otf conversion command line
Platform: UNKNOWN
Classifier: Environment :: Console
Classifier: Development Status :: 3 - Alpha
Classifier: Topic :: Multimedia :: Graphics
Classifier: Topic :: Multimedia :: Graphics :: Graphics Conversion
Classifier: Topic :: Utilities
Classifier: License :: OSI Approved :: BSD License