Font Site

From ConTeXt wiki

< Fonts

Perhaps we should split this? --pg

The following is based on support files from Christopher League. I used the following to install them into the Linux TeX tree available from the Pragma site:

First follow Christopher Leagues installation instructions:

  • Install all (wanted) *.pfb-files to a fonts/type1/fontsite directory in an appropriate TeX-tree, using the script cpfb
  • copy the provided support files to the TeX-tree
  • then run texhash/mktexlsr
  • Add map file entry (because updmap does not work for me, I used:
 echo 'map +fs500tex.map' >> <tex-tree>/pdftex/config/pdftex.cfg

After this preparation, you should be able to used the following typescript file:


% Typescript for some of the fonts sold on the "FontSite500" CD
%
% (c) 2004 Holger Schöner hfsch@cs.tu-berlin.de
%
% Free to use as you like ... But take out the above copyright notice,
% if you distribute a modified version!
%
% I'd be glad about any hints for improving this collection!
%
% Use as follows (e.g.):
% 
% \setupencoding [default=ec]
% 
% \usetypescriptfile[type_fontsite]
% 
% \definetypeface[PalatinoModern][rm][serif][palatino][default][encoding=\defaultencoding]
% \definetypeface[PalatinoModern][mm][math,boldmath][palatino][default][encoding=8r]
% \definetypeface[PalatinoModern][ss][sans][opus-oldstyle][default][encoding=\defaultencoding]
% \definetypeface[PalatinoModern][tt][mono][computer-modern][default][encoding=8r,rscale=1.075]
% 
% %\setupbodyfont[PalatinoModern,ams,12pt]
% \setupbodyfont[PalatinoModern,ams,11pt]
% 
% %\usetypescript[serif][lithoant][\defaultencoding]
% %\definefont[LithoAnt][LithoAntSerif-Roman]
% %\usetypescript[mono][typewriter][\defaultencoding]
% %\definefont[Typewriter][TypewriterMono-Cond at 10pt]
% \usetypescript[serif][lydian][\defaultencoding]
% \definefont[Lydian][LydianSerif-Roman at \bodyfontsize]
% %\usetypescript[sans][ocr][\defaultencoding]
% %\definefont[OCR][OCRSans-Roman at 10pt]
%

\usetypescriptfile[type-buy]

%%\autoloadmapfilestrue
%\starttypescript [map] [ec,8r,texnansi]
%  \loadmapfile [fs500tex.map]
%\stoptypescript

%% Roman "Bergamo"
\starttypescript [serif] [bergamo] [name]
  \usetypescript[serif][fallback]
  \definefontsynonym [Serif]          [BergamoSerif-Roman]
  \definefontsynonym [SerifItalic]    [BergamoSerif-Italic]
  \definefontsynonym [SerifBold]      [BergamoSerif-Bold]
  \definefontsynonym [SerifBoldItalic][BergamoSerif-BoldItalic]
  \definefontsynonym [SerifCaps]      [BergamoSerif-Caps]
  \definefontsynonym [OldStyle]       [BergamoSerif-RomanOSF]
\stoptypescript
\starttypescript [serif] [bergamo-oldstyle] [name]
  \usetypescript[serif][fallback]
  \definefontsynonym [Serif]          [BergamoSerif-RomanOSF]
  \definefontsynonym [SerifItalic]    [BergamoSerif-Italic]
  \definefontsynonym [SerifBold]      [BergamoSerif-BoldOSF]
  \definefontsynonym [SerifBoldItalic][BergamoSerif-BoldItalic]
  \definefontsynonym [SerifCaps]      [BergamoSerif-Caps]
  \definefontsynonym [OldStyle]       [BergamoSerif-Roman]
\stoptypescript
\starttypescript [serif] [bergamo,bergamo-oldstyle] [ec]
  \definefontsynonym [BergamoSerif-Roman]     [5borx8t] [encoding=ec]
  \definefontsynonym [BergamoSerif-Italic]    [5borix8t][encoding=ec]
  \definefontsynonym [BergamoSerif-Bold]      [5bobx8t] [encoding=ec]
  \definefontsynonym [BergamoSerif-BoldItalic][5bobix8t][encoding=ec]
  \definefontsynonym [BergamoSerif-Caps]      [5borcj8t][encoding=ec]
  \definefontsynonym [BergamoSerif-BoldCaps]  [5bobcj8t][encoding=ec]
  \definefontsynonym [BergamoSerif-RomanOSF]  [5borjx8t][encoding=ec]
  \definefontsynonym [BergamoSerif-BoldOSF]   [5bobjx8t][encoding=ec]
\stoptypescript
\starttypescript [serif] [bergamo,bergamo-oldstyle] [texnansi]
  \definefontsynonym [BergamoSerif-Roman]     [5borx8y] [encoding=texnansi]
  \definefontsynonym [BergamoSerif-Italic]    [5borix8y][encoding=texnansi]
  \definefontsynonym [BergamoSerif-Bold]      [5bobx8y] [encoding=texnansi]
  \definefontsynonym [BergamoSerif-BoldItalic][5bobix8y][encoding=texnansi]
  \definefontsynonym [BergamoSerif-Caps]      [5borcj8y][encoding=texnansi]
  \definefontsynonym [BergamoSerif-BoldCaps]  [5bobcj8y][encoding=texnansi]
  \definefontsynonym [BergamoSerif-RomanOSF]  [5borjx8y][encoding=texnansi]
  \definefontsynonym [BergamoSerif-BoldOSF]   [5bobjx8y][encoding=texnansi]
\stoptypescript
\starttypescript [serif] [bergamo,bergamo-oldstyle] [8r]
  \definefontsynonym [BergamoSerif-Roman]     [5bor8r]  [encoding=8r]
  \definefontsynonym [BergamoSerif-Italic]    [5bori8r] [encoding=8r]
  \definefontsynonym [BergamoSerif-Bold]      [5bob8r]  [encoding=8r]
  \definefontsynonym [BergamoSerif-BoldItalic][5bobi8r] [encoding=8r]
  \definefontsynonym [BergamoSerif-Caps]      [5borcj8r][encoding=8r]
  \definefontsynonym [BergamoSerif-BoldCaps]  [5bobcj8r][encoding=8r]
  \definefontsynonym [BergamoSerif-RomanOSF]  [5bor8r]  [encoding=8r]       % 5borj8r does not exist
  \definefontsynonym [BergamoSerif-BoldOSF]   [5bob8r]  [encoding=8r]       % 5bobj8r does not exist
\stoptypescript

%% Roman "Litho Antique"
\starttypescript [serif] [lithoant] [name]
  \usetypescript[serif][fallback]
  \definefontsynonym [Serif]          [LithoAntSerif-Roman]
  \definefontsynonym [SerifItalic]    [LithoAntSerif-Italic]
  \definefontsynonym [SerifBold]      [LithoAntSerif-Bold]
  \definefontsynonym [SerifBoldItalic][LithoAntSerif-BoldItalic]
  \definefontsynonym [SerifCaps]      [LithoAntSerif-Caps]
  \definefontsynonym [OldStyle]       [LithoAntSerif-RomanOSF]
\stoptypescript
\starttypescript [serif] [lithoant-oldstyle] [name]
  \usetypescript[serif][fallback]
  \definefontsynonym [Serif]          [LithoAntSerif-RomanOSF]
  \definefontsynonym [SerifItalic]    [LithoAntSerif-Italic]
  \definefontsynonym [SerifBold]      [LithoAntSerif-Bold]
  \definefontsynonym [SerifBoldItalic][LithoAntSerif-BoldItalic]
  \definefontsynonym [SerifCaps]      [LithoAntSerif-Caps]
  \definefontsynonym [OldStyle]       [LithoAntSerif-Roman]
\stoptypescript
\starttypescript [serif] [lithoantlight] [name]
  \usetypescript[serif][fallback]
  \definefontsynonym [Serif]          [LithoAntSerif-Light]
  \definefontsynonym [SerifItalic]    [LithoAntSerif-LightItalic]
  \definefontsynonym [SerifBold]      [LithoAntSerif-Roman]
  \definefontsynonym [SerifBoldItalic][LithoAntSerif-Italic]
  \definefontsynonym [SerifCaps]      [LithoAntSerif-LightCaps]
  \definefontsynonym [OldStyle]       [LithoAntSerif-LightOSF]
\stoptypescript
\starttypescript [serif] [lithoantlight-oldstyle] [name]
  \usetypescript[serif][fallback]
  \definefontsynonym [Serif]          [LithoAntSerif-LightOSF]
  \definefontsynonym [SerifItalic]    [LithoAntSerif-LightItalic]
  \definefontsynonym [SerifBold]      [LithoAntSerif-RomanOSF]
  \definefontsynonym [SerifBoldItalic][LithoAntSerif-Italic]
  \definefontsynonym [SerifCaps]      [LithoAntSerif-LightCaps]
  \definefontsynonym [OldStyle]       [LithoAntSerif-Light]
\stoptypescript
\starttypescript [serif] [lithoantbold] [name]
  \usetypescript[serif][fallback]
  \definefontsynonym [Serif]          [LithoAntSerif-Bold]
  \definefontsynonym [SerifItalic]    [LithoAntSerif-BoldItalic]
  \definefontsynonym [SerifBold]      [LithoAntSerif-Heavy]
\stoptypescript
\starttypescript [serif] [lithoantheavy] [name]
  \usetypescript[serif][fallback]
  \definefontsynonym [Serif]          [LithoAntSerif-Heavy]
\stoptypescript
\starttypescript [serif] [lithoant,lithoant-oldstyle,lithoantlight,lithoantlight-oldstyle,lithoantbold,lithoantheavy] [ec]
  \definefontsynonym [LithoAntSerif-Roman]      [5lirx8t] [encoding=ec]
  \definefontsynonym [LithoAntSerif-Italic]     [5lirix8t][encoding=ec]
  \definefontsynonym [LithoAntSerif-Bold]       [5libx8t] [encoding=ec]
  \definefontsynonym [LithoAntSerif-BoldItalic] [5libix8t][encoding=ec]
  \definefontsynonym [LithoAntSerif-Caps]       [5lircj8t][encoding=ec]
  \definefontsynonym [LithoAntSerif-RomanOSF]   [5lirjx8t][encoding=ec]
  \definefontsynonym [LithoAntSerif-Heavy]      [5lihx8t] [encoding=ec]
  \definefontsynonym [LithoAntSerif-Light]      [5lilx8t] [encoding=ec]
  \definefontsynonym [LithoAntSerif-LightItalic][5lilix8t][encoding=ec]
  \definefontsynonym [LithoAntSerif-LightCaps]  [5lilcj8t][encoding=ec]
  \definefontsynonym [LithoAntSerif-LightOSF]   [5liljx8t][encoding=ec]
\stoptypescript
\starttypescript [serif] [lithoant,lithoant-oldstyle,lithoantlight,lithoantlight-oldstyle,lithoantbold,lithoantheavy] [texnansi]
  \definefontsynonym [LithoAntSerif-Roman]      [5lirx8y] [encoding=ec]
  \definefontsynonym [LithoAntSerif-Italic]     [5lirix8y][encoding=ec]
  \definefontsynonym [LithoAntSerif-Bold]       [5libx8y] [encoding=ec]
  \definefontsynonym [LithoAntSerif-BoldItalic] [5libix8y][encoding=ec]
  \definefontsynonym [LithoAntSerif-Caps]       [5lircj8y][encoding=ec]
  \definefontsynonym [LithoAntSerif-RomanOSF]   [5lirjx8y][encoding=ec]
  \definefontsynonym [LithoAntSerif-Heavy]      [5lihx8y] [encoding=ec]
  \definefontsynonym [LithoAntSerif-Light]      [5lilx8y] [encoding=ec]
  \definefontsynonym [LithoAntSerif-LightItalic][5lilix8y][encoding=ec]
  \definefontsynonym [LithoAntSerif-LightCaps]  [5lilcj8y][encoding=ec]
  \definefontsynonym [LithoAntSerif-LightOSF]   [5liljx8y][encoding=ec]
\stoptypescript
\starttypescript [serif] [lithoant,lithoant-oldstyle,lithoantlight,lithoantlight-oldstyle,lithoantbold,lithoantheavy] [8r]
  \definefontsynonym [LithoAntSerif-Roman]      [5lirx8r] [encoding=ec]
  \definefontsynonym [LithoAntSerif-Italic]     [5lirix8r][encoding=ec]
  \definefontsynonym [LithoAntSerif-Bold]       [5libx8r] [encoding=ec]
  \definefontsynonym [LithoAntSerif-BoldItalic] [5libix8r][encoding=ec]
  \definefontsynonym [LithoAntSerif-Caps]       [5lircj8r][encoding=ec]
  \definefontsynonym [LithoAntSerif-RomanOSF]   [5lirx8r][encoding=ec]
  \definefontsynonym [LithoAntSerif-Heavy]      [5lihx8r] [encoding=ec]
  \definefontsynonym [LithoAntSerif-Light]      [5lilx8r] [encoding=ec]
  \definefontsynonym [LithoAntSerif-LightItalic][5lilix8r][encoding=ec]
  \definefontsynonym [LithoAntSerif-LightCaps]  [5lilcj8r][encoding=ec]
  \definefontsynonym [LithoAntSerif-LightOSF]   [5lilx8r][encoding=ec]
\stoptypescript

%% Roman "Lydian"
\starttypescript [serif] [lydian] [name]
  \usetypescript[serif][fallback]
  \definefontsynonym [Serif]          [LydianSerif-Roman]
  \definefontsynonym [SerifItalic]    [LydianSerif-Italic]
  \definefontsynonym [SerifBold]      [LydianSerif-Bold]
  \definefontsynonym [SerifBoldItalic][LydianSerif-BoldItalic]
\stoptypescript
\starttypescript [serif] [lydian] [ec]
  \definefontsynonym [LydianSerif-Roman]     [5lyr8t] [encoding=ec]
  \definefontsynonym [LydianSerif-Italic]    [5lyri8t][encoding=ec]
  \definefontsynonym [LydianSerif-Bold]      [5lyb8t] [encoding=ec]
  \definefontsynonym [LydianSerif-BoldItalic][5lybi8t][encoding=ec]
\stoptypescript
\starttypescript [serif] [lydian] [texnansi]
  \definefontsynonym [LydianSerif-Roman]     [5lyr8y] [encoding=ec]
  \definefontsynonym [LydianSerif-Italic]    [5lyri8y][encoding=ec]
  \definefontsynonym [LydianSerif-Bold]      [5lyb8y] [encoding=ec]
  \definefontsynonym [LydianSerif-BoldItalic][5lybi8y][encoding=ec]
\stoptypescript
\starttypescript [serif] [lydian] [8r]
  \definefontsynonym [LydianSerif-Roman]     [5lyr8r] [encoding=ec]
  \definefontsynonym [LydianSerif-Italic]    [5lyri8r][encoding=ec]
  \definefontsynonym [LydianSerif-Bold]      [5lyb8r] [encoding=ec]
  \definefontsynonym [LydianSerif-BoldItalic][5lybi8r][encoding=ec]
\stoptypescript

%% Sans "OCR"
\starttypescript [sans] [ocr] [name]
  \usetypescript[serif][fallback]
  \definefontsynonym [Sans]          [OCRSans-Roman]
  \definefontsynonym [SansBold]      [OCRSans-Alternate]
\stoptypescript
\starttypescript [sans] [ocr] [ec]
  \definefontsynonym [OCRSans-Roman]     [5ocr8t] [encoding=ec]
  \definefontsynonym [OCRSans-Alternate] [5ocra8t][encoding=ec]
\stoptypescript
\starttypescript [sans] [ocr] [texnansi]
  \definefontsynonym [OCRSans-Roman]     [5ocr8y] [encoding=ec]
  \definefontsynonym [OCRSans-Alternate] [5ocra8y][encoding=ec]
\stoptypescript
\starttypescript [sans] [ocr] [8r]
  \definefontsynonym [OCRSans-Roman]     [5ocr8r] [encoding=ec]
  \definefontsynonym [OCRSans-Alternate] [5ocra8r][encoding=ec]
\stoptypescript

%% Sans "Opus"
\starttypescript [sans] [opus] [name]
  \usetypescript[sans][fallback]
  \definefontsynonym [Sans]           [OpusSans-Roman]
  \definefontsynonym [SansItalic]     [OpusSans-Italic]
  \definefontsynonym [SansBold]       [OpusSans-Bold]
  \definefontsynonym [SansBoldItalic] [OpusSans-BoldItalic]
  \definefontsynonym [SansCaps]       [OpusSans-Caps]
  \definefontsynonym [OldStyle]       [OpusSans-RomanOSF]
\stoptypescript
\starttypescript [sans] [opus-oldstyle] [name]
  \usetypescript[sans][fallback]
  \definefontsynonym [Sans]           [OpusSans-RomanOSF]
  \definefontsynonym [SansItalic]     [OpusSans-Italic]
  \definefontsynonym [SansBold]       [OpusSans-BoldOSF]
  \definefontsynonym [SansBoldItalic] [OpusSans-BoldItalic]
  \definefontsynonym [SansCaps]       [OpusSans-Caps]
  \definefontsynonym [OldStyle]       [OpusSans-Roman]
\stoptypescript
\starttypescript [sans] [opus,opus-oldstyle] [ec]
  \definefontsynonym [OpusSans-Roman]     [5opr8t]  [encoding=ec]
  \definefontsynonym [OpusSans-Italic]    [5opri8t] [encoding=ec]
  \definefontsynonym [OpusSans-Bold]      [5opb8t]  [encoding=ec]
  \definefontsynonym [OpusSans-BoldItalic][5opbi8t] [encoding=ec]
  \definefontsynonym [OpusSans-Caps]      [5oprcj8t][encoding=ec]
  \definefontsynonym [OpusSans-BoldCaps]  [5opbcj8t][encoding=ec]
  \definefontsynonym [OpusSans-RomanOSF]  [5oprj8t] [encoding=ec]
  \definefontsynonym [OpusSans-BoldOSF]   [5opbj8t] [encoding=ec]
\stoptypescript
\starttypescript [sans] [opus,opus-oldstyle] [texnansi]
  \definefontsynonym [OpusSans-Roman]     [5opr8y]  [encoding=texnansi]
  \definefontsynonym [OpusSans-Italic]    [5opri8y] [encoding=texnansi]
  \definefontsynonym [OpusSans-Bold]      [5opb8y]  [encoding=texnansi]
  \definefontsynonym [OpusSans-BoldItalic][5opbi8y] [encoding=texnansi]
  \definefontsynonym [OpusSans-Caps]      [5oprcj8y][encoding=texnansi]
  \definefontsynonym [OpusSans-BoldCaps]  [5opbcj8y][encoding=texnansi]
  \definefontsynonym [OpusSans-RomanOSF]  [5oprj8y] [encoding=texnansi]
  \definefontsynonym [OpusSans-BoldOSF]   [5opbj8y] [encoding=texnansi]
\stoptypescript
\starttypescript [sans] [opus,opus-oldstyle] [8r]
  \definefontsynonym [OpusSans-Roman]     [5opr8r]  [encoding=8r]
  \definefontsynonym [OpusSans-Italic]    [5opri8r] [encoding=8r]
  \definefontsynonym [OpusSans-Bold]      [5opb8r]  [encoding=8r]
  \definefontsynonym [OpusSans-BoldItalic][5opbi8r] [encoding=8r]
  \definefontsynonym [OpusSans-Caps]      [5oprcj8r][encoding=8r]
  \definefontsynonym [OpusSans-BoldCaps]  [5opbcj8r][encoding=8r]
  \definefontsynonym [OpusSans-RomanOSF]  [5opr8r]  [encoding=8r]       % 5oprj8r does not exist
  \definefontsynonym [OpusSans-BoldOSF]   [5opb8r]  [encoding=8r]       % 5oprv8r does not exist
\stoptypescript

%% Mono "Typewriter"
\starttypescript [mono] [typewriter] [name]
  \usetypescript[mono][fallback]
  \definefontsynonym [Mono]           [TypewriterMono]
  \definefontsynonym [MonoItalic]     [TypewriterMono-Italic]
  \definefontsynonym [MonoSlanted]    [TypewriterMono-Slanted]
  \definefontsynonym [MonoBold]       [TypewriterMono-Bold]
  \definefontsynonym [MonoBoldItalic] [TypewriterMono-BoldItalic]
  \definefontsynonym [MonoBoldSlanted][TypewriterMono-BoldSlanted]
\stoptypescript
\starttypescript [mono] [typewriter-cond] [name]
  \usetypescript[mono][fallback]
  \definefontsynonym [Mono]           [TypewriterMono-Cond]
  \definefontsynonym [MonoSlanted]    [TypewriterMono-CondSlanted]
  \definefontsynonym [MonoBold]       [TypewriterMono-CondBold]
  \definefontsynonym [MonoBoldSlanted][TypewriterMono-CondBoldSlanted]
\stoptypescript
\starttypescript [mono] [typewriter] [ec]
  \definefontsynonym [TypewriterMono]                [5tyr8t]  [encoding=ec]
  \definefontsynonym [TypewriterMono-Italic]         [5tyri8t] [encoding=ec]
  \definefontsynonym [TypewriterMono-Slanted]        [5tyro8t] [encoding=ec]
  \definefontsynonym [TypewriterMono-Bold]           [5tyb8t]  [encoding=ec]
  \definefontsynonym [TypewriterMono-BoldItalic]     [5tybi8t] [encoding=ec]
  \definefontsynonym [TypewriterMono-BoldSlanted]    [5tybo8t] [encoding=ec]
  \definefontsynonym [TypewriterMono-Cond]           [5tyr8tc] [encoding=ec]
  \definefontsynonym [TypewriterMono-CondSlanted]    [5tyro8tc][encoding=ec]
  \definefontsynonym [TypewriterMono-CondBold]       [5tyb8tc] [encoding=ec]
  \definefontsynonym [TypewriterMono-CondBoldSlanted][5tybo8tc][encoding=ec]
\stoptypescript
\starttypescript [mono] [typewriter] [texnansi]
  \definefontsynonym [TypewriterMono]                [5tyr8y]  [encoding=ec]
  \definefontsynonym [TypewriterMono-Italic]         [5tyri8y] [encoding=ec]
  \definefontsynonym [TypewriterMono-Slanted]        [5tyro8y] [encoding=ec]
  \definefontsynonym [TypewriterMono-Bold]           [5tyb8y]  [encoding=ec]
  \definefontsynonym [TypewriterMono-BoldItalic]     [5tybi8y] [encoding=ec]
  \definefontsynonym [TypewriterMono-BoldSlanted]    [5tybo8y] [encoding=ec]
  \definefontsynonym [TypewriterMono-Cond]           [5tyr8yc] [encoding=ec]
  \definefontsynonym [TypewriterMono-CondSlanted]    [5tyro8yc][encoding=ec]
  \definefontsynonym [TypewriterMono-CondBold]       [5tyb8yc] [encoding=ec]
  \definefontsynonym [TypewriterMono-CondBoldSlanted][5tybo8yc][encoding=ec]
\stoptypescript
\starttypescript [mono] [typewriter] [8r]
  \definefontsynonym [TypewriterMono]                [5tyr8r]  [encoding=ec]
  \definefontsynonym [TypewriterMono-Italic]         [5tyri8r] [encoding=ec]
  \definefontsynonym [TypewriterMono-Slanted]        [5tyro8r] [encoding=ec]
  \definefontsynonym [TypewriterMono-Bold]           [5tyb8r]  [encoding=ec]
  \definefontsynonym [TypewriterMono-BoldItalic]     [5tybi8r] [encoding=ec]
  \definefontsynonym [TypewriterMono-BoldSlanted]    [5tybo8r] [encoding=ec]
  \definefontsynonym [TypewriterMono-Cond]           [5tyr8rc] [encoding=ec]
  \definefontsynonym [TypewriterMono-CondSlanted]    [5tyro8rc][encoding=ec]
  \definefontsynonym [TypewriterMono-CondBold]       [5tyb8rc] [encoding=ec]
  \definefontsynonym [TypewriterMono-CondBoldSlanted][5tybo8rc][encoding=ec]
\stoptypescript