Menu
CTAN
Comprehensive TeX Archive Network
Home Upload Browse

Direc­tory tex-archive/fonts/utilities/otftofd

Overview
--------

otftofd is a script I wrote to help the task of generating a NFSS font
description file and a map file from a large collection of OpenType
fonts. In particular, when considering Adobe Pro Optical fonts, there is
almost a combinatorial nightmare when attempting to create these files
by hand.

This software is still probably alpha quality and mostly designed
specifically for Adobe font conventions. It currently has experimental
support for generating swashed versions of a font and fonts consisting
of ornaments. There is some preliminary support for selecting encodings,
but it is far from complete. The tool has been mostly tested with the
T1 Cork encoding. For more information about using the tool, invoke it
with the --help option.

otftofd is written in CaSH (Caml Shell) and additionally requires Eddie
Kohler's excellent LCDF Typetools.

ofttofd was originally called "adobe-font-tool", but at the suggestion
of CTAN it was renamed to hopefully be more descriptive.

otftofd is licensed under the FSF General Public License. Do not hesitate
to send me bug reports or fixes, other improvements, or suggestions.
Contact via e-mail at washburn@acm.org.

There is a public, read-only, Subversion repository for otftofd at
https://svn.cis.upenn.edu/svnroot/otftofd/.

Installation
------------

otftofd is a script so installation only requires setting the executable
bit ("chmod a+x otftofd") and placing it in your PATH.

However, otftofd is written in the Objective Caml language with
the CaSH library.  Therefore you will need to install them before
otftofd can be used. The latest version of OCaml can be obtained
from http://caml.inria.fr, and the latest version of CaSH from
http://pauillac.inria.fr/cash/.

Additionally, otftofd makes use of the programs otfinfo and otftotfm.
Therefore you will need have them installed as well.  They are part of
the LCDF Typetools package.  The latest version can be obtained from
http://www.lcdf.org/type/.

Usage
-----

At its simplest, otftofd is just used as 

        otftofd <collection of OpenType fonts>

For example, if I have a directory minion, containing a set of OpenType
fonts for the Minion Pro font. These files will have names like
MinionPro*.otf.  Inside the minion directory I would run

        otftofd *.otf

Which will generate a rather large number of support files.  However,
in general you won't need to concern yourself with them.  At this
point you just need to make sure that the directory "minion" is in the
kpathsea search path for TEXINPUTS, TEXFONTS, T1FONTS, and ENCFONTS.
The simplest way to do this is to set the environment variables, but
you could also edit your global TeX configuration.

At this point, you just need to add the following to your LaTeX document
(assuming you are using pdfTeX/LaTeX)

        \pdfmapfile {+MinionPro.map}
        \renewcommand{\encodingdefault}{T1}

And now the MinionPro font is available.  You could make it the default
"Roman" font by adding

        \renewcommand{\rmdefault}{MinionPro}

or just in the current scope by 

        \fontencoding{T1}\fontfamily{MinionPro}\selectfont



By default otftofd uses the "T1" or "Cork" font encoding, but it is
also possible to tell otftofd to use another encoding.  Returning to
our Minion Pro example, we could have done

        otftofd --enc=LY1 *.otf

or if we want to use an encoding that otftofd doesn't know about, we
could have done

        otftodf --enc=LY42 --encFile=myencoding.enc *.otf

Files

Name Size Date Notes
COPYING 18013 2005-08-01 10:50:00
README 3485 2005-09-18 10:19:00
otftofd 36356 2005-09-10 11:25:00

Down­load the con­tents of this pack­age in one zip archive (17.8k).

otftofd – Gen­er­ate con­trol files for OpenType fonts

Otftofd hels with the task of gen­er­at­ing NFSS font de­scrip­tion files and map files for a large col­lec­tion of OpenType fonts.

Otftofd is writ­ten in CaSH (Caml Shell) and re­quires Ed­die Kohler's ex­cel­lent LCDF Typetools.

Doc­u­men­ta­tion
Li­censeGNU Gen­eral Public Li­cense
Copy­right2005 Ge­of­frey Alan Wash­burn
Main­tainerGe­of­frey Wash­burn
Topics met­rics, macro in­can­ta­tions and other font sup­port
Guest Book Sitemap Contact 2014-04-25 06:03 CEST