Fonts - Old Content
Font handling in ConTeXt is “strange” for LaTeX users. It’s a system of abstraction and aliases, complex and mighty… But there’s help. If you happen to use XeTeX, then you can forget almost all the magic and start using your system fonts (see Fonts_in_XeTeX). If you want to keep using pdfTeX, read on:
- The ConTeXt way of using fonts are TypeScripts.
- font installation with texfont by Pragma
- ConTeXt's font mechanism in detail by Pragma
- making outlines by Pragma
- Here you can try out several TeX fonts online (PDF interface!)
- Troubleshooting: solving TeXfont problems.
- Character Protrusion (also known as hanging or font handling) is a more subtle typographic effect.
- Font Handling Internals
- Adam Lindsay's page focuses on typography (OpenType, Unicode etc.), esp. on MacOS X
- Bill McClain's ConTeXt beginners page has also a lot about fonts
- Integrating TrueType Fonts into ConTeXt by Thomas A. Schmitz (PracTeX Journal)
- Installing a TrueType font, step by step. If you just need to install a TrueType font, this may be what you are looking for.
- Installing Expert Fonts: Minion Pro by Idris Samawi Hamid; contains step-by-step instructions, from preinstallation to writing typescripts
- Pseudo Small Caps by Vit Zyka
- Matt Gushee's introduction to virtual fonts, especially for getting expert fonts to work.
- URW Garamond
Some hints by Taco from the mailing list on 2005-11-20:
Q: How up to date or out of date is the information in mfonts manual?
A: It looks like it is still quite up-to-date, but some of the examples it gives may no longer be the very best and latest way of doing things, and possibly there are some new developments that do not get as much attention as desired (like texfont, and the issues arising from font map files). Overall, the document appears accurate, though.
An important thing to remember is this:
ConTeXt does not share font metric conventions with LaTeX.
(at one point it started doing so, like supporting the Karl Berry naming scheme and the PSNFSS style font family names, but that has since been abandoned).
Another important thing is that it also does not share font map files with LaTeX and, specifically,
ConTeXt does not make pdfetex read pdftex.map.
(this is at the root of a great many problems reported by users only familiar with PSNFSS)
The preferred format for metric files in ConTeXt is
for metrics and
for the mapping files.
- <fontname> is usually derived from the font source (afm or ttf),
- <encoding> is a 'controlled' list, (see Encodings and Regimes)
- <vendor> and <familyname> are user-supplied (at install time).
There are ways to trick ConTeXt into using different conventions, but if you do that you are likely to run into trouble.
- Using psnfss metrics in ConTeXt
- Matt Gushee about virtual fonts
- Fonts rely on Encodings and Regimes, and it helps to know what happens underneath the hood, from time to time.
- In newer distributions, map files belong in …/fonts/map/pdftex/context!
- Don't forget to look at cont-sys.tex!
Available Free Fonts
- Free Math Fonts : overview of different free Math fonts; links to other free fonts
- GFS Didot : Latin, full set of polytonik Greek, small caps, oldstyle figures, full f-ligatures (Module for ConTeXt)
- Foto Alfa : some TeX related fonts from Poland (Antykwa Toruńska. Antykwa Półtawskiego, Kurier, Iwona...)
- Libertine Open Fonts Project: GPL/OFL serif font
- SIL International : great Unicode fonts for scholars by SIL (Gentium, Doulos, Charis, etc.)
- GreekKeys : links to polytonic Greek fonts
- Scholar's Fonts : Font for Scholars (Latin, Germanic languages, Greek, Hebrew and Linguistics)
- Junicode : Junius-Unicode, a font for medievalists
- FreeLang fonts : fonts for exotic languages
- Blambot : Comic fonts
- Chank : some free Chank fonts
- FontFace : free fonts
- DaFont : more free fonts
- Divide by Zero : more fonts
- TypOasis : lots of nice fonts, but a bit hard to find (have a look at designers Apostrophic Lab, Manfred Klein and Dieter Steffmann)
- Kristine's Font Organization : find a font in a sorted directory
- FontLover : font news portal site
- Lido : OpenType and TrueType typeface by Storm Type Foundry, free for non-commercial use.
- ... many more to be added ...