%% droid-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}{213} \setint{smallcapsscale}{800} \substitutesilent{scit}{scsl} \recordtransforms{droid-rec.tex} \foreach(e){01,02,03,04} \transformfont{DroidSerif-Regular-\str{e}}{\reencodefont{droid-\str{e}}{\fromafm{DroidSerif-Regular}}} \transformfont{DroidSerif-Italic-\str{e}}{\reencodefont{droid-\str{e}}{\fromafm{DroidSerif-Italic}}} \transformfont{DroidSerif-Regular-Slanted-\str{e}}{\slantfont{\int{slant}}\reencodefont{droid-\str{e}}{\fromafm{DroidSerif-Regular}}} \transformfont{DroidSerif-Italic-Upright-\str{e}}{\slantfont{-\int{slant}}\reencodefont{droid-\str{e}}{\fromafm{DroidSerif-Italic}}} \transformfont{DroidSerif-Bold-\str{e}}{\reencodefont{droid-\str{e}}{\fromafm{DroidSerif-Bold}}} \transformfont{DroidSerif-BoldItalic-\str{e}}{\reencodefont{droid-\str{e}}{\fromafm{DroidSerif-BoldItalic}}} \transformfont{DroidSerif-Bold-Slanted-\str{e}}{\slantfont{\int{slant}}\reencodefont{droid-\str{e}}{\fromafm{DroidSerif-Bold}}} \transformfont{DroidSerif-BoldItalic-Upright-\str{e}}{\slantfont{-\int{slant}}\reencodefont{droid-\str{e}}{\fromafm{DroidSerif-BoldItalic}}} \transformfont{DroidSans-\str{e}}{\reencodefont{droid-\str{e}}{\fromafm{DroidSans}}} \transformfont{DroidSans-Slanted-\str{e}}{\slantfont{\int{slant}}\reencodefont{droid-\str{e}}{\fromafm{DroidSans}}} \transformfont{DroidSans-Bold-\str{e}}{\reencodefont{droid-\str{e}}{\fromafm{DroidSans-Bold}}} \transformfont{DroidSans-Bold-Slanted-\str{e}}{\slantfont{\int{slant}}\reencodefont{droid-\str{e}}{\fromafm{DroidSans-Bold}}} \transformfont{DroidSansMono-\str{e}}{\reencodefont{droid-\str{e}}{\fromafm{DroidSansMono}}} \transformfont{DroidSansMono-Slanted-\str{e}}{\slantfont{\int{slant}}\reencodefont{droid-\str{e}}{\fromafm{DroidSansMono}}} \endfor(e) \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 droid@scale\string\endcsname\string\relax} \out_line{\space\space\string\let\string\droid@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 \input droidserif-drv.tex \input droidsans-drv.tex \input droidsansmono-drv.tex \endrecordtransforms \bye