%% cantarell-drv.tex %% Copyright 2011 Mohamed El Morabity % % This work may be distributed and/or modified under the conditions of the LaTeX % Project Public License, either version 1.3 of this license or (at your option) % any later version. The latest version of this license is in % http://www.latex-project.org/lppl.txt and version 1.3 or later is part of all % distributions of LaTeX version 2005/12/01 or later. % % This work has the LPPL maintenance status `maintained'. % % The Current Maintainer of this work is Mohamed El Morabity % % This work consists of all files listed in manifest.txt. \input fontinst.sty \setint{slant}{167} \setint{smallcapsscale}{800} \substitutesilent{scit}{scsl} \recordtransforms{cantarell-rec.tex} \foreach(encoding){ot1,t1,ts1} \transformfont{raw-\str{encoding}-Cantarell-Regular}{\reencodefont{\str{encoding}}{\fromafm{Cantarell-Regular}}} \transformfont{raw-\str{encoding}-Cantarell-Regular-Slanted}{\slantfont{\int{slant}}\reencodefont{\str{encoding}}{\fromafm{Cantarell-Regular}}} \transformfont{raw-\str{encoding}-Cantarell-Bold}{\reencodefont{\str{encoding}}{\fromafm{Cantarell-Bold}}} \transformfont{raw-\str{encoding}-Cantarell-Bold-Slanted}{\slantfont{\int{slant}}\reencodefont{\str{encoding}}{\fromafm{Cantarell-Bold}}} \endfor(encoding) \foreach(encoding){fixlatin,fixtextcomp} \transformfont{raw-\str{encoding}-Cantarell-Regular}{\reencodefont{cantarell-\str{encoding}}{\fromafm{Cantarell-Regular}}} \transformfont{raw-\str{encoding}-Cantarell-Regular-Slanted}{\slantfont{\int{slant}}\reencodefont{cantarell-\str{encoding}}{\fromafm{Cantarell-Regular}}} \transformfont{raw-\str{encoding}-Cantarell-Bold}{\reencodefont{cantarell-\str{encoding}}{\fromafm{Cantarell-Bold}}} \transformfont{raw-\str{encoding}-Cantarell-Bold-Slanted}{\slantfont{\int{slant}}\reencodefont{cantarell-\str{encoding}}{\fromafm{Cantarell-Bold}}} \endfor(encoding) \input cantarell-reglyph \fontinstcc \def\fd_family#1#2#3{ \a_toks{#3} \edef\lowercase_file{\lowercase{ \edef\noexpand\lowercase_file{#1#2.fd}}} \lowercase_file \open_out{\lowercase_file} \out_line{\percent_char~Filename:~\lowercase_file} \out_line{\percent_char~Created~by:~tex~\jobname} \out_line{\percent_char~Created~using~fontinst~v\fontinstversion} \out_line{} \out_line{\percent_char~THIS~FILE~SHOULD~BE~PUT~IN~A~TEX~INPUTS~ DIRECTORY} \out_line{} \out_line{\string\ProvidesFile{\lowercase_file}} \out_lline{[ \the\year/ \ifnum10>\month0\fi\the\month/ \ifnum10>\day0\fi\the\day\space Fontinst~v\fontinstversion\space font~definitions~for~#1/#2. ]} \out_line{} %%% \out_line{\string\expandafter\string\ifx\string\csname\space cantarell@scale\string\endcsname\string\relax} \out_line{\space\space\string\let\string\cantarell@scale\string\@empty} \out_line{\string\fi} \out_line{} %%% \out_line{\string\DeclareFontFamily{#1}{#2}{\the\a_toks}} { \csname #1-#2\endcsname \out_line{} \let\do_shape=\substitute_shape \csname #1-#2\endcsname \let\do_shape=\remove_shape \csname #1-#2\endcsname } \x_cs\g_let{#1-#2}\x_relax \out_line{} \out_line{\string\endinput} \close_out{Font~definitions} } \normalcc \installfonts \installfamily{OT1}{fca}{} \installfont{ot1-Cantarell-Regular}{ot1-Cantarell-Regular,fixlatin-Cantarell-Regular,newlatin}{ot1}{OT1}{fca}{m}{n}{<->\string\cantarell@scale} \installfont{ot1-Cantarell-Regular-Slanted}{ot1-Cantarell-Regular-Slanted,fixlatin-Cantarell-Regular-Slanted,newlatin}{ot1}{OT1}{fca}{m}{sl}{<->\string\cantarell@scale} \installfont{ot1-Cantarell-Regular-SmallCaps}{ot1-Cantarell-Regular,fixlatin-Cantarell-Regular,newlatin}{ot1c}{OT1}{fca}{m}{sc}{<->\string\cantarell@scale} \installfont{ot1-Cantarell-Regular-Slanted-SmallCaps}{ot1-Cantarell-Regular-Slanted,fixlatin-Cantarell-Regular-Slanted,newlatin}{ot1c}{OT1}{fca}{m}{scsl}{<->\string\cantarell@scale} \installfont{ot1-Cantarell-Bold}{ot1-Cantarell-Bold,fixlatin-Cantarell-Bold,newlatin}{ot1}{OT1}{fca}{b}{n}{<->\string\cantarell@scale} \installfont{ot1-Cantarell-Bold-Slanted}{ot1-Cantarell-Bold-Slanted,fixlatin-Cantarell-Bold-Slanted,newlatin}{ot1}{OT1}{fca}{b}{sl}{<->\string\cantarell@scale} \installfont{ot1-Cantarell-Bold-SmallCaps}{ot1-Cantarell-Bold,fixlatin-Cantarell-Bold,newlatin}{ot1c}{OT1}{fca}{b}{sc}{<->\string\cantarell@scale} \installfont{ot1-Cantarell-Bold-Slanted-SmallCaps}{ot1-Cantarell-Bold-Slanted,fixlatin-Cantarell-Bold-Slanted,newlatin}{ot1c}{OT1}{fca}{b}{scsl}{<->\string\cantarell@scale} \endinstallfonts \installfonts \installfamily{T1}{fca}{} \installfont{t1-Cantarell-Regular}{t1-Cantarell-Regular,fixlatin-Cantarell-Regular,newlatin}{t1}{T1}{fca}{m}{n}{<->\string\cantarell@scale} \installfont{t1-Cantarell-Regular-Slanted}{t1-Cantarell-Regular-Slanted,fixlatin-Cantarell-Regular-Slanted,newlatin}{t1}{T1}{fca}{m}{sl}{<->\string\cantarell@scale} \installfont{t1-Cantarell-Regular-SmallCaps}{t1-Cantarell-Regular,fixlatin-Cantarell-Regular,newlatin}{t1c}{T1}{fca}{m}{sc}{<->\string\cantarell@scale} \installfont{t1-Cantarell-Regular-Slanted-SmallCaps}{t1-Cantarell-Regular-Slanted,fixlatin-Cantarell-Regular-Slanted,newlatin}{t1c}{T1}{fca}{m}{scsl}{<->\string\cantarell@scale} \installfont{t1-Cantarell-Bold}{t1-Cantarell-Bold,fixlatin-Cantarell-Bold,newlatin}{t1}{T1}{fca}{b}{n}{<->\string\cantarell@scale} \installfont{t1-Cantarell-Bold-Slanted}{t1-Cantarell-Bold-Slanted,fixlatin-Cantarell-Bold-Slanted,newlatin}{t1}{T1}{fca}{b}{sl}{<->\string\cantarell@scale} \installfont{t1-Cantarell-Bold-SmallCaps}{t1-Cantarell-Bold,fixlatin-Cantarell-Bold,newlatin}{t1c}{T1}{fca}{b}{sc}{<->\string\cantarell@scale} \installfont{t1-Cantarell-Bold-Slanted-SmallCaps}{t1-Cantarell-Bold-Slanted,fixlatin-Cantarell-Bold-Slanted,newlatin}{t1c}{T1}{fca}{b}{scsl}{<->\string\cantarell@scale} \endinstallfonts \installfonts \installfamily{TS1}{fca}{} \installfont{ts1-Cantarell-Regular}{ts1-Cantarell-Regular,fixtextcomp-Cantarell-Regular,textcomp}{ts1}{TS1}{fca}{m}{n}{<->\string\cantarell@scale} \installfont{ts1-Cantarell-Regular-Slanted}{ts1-Cantarell-Regular-Slanted,fixtextcomp-Cantarell-Regular-Slanted,textcomp}{ts1}{TS1}{fca}{m}{sl}{<->\string\cantarell@scale} \installfontas{ts1-Cantarell-Regular}{TS1}{fca}{m}{sc}{<->\string\cantarell@scale} \installfontas{ts1-Cantarell-Regular-Slanted}{TS1}{fca}{m}{scsl}{<->\string\cantarell@scale} \installfont{ts1-Cantarell-Bold}{ts1-Cantarell-Bold,fixtextcomp-Cantarell-Bold,textcomp}{ts1}{TS1}{fca}{b}{n}{<->\string\cantarell@scale} \installfont{ts1-Cantarell-Bold-Slanted}{ts1-Cantarell-Bold-Slanted,fixtextcomp-Cantarell-Bold-Slanted,textcomp}{ts1}{TS1}{fca}{b}{sl}{<->\string\cantarell@scale} \installfontas{ts1-Cantarell-Bold}{TS1}{fca}{b}{sc}{<->\string\cantarell@scale} \installfontas{ts1-Cantarell-Bold-Slanted}{TS1}{fca}{b}{scsl}{<->\string\cantarell@scale} \endinstallfonts \endrecordtransforms \bye