Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
fichiers:fontes:preparer_une_fonte_t1 [2018/06/02 14:46] – d.p.carlisle | 5_fichiers:fontes:preparer_une_fonte_t1 [2021/06/06 17:18] (Version actuelle) – Remise en forme de la page. jejust | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | --- | + | ====== |
- | title: | + | |
- | category: installing | + | |
- | permalink: / | + | |
- | date: 2014-06-10 | + | |
- | --- | + | |
- | # Preparing a Type& | ||
- | The process of installing a Type 1 font set is rather convoluted, and | + | The process of installing a Type(nbsp)1 font set is rather convoluted, and |
we will deal with it in two chunks: first (in the present answer) | we will deal with it in two chunks: first (in the present answer) | ||
preparing the font for installation, | preparing the font for installation, | ||
- | [installing a Type 1 font](FAQ-instt1font)). | + | [[5_fichiers: |
Many fonts are supplied in (La)TeX ready form: such fonts need no | Many fonts are supplied in (La)TeX ready form: such fonts need no | ||
Ligne 17: | Ligne 11: | ||
However, if you purchase a font from a Type foundry (either direct or | However, if you purchase a font from a Type foundry (either direct or | ||
- | via one of the web stores), you are likely to need to '' | + | via one of the web stores), you are likely to need to "prepare" |
use with (La)TeX. | use with (La)TeX. | ||
- | | ||
- | - | + | * **Acquire the font.** A very small set of Type 1 fonts is installed in most PostScript printers you will encounter. |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | For all the myriad other Type 1 fonts, to be able to print using |
- | the font you need the Type 1 file itself. | + | the font you need the Type 1 file itself. |
- | available for free (they' | + | available for free (they' |
- | domain, or were developed as part of a free software project), but | + | domain, or were developed as part of a free software project), but |
- | the vast majority are commercial products, requiring you to spend | + | the vast majority are commercial products, requiring you to spend |
- | real money. | + | real money. |
- | - | + | |
- | | + | * **Acquire the fonts' AFM files.** AFM files contain information from the font foundry, about the sizes of the characters in the font, and how they fit together. |
- | | + | |
- | | + | * **Rename the AFM files and the Type 1 files** to match the [[5_fichiers: |
- | | + | |
- | | + | * **Generate TeX metric files** from the AFM files. |
- | - | + | < |
- | | + | |
- | - | + | |
- | | + | |
- | | + | |
- | | + | |
- | ```latex | + | |
\latinfamily{xyz}{} | \latinfamily{xyz}{} | ||
\bye | \bye | ||
- | ``` | + | </code> |
- | where `xyz` is the Berry name of the font family. | + | |
- | simple script is adequate for most purposes: its output covers the | + | |
- | font family in both T1 and OT1 font encodings. | + | |
- | with fancier fonts, more elaborate things are possible with | + | |
- | [`fontinst`](https: | + | |
- | | + | |
- | | + | where '' |
- | definition (`fd`) files. | + | simple script is adequate for most purposes: its output covers the |
+ | font family in both T1 and OT1 font encodings. | ||
+ | with fancier fonts, more elaborate things are possible with [[ctanpkg> | ||
+ | see its documentation for details. | ||
+ | |||
+ | |||
+ | [[ctanpkg> | ||
+ | definition ('' | ||
Having traversed this list, you have a set of font files ready for | Having traversed this list, you have a set of font files ready for | ||
installation. | installation. | ||
+ | |||
+ | ----- | ||
+ | //Source:// [[faquk> | ||
+ | |||
+ | {{htmlmetatags> | ||
+ | metatag-og: | ||
+ | metatag-og: | ||
+ | }} | ||