Changes

Jump to navigation Jump to search
1,125 bytes removed ,  08:26, 2 July 2022
m
Text replacement - "pragma-ade.com" to "pragma-ade.nl"
< = How to use fonts in ConTeXt ='''The ConTeXt way of handling fonts are [[VisualsTypeScripts - Old Content]] .''' It’s a system of abstraction and aliases, which may seem “strange” at first for new users of ConTeXt.* If it fits your needs, consider first to use the former [[Simplefonts - Old Content]] module, now in the core as {{src| font-sel.mkvi}}.* There is now a [http://context.aanhet.net/svn/contextman/context-reference/en/co-fonts.pdf manual chapter on fonts].* If you happen to use [[XeTeX - Old Content]] then you can forget almost all the magic and start using your system fonts (see [[Fonts_in_XeTeX - Old Content]]).* If you want to keep using [[SymbolsPdfTeX - Old Content]] >, read on.
= 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 support & configuration === Type 1 fonts (see [[Fonts_in_XeTeX]]). If you want to keep using [[pdfTeX]], read on:==
Type 1 fonts come in multiple files. The various components are: * '''The ConTeXt way of using fonts are [[TypeScripts]].pfb''': "Printer Font, Binary".* [http'''.pfa'''://www"Printer Font, ASCII".pragma-ade* '''.com/general/manuals/mtexfontpfm''': "Printer Font Metrics", binary.pdf font installation with texfont] by Pragma* [http'''.afm'''://www"Adobe Font Metrics". Typically each font will have a set of outlines in a pfb or pfa file, and a set of metrics in a pfm or afm file. Which file variations are preferred depends on platform. Linux prefers pfa and afm (the ASCII versions). Windows prefers pfb and pfm (the binary versions). Mac OS X prefers pfm and afm. On the Mac, you may encounter old-style PostScript Type 1 fonts which have an extensionless file containing the font outlines. These are a relic from the days when bitmaps were used to display fonts on screen, and the PostScript was downloaded to the printer.pragmaYour best bet is to throw them away and get an up-to-adedate OpenType version, or use a font editing utility such as fontforge to convert them.com/general/manuals/mfonts On Windows 7, the OS will identify only the .pfm file as the actual font.pdf ConTeXt's However, when you install the font mechanism in detail] by Pragma, Windows invisibly locates the matching .pfb file from the same directory, and copies them both to the C:\Windows\Fonts directory. * Using [http://tug.org/TUGboat/Articles/tb28[Psnfss -2/tb89mahajan.pdf Old Content]] metrics in ConTeXt basics for users: Font styles] by Aditya Mahajan (2007)* Matt Gushee's introduction to [http://wwwmatt.pragma-adegushee.comnet/generaldoc/manualstex/mmakempybookfonts.pdf making outlines] by Pragma* [http://pragmahtml virtual fonts Psnfss '''-ade.nl/fonttest.pdf HereOld Content'''] you can try out several TeX , especially for getting expert fonts online (PDF interface!)to work.* Troubleshooting: solving [[TeXfontURW Garamond - Old Content]] problems.'''NEED UPDATE TO OTF'''* Character [[ProtrusionLucida - Old Content]] (also known as hanging or '''NEED UPDATE TO OTF''': large font handling) is a more subtle typographic effectfamily designed by Bigelow & Holmes; suitable e.g.* [[Font Handling Internals]]for presentations* [http://homepagedl.maccontextgarden.comnet/atlmyway/tex/ Adam Lindsay's pageexpertfonts.pdf Installing Expert Fonts: Minion Pro - Old Content] focuses on typography (OpenTypeby Idris Samawi Hamid; contains step-by-step instructions, Unicode etc.), esp. on MacOS Xfrom preinstallation to writing typescripts* [http://homewww.salamanderstormtype.comStorm Type Foundry] : [http:/~wmcclain/context-helpmodules.contextgarden.html Bill McClain's ConTeXt beginners pagenet/stormfontsupport support (Old Content)] has also a lot about of selected fonts == True Type fonts==* [http://tug.org/pracjourn/2005-2/schmitz/schmitz.pdf Integrating TrueType Fonts into ConTeXt- Old Content] by Thomas A. Schmitz (PracTeX Journal)* [[Installing a TrueType font, step by step- Old Content]]. If you just need to install a TrueType font, this may be what you are looking for.* [http://dl.contextgarden.net/myway/expertfonts.pdf 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 [http://havenrock.com/textips/bookfonts.html virtual fonts], especially for getting expert == OpenType fonts to work.==* [[URW Garamond]]* [[otfinstallOtfinstall - Old Content|otfinst - a sample ruby script for using OpenType fonts in ConTeXt]]* [[Understanding how fonts work in ConTeXt]]* [[A Beginner's Guide to Using Fonts in Mark IV]]== Basic Hints ==
=Basic Hints=How to change to Palatino for text with Euler for math: [[Palatino with Euler for Math - Old Content]]
''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 [http://www.pragma-ade.comnl/general/manuals/mfonts.pdf 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 [http://www.pragma-ade.comnl/general/manuals/mtexfont.pdf texfont], and the issues arising from font map files). Overall, the document appears accurate, though.
An important thing to remember is this:
Another important thing is that it also does not share font map files with LaTeX and, specifically,
'''ConTeXt does not make pdfetex pdfeTeX read <tt>pdftex.map</tt>.'''
(this is at the root of a great many problems reported by users only familiar with PSNFSS)
* <fontname> is usually derived from the font source (afm or ttf),
* <encoding> is a 'controlled' list, (see [[Encodings and Regimes- Old Content]])
* <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.
=ConfigurationUnsorted links * [http://www.pragma-ade.nl/general/manuals/mtexfont.pdf font installation with texfont] by Pragma* [http://www.pragma-ade.nl/general/manuals/mfonts.pdf ConTeXt's font mechanism in detail] by Pragma* [http://tug.org/TUGboat/Articles/tb28-2/tb89mahajan.pdf ConTeXt basics for users: Font styles] by Aditya Mahajan (2007)* [http://www.pragma-ade.nl/general/manuals/mmakempy.pdf making outlines] by Pragma* [http://pragma-ade.nl/specials/fonts/fontspecial-p.pdf Here] you can try out several TeX fonts online (PDF interface!)* Troubleshooting: solving [[TeXfont - Old Content]] problems.* Using [[psnfssFont Handling Internals - Old Content]] metrics in ConTeXt* Matt Gushee about [http://havenrockwatershade.comnet/textipswmcclain/bookfontscontext-help.html virtual Bill McClain's ConTeXt beginners page (Old Content)] has also a lot about fonts* [[Pseudo Small Caps]] by Vit Zyka* [[Understanding how fontswork in ConTeXt - Old Content]]* Fonts rely on [[Encodings and Regimes- Old Content]], and it helps to know what happens underneath the hood, from time to time.
* In newer distributions, map files belong in <tt>&hellip;/fonts/map/pdftex/context</tt>!
* Don't forget to look at [[contTeX_Gyre_-sys.tex_Old_Content]]! = Available Free Fonts =* [http://ctan.tug.org/tex-archive/info/Free_Math_Font_Survey/survey.html Free Math Fonts] : overview of different free Math fonts; [http://www.geocities.com/hartke01/ links to other free fonts]* [http://greekfontsociety.org/ GFS Didot] : Latin, full set of polytonik Greek, small caps, oldstyle figures, full f-ligatures ([http://modules.contextgarden.net/gfsdidot Module for ConTeXt])* [[TeX Gyre]] : a set of great text fonts by our GUST friends, based on URW's free PostScript standard fonts for GhostScript.* [http://www.janusz.nowacki.strefa.pl/kurier.html Foto Alfa] : some TeX related fonts from Poland (Antykwa Toruńska. Antykwa Półtawskiego, Kurier, Iwona...)* [http://linuxlibertine.sourceforge.net Libertine Open Fonts Project]: GPL/OFL serif font* [http://scripts.sil.org SIL International] : great Unicode fonts for scholars by SIL (Gentium, Doulos, Charis, etc.)* [http://ist-socrates.berkeley.edu/~pinax/greekkeys/GreekKeys.html GreekKeys] : links to polytonic Greek fonts* [http://scholarsfonts.net Scholar's Fonts] : Font for Scholars (Latin, Germanic languages, Greek, Hebrew and Linguistics)* [http://www.engl.virginia.edu/OE/junicode/junicode.html Junicode] : Junius-Unicode, a font for medievalists* [http://www.freelang.net/fonts/index.html FreeLang fonts] : fonts for exotic languages* [http://www.blambot.com Blambot] : Comic fonts* [http://www.chank.com/freefonts.php Chank] : some free Chank fonts* [http://www.fontface.com/fonts/ FontFacePseudo Small Caps] : free fonts* [http://www.dafont.com DaFont] : more free fonts* [http://fonts.tom7.com/fonts98.html Divide by Zero] : more fonts* [http://moorstation.org/typoasis/typoasis1.htm TypOasis] : lots of nice fonts, but a bit hard to find Vit Zyka (have a look at designers Apostrophic Lab, Manfred Klein and Dieter Steffmann2011)* [http://kadyellebee.com/fonts/ Kristine's Font Organization] : find a font in a sorted directory* [http://www.fontlover.com FontLover] : font news portal site* [http://www.stormtype.com/typefaces-fonts-shop/free.php Lido] : OpenType and TrueType typeface by Storm Type Foundry, free for non-commercial use. [http://modules.contextgarden.net/stormfontsupport Support].* [http://www.alanwood.net/unicode/fontsbyrange.html Alan Wood’s Unicode Resources] : find fonts by Unicode character range* [http://www.josbuivenga.demon.nl/ exljbris] Free Quality Font Foundry by Jos Buivenga* [http://www.stixfonts.org/ STIX Fonts] Beta download of the STIX-Fonts* ''... many more to be added ...'' = NonFree Font Support =* [[Lucida]] : large font family designed by Bigelow & Holmes; suitable e.g. for presentations* [http://www.stormtype.com Storm Type Foundry] : [http://modules.contextgarden.net/stormfontsupport support] of selected fonts
=Hints by Language=
* general: [[Encodings and Regimes]]
* [[Arabic and Hebrew]] (Idris? other ArabTeX specialists?)
* [[Chinese]]
* [[Czech]]
* [[Greek]]
* [[Russian]]
* [[Vietnamese]]
[[Category:FontsOld Content]]

Navigation menu