Debian Codegraph @

doc/sphinx/fontutils/acorn2sfd.rst

raw
1 acorn2sfd
2 =========
3
4 Converter from Acorn RISC/OS fonts ::
5
6 acorn2sfd [-version] [-help] {acorndir ...}
7
8 *acorn2sfd* will take several Acorn RISC/OS font directories and convert them
9 into :doc:`FontForge </index>`'s sfd files.
10
11 An Acorn RISC/OS font directory should contain two or three files, one named
12 ``Outlines*`` and one named ``Intmetric?`` (the ``Intmetrics`` file may be
13 omitted, in which case the advance widths will not be known). *acorn2sfd* will
14 read both files and generate an sfd file from them (which
15 :doc:`fontforge </index>` can turn into TrueType or PostScript).
16
17 If the ``Outlines`` file ends in a digit (``Outlines0``) then a third file named
18 ``Base<digit>*`` will be searched for in the directory (if not found there then
19 in ``<acorndir>/../Encodings``), and if found encoding information will be read
20 from it. If not found then the font will be assumed to be an initial subset of
21 Unicode.
22
23 .. program:: acorn2sfd
24
25 .. option:: -includestrokes
26
27 *acorn2sfd* normally throws out the secondary stroked
28 version of the character, specifying this option will include it in the sfd file
29 (you may then want to invoke FontForge's Expand Stroke command on it).
30
31 .. option:: help
32
33 will provide a mini description and will list the available options.
34
35 .. option:: usage
36
37 will list the available options.
38
39 .. option:: version
40
41 will display the current version of *acorn2sfd* (a six digit string
42 containing the date stamp of the source files).
43
44 Bugs
45 ----
46
47 * Acorn fonts use a different fill rule than either PostScript or TrueType. You
48 should run :menuselection:`Element --> Correct Direction` on the sfd file after
49 converting it.
50 * Most Acorn fonts I've seen on the web are zipped up with a non-standard zip.
51 Don't expect *acorn2sfd* to be able to unzip them.
52 * Acorn hinting data are lost.
53
54 See Also
55 --------
56
57 :doc:`FontForge </index>`
58
59 `Acorn Font Documentation <http://www.poppyfields.net/acorn/tech/file.shtml>`_
60