From 7377f1232db692ab0f3bd4d557c22233b06679cd Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 13 Jul 2019 21:37:34 +0000 Subject: anonymouspro (13jul19) git-svn-id: svn://tug.org/texlive/trunk@51631 c570f23f-e606-0410-a88d-b1316a301751 --- .../source/fonts/anonymouspro/AnonymousPro.dtx | 198 ++++++++++++--------- .../source/fonts/anonymouspro/AnonymousPro.ins | 4 +- 2 files changed, 112 insertions(+), 90 deletions(-) (limited to 'Master/texmf-dist/source/fonts') diff --git a/Master/texmf-dist/source/fonts/anonymouspro/AnonymousPro.dtx b/Master/texmf-dist/source/fonts/anonymouspro/AnonymousPro.dtx index 8b69f0377b5..cdb01a891fe 100644 --- a/Master/texmf-dist/source/fonts/anonymouspro/AnonymousPro.dtx +++ b/Master/texmf-dist/source/fonts/anonymouspro/AnonymousPro.dtx @@ -1,7 +1,7 @@ % \iffalse meta-comment % % File: AnonymousPro.dtx -% Copyright (C) 2013-2014 Arash Esbati +% Copyright (C) 2013-2019 Arash Esbati % % This work may be distributed and/or modified under the conditions % of the LaTeX Project Public License (LPPL), either version 1.3c of @@ -15,7 +15,7 @@ % \iffalse %\NeedsTeXFormat{LaTeX2e}[1999/12/01] %\ProvidesPackage{AnonymousPro} -% [2014/03/22 v2.1 Support for AnonymousPro Fonts (AE)] +% [2019/07/07 v2.2 Support for AnonymousPro Fonts (AE)] % %<*driver> \documentclass[a4paper]{ltxdoc} @@ -26,7 +26,7 @@ \usepackage{textcomp,longtable,fonttable} \newcommand*\pkg[1]{\textsf{#1}} \usepackage{hypdoc} -\DisableCrossrefs +\DisableCrossrefs \RecordChanges \setlength\hfuzz{15pt} \hbadness=7000 @@ -91,8 +91,8 @@ fi ff fl ffi ij IJ ffl \\[\smallskipamount] % {\small FIGURES, FRACTIONS, SUPERSCRIPT} \\ - 1234567890 \space - \textonehalf \textonequarter \textthreequarters \space + 1234567890 \space + \textonehalf \textonequarter \textthreequarters \space \textonesuperior \textthreesuperior \texttwosuperior \space \textfractionsolidus \\[\smallskipamount] % @@ -112,12 +112,12 @@ .,:;!?\textexclamdown \textquestiondown \&\textquotesingle % "`'``''\guillemotleft \guillemotright \guilsinglleft \guilsinglright @*\textdagger \textdaggerdbl \textsection \textparagraph - /\textbackslash \textbar \textbrokenbar \textendash \textemdash + /\textbackslash \textbar \textbrokenbar \textendash \textemdash \textunderscore \textperiodcentered \textbullet )]\} \\ \ANPapplelogo \ANPappleopen \ANPUpArrowHead \ANPUpArrowHeadBars \ANPback \ANPblackdiamond \ANPcheckmark \ANPellipsis \ANPendtab \ANPerasetotheright \ANPinsert \ANPInsertSign \ANPlozenge - \ANPoptionkey \ANPproduct \ANPshift \ANPshiftlock \ANPtab + \ANPoptionkey \ANPproduct \ANPshift \ANPshiftlock \ANPtab \ANPReturnSign \ANPShoulderedOpenBox \ANPHelm \ANPOpenBox \ANPverticaltab } @@ -132,8 +132,8 @@ \end{document} % % \fi -% -% \CheckSum{1880} +% +% \CheckSum{1883} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -155,22 +155,24 @@ % \GetFileInfo{\jobname.sty} % % \MakeShortVerb{\|} -% +% % \DoNotIndex{\newcommand,\renewcommand,\newenvironment} % -% \changes{v2.1}{2014/03/22}{Remapped `visiblespace' to Anonymous Pro +% \changes{v2.2}{2019/07/07}{Add the `scaled' key as requested by FMi} +% +% \changes{v2.1}{2014/03/22}{Remap `visiblespace' to Anonymous Pro % glyph `openbox' (uni2423) in `anonymouspro-fixlatin.mtx' which looks % less heavy} % % \changes{v2.1}{2014/03/22}{Minor documentation updates} % -% \changes{v2.0}{2013/12/29}{Reorganized the \pkg{fontinst} driver file +% \changes{v2.0}{2013/12/29}{Reorganize the \pkg{fontinst} driver file % so that all glyphs are available from the fonts} % -% \changes{v2.0}{2013/12/29}{Updated documentation and added a font +% \changes{v2.0}{2013/12/29}{Update documentation and added a font % table} % -% \changes{v1.1}{2013/12/12}{Regenerated .afm and .pfb from .ttf with +% \changes{v1.1}{2013/12/12}{Regenerate .afm and .pfb from .ttf with % FontForge (was ttftopt1) after a comment from Karl Berry, now the % fonts pass `t1lint' without warnings} % @@ -178,13 +180,13 @@ % % \title{Using \texttt{Anonymous Pro} fonts with LaTeX^^A % \thanks{This file has version number \fileversion, last revised -% \filedate.}} +% \filedate.}} % \author{Arash Esbati} % \date{\filedate} % \maketitle % % \begin{abstract} -% \noindent +% \noindent % This package provides the necessary files to use the monowidth % \texttt{Anonymous Pro} fonts with LaTeX. Anonymous Pro is a set % of four fonts provided by Mark Simonson under the Open Font @@ -195,13 +197,13 @@ % % \section{Introduction} % \label{sec:introduction} -% +% % Anonymous Pro\footnote{Copyright \textcopyright\ 2009, Mark Simonson % (http://www.ms-studio.com, mark@marksimonson.com), with Reserved % Font Name Anonymous Pro} is a set of fonts provided by Mark % Simonson\footnote{\url{http://www.marksimonson.com/fonts/view/anonymous-pro}} % under the Open Font License (OFL). From his -% README.txt: +% README.txt: % \begin{quotation} % ``Anonymous Pro is a family of four fixed-width fonts designed % especially with coding in mind. Characters that could be mistaken @@ -221,7 +223,7 @@ % intended as a more legible alternative to Monaco, the fixed-width % Macintosh system font.'' % \end{quotation} -% +% % This bundle was mainly formed as ``I needed something to play with'' % while I was reading through the fantastic \textit{``The Font % Installation Guide''}\footnote{^^A @@ -243,33 +245,36 @@ % % The usage is LaTeX-standard, the behaviour not. Having this in your % preamble: -% \begin{verbatim} -% \usepackage{AnonymousPro}\end{verbatim} +% \begin{quote} +% |\usepackage{AnonymousPro}| +% \end{quote} % does not change the monowidth-font of the document. -% +% % \DescribeMacro{ttdefault} % You have to activate the Anonymous Pro font explicitly with the % option |`ttdefault'| or |`ttdefault=true'|. This is the % intended behaviour. % -% \DescribeMacro{scale} -% You can |`scale'| the font with this option. In this document, I -% used: -% \begin{verbatim} -% \usepackage[scale=0.95,ttdefault]{AnonymousPro} \end{verbatim} +% \DescribeMacro{scale\,\textbar\,scaled} +% You can |`scale'| the font with this option or with |`scaled'|. In +% this document, I used: +% \begin{quote} +% |\usepackage[scale=0.95,ttdefault]{AnonymousPro}| +% \end{quote} % % This package does not try to be too smart, and relies only on % \pkg{kvoptions}. You have to load \pkg{fontenc} and \pkg{textcomp} % yourself, e.g.: -% \begin{verbatim} -% \usepackage[T1]{fontenc} -% \usepackage{textcomp} -% \usepackage[scale=0.98,ttdefault]{AnonymousPro} \end{verbatim} +% \begin{quote} +% |\usepackage[T1]{fontenc}|\\ +% |\usepackage{textcomp}|\\ +% |\usepackage[scale=0.98,ttdefault]{AnonymousPro}| +% \end{quote} % % % \section{Glyph Coverage} % \label{sec:glyph-coverage} -% +% % A comprehensive Anonymous Pro % specimen\footnote{\url{http://www.marksimonson.com/assets/content/fonts/AnonymousProSpecimen.pdf}} % is available with complete showings of all the fonts. @@ -311,7 +316,7 @@ % % \subsection{T1 Font Table} % \label{sec:t1-font-table} -% +% % The only character missing is |`perthousandzero'| in slot 24; % |`compwordmark'| in slot 23 is an invisible glyph. Ligatures like % \texttt{fi}, \texttt{fl} or \texttt{IJ} are available in the font @@ -381,15 +386,15 @@ % |\texttrademark| & \texttrademark \\ % |\texttwelveudash| & \texttwelveudash & % |\texttwosuperior| & \texttwosuperior \\ -% |\textyen| & \textyen +% |\textyen| & \textyen % \end{longtable} % \endgroup % % \clearpage -% +% % \subsection{Miscellaneous Symbols} % \label{sec:misc-symb} -% +% % Other symbols provided by this package are shown in next table. % They are available in \textbf{Bold}, \textit{Italic} and % \textbf{\itshape Bold-Italic}. @@ -397,39 +402,39 @@ % \begin{longtable}[l]{@{}p{0.4\linewidth}@{}p{0.1\linewidth}@{}p{0.4\linewidth}@{}p{0.1\linewidth}@{}} % |\ANPapplelogo| & \ANPapplelogo & % |\ANPappleopen| & \ANPappleopen \\ -% |\ANPapproxequal| & \ANPapproxequal & +% |\ANPapproxequal| & \ANPapproxequal & % |\ANPback| & \ANPback \\ -% |\ANPblackdiamond| & \ANPblackdiamond & -% |\ANPcheckmark| & \ANPcheckmark \\ -% |\ANPDelta| & \ANPDelta & +% |\ANPblackdiamond| & \ANPblackdiamond & +% |\ANPcheckmark| & \ANPcheckmark \\ +% |\ANPDelta| & \ANPDelta & % |\ANPellipsis| & \ANPellipsis \\ -% |\ANPendtab| & \ANPendtab & +% |\ANPendtab| & \ANPendtab & % |\ANPerasetotheright| & \ANPerasetotheright \\ -% |\ANPgreaterequal| & \ANPgreaterequal & +% |\ANPgreaterequal| & \ANPgreaterequal & % |\ANPHelm| & \ANPHelm \\ % |\ANPinsert| & \ANPinsert & -% |\ANPInsertSign| & \ANPInsertSign \\ +% |\ANPInsertSign| & \ANPInsertSign \\ % |\ANPintegral| & \ANPintegral & -% |\ANPlessequal| & \ANPlessequal \\ +% |\ANPlessequal| & \ANPlessequal \\ % |\ANPlozenge| & \ANPlozenge & -% |\ANPnotequal| & \ANPnotequal \\ +% |\ANPnotequal| & \ANPnotequal \\ % |\ANPOpenBox| & \ANPOpenBox & % |\ANPoptionkey| & \ANPoptionkey \\ -% |\ANPpartialdiff| & \ANPpartialdiff & +% |\ANPpartialdiff| & \ANPpartialdiff & % |\ANPPi| & \ANPPi \\ -% |\ANPpi| & \ANPpi & +% |\ANPpi| & \ANPpi & % |\ANPproduct| & \ANPproduct \\ -% |\ANPReturnSign| & \ANPReturnSign & +% |\ANPReturnSign| & \ANPReturnSign & % |\ANPshift| & \ANPshift \\ % |\ANPshiftlock| & \ANPshiftlock & % |\ANPShoulderedOpenBox| & \ANPShoulderedOpenBox \\ -% |\ANPsigma| & \ANPsigma & +% |\ANPsigma| & \ANPsigma & % |\ANPsigmaone| & \ANPsigmaone \\ -% |\ANPsummation| & \ANPsummation & +% |\ANPsummation| & \ANPsummation & % |\ANPtab| & \ANPtab \\ % |\ANPUpArrowHead| & \ANPUpArrowHead & -% |\ANPUpArrowHeadBars| & \ANPUpArrowHeadBars \\ -% |\ANPverticaltab| & \ANPverticaltab +% |\ANPUpArrowHeadBars| & \ANPUpArrowHeadBars \\ +% |\ANPverticaltab| & \ANPverticaltab % \end{longtable} % \endgroup % @@ -451,7 +456,7 @@ % % \section{Implementation} % \label{sec:implementation} -% +% % \subsection{General Notes} % \label{sec:gen-notes} % @@ -467,22 +472,23 @@ % \meta{.afm} files. After running LaTeX on \texttt{\jobname.ins} and % having the generated files at hand, I used a trivial |Makefile| to % run \pkg{fontinst}: -% \begin{verbatim} -% .PHONY: fonts -% fonts: -% tex AnonymousPro-drv.tex -% tex AnonymousPro-map.tex -% for filename in *.pl; do pltotf $$filename; done -% for filename in *.vpl; do vptovf $$filename; done -% rm *.pl *.vpl *.mtx \end{verbatim} -% +% \begin{quote} +% |.PHONY: fonts|\\ +% |fonts:|\\ +% | tex AnonymousPro-drv.tex|\\ +% | tex AnonymousPro-map.tex|\\ +% | for filename in *.pl; do pltotf $$filename; done|\\ +% | for filename in *.vpl; do vptovf $$filename; done|\\ +% | rm *.pl *.vpl *.mtx| +% \end{quote} +% % I also used |t1testpage|\footnote{\url{http://www.lcdf.org/type/}} % to generate an overview of characters per font; mostly to have a % match on characters in \meta{.afm} files. % % \subsection{Fontinst-Driver file} % \label{sec:fontins-drv} -% +% % We follow Philipp Lehman's \textit{The Font Installation Guide}. % % We start as follows: @@ -493,7 +499,7 @@ \input fontinst.sty \needsfontinstversion{1.926} % \end{macrocode} -% +% % We are installing a monowidth-font. `Anonymous Pro' has liguatures % but we will not use them and set \meta{ligaturing} to `0'. Note % that we also will not set |`\hyphenchar\font=-1'|. @@ -767,14 +773,14 @@ %%% date = "2013-12-29", %%% time = "15:24:42 +01:00", %%% filename = "AnonymousPro-01.etx", -%%% email = "esbati'at'gmx.de", +%%% email = "arash'at'gnu.org", %%% URL = "", %%% checksum = "", %%% codetable = "ISO/ASCII", %%% keywords = "encoding, TeX, PostScript", %%% supported = "yes", -%%% abstract = "This is a custom encoding as a TeX font -%%% encoding file to access all glyphs in +%%% abstract = "This is a custom encoding as a TeX font +%%% encoding file to access all glyphs in %%% the AnonymousPro, for use with the fontinst %%% utility. %%% package = "AnonymousPro for LaTeX", @@ -1573,14 +1579,14 @@ %%% date = "2013-12-29", %%% time = "15:24:42 +01:00", %%% filename = "AnonymousPro-02.etx", -%%% email = "esbati'at'gmx.de", +%%% email = "arash'at'gnu.org", %%% URL = "", %%% checksum = "", %%% codetable = "ISO/ASCII", %%% keywords = "encoding, TeX, PostScript", %%% supported = "yes", -%%% abstract = "This is a custom encoding as a TeX font -%%% encoding file to access all glyphs in +%%% abstract = "This is a custom encoding as a TeX font +%%% encoding file to access all glyphs in %%% the AnonymousPro, for use with the fontinst %%% utility. %%% package = "AnonymousPro for LaTeX", @@ -2379,14 +2385,14 @@ %%% date = "2013-12-29", %%% time = "15:24:42 +01:00", %%% filename = "AnonymousPro-03.etx", -%%% email = "esbati'at'gmx.de", +%%% email = "arash'at'gnu.org", %%% URL = "", %%% checksum = "", %%% codetable = "ISO/ASCII", %%% keywords = "encoding, TeX, PostScript", %%% supported = "yes", -%%% abstract = "This is a custom encoding as a TeX font -%%% encoding file to access all glyphs in +%%% abstract = "This is a custom encoding as a TeX font +%%% encoding file to access all glyphs in %%% the AnonymousPro, for use with the fontinst %%% utility. %%% package = "AnonymousPro for LaTeX", @@ -2744,9 +2750,10 @@ % character to use -- the char-name must correspond to the name in the % .afm-file. With \cmd\nextslot\marg{number}, one can use the % character by saying -% \begin{verbatim} -% \fontencoding{U}\fontfamily{name}\selectfont \char number \end{verbatim} -% +% \begin{quote} +% |\fontencoding{U}\fontfamily{name}\selectfont \char number| +% \end{quote} +% % \begin{macrocode} %<*anp-sym> % \end{macrocode} @@ -2758,14 +2765,14 @@ %%% date = "2013-11-29", %%% time = "16:45:46 +01:00", %%% filename = "AnonymousPro-symbols.etx", -%%% email = "esbati'at'gmx.de", +%%% email = "arash'at'gnu.org", %%% URL = "", %%% checksum = "", %%% codetable = "ISO/ASCII", %%% keywords = "encoding, TeX, PostScript", %%% supported = "yes", -%%% abstract = "This is a custom encoding as a TeX font -%%% encoding file to access various symbols in +%%% abstract = "This is a custom encoding as a TeX font +%%% encoding file to access various symbols in %%% the AnonymousPro, for use with the fontinst %%% utility. %%% package = "AnonymousPro for LaTeX", @@ -3000,7 +3007,7 @@ %%% date = "2013-12-29", %%% time = "15:24:42 +01:00", %%% filename = "anonymouspro-fixlatin.mtx", -%%% email = "esbati'at'gmx.de", +%%% email = "arash'at'gnu.org", %%% URL = "", %%% checksum = "", %%% codetable = "ISO/ASCII", @@ -3053,7 +3060,7 @@ %%% date = "2013-12-29", %%% time = "15:24:42 +01:00", %%% filename = "anonymouspro-fixtextcomp.mtx", -%%% email = "esbati'at'gmx.de", +%%% email = "arash'at'gnu.org", %%% URL = "", %%% checksum = "", %%% codetable = "ISO/ASCII", @@ -3103,9 +3110,19 @@ } % \end{macrocode} % -% Define the option |`scale'| and init it to `1.0' +% Define the option |`scale'| and init it to `1.0'. Also supply a +% `default' value which is `1.0'. % \begin{macrocode} -\DeclareStringOption[1.0]{scale} +\DeclareStringOption[1.0]{scale}[1.0] +% \end{macrocode} +% +% As requested by F. Mittelbach, we also provide a |`scaled'| key. +% This key just redefines the \cmd{\ANP@scale} macro with the given +% value. +% \begin{macrocode} +\define@key{ANP}{scaled}[1.0]{% + \renewcommand*\ANP@scale{#1}% +} % \end{macrocode} % % Define the option |`ttdefault'|. We default it to |`false'|. @@ -3115,7 +3132,6 @@ % \begin{macrocode} \DeclareBoolOption[false]{ttdefault} % \end{macrocode} -% % Process the keyvals: % \begin{macrocode} \ProcessKeyvalOptions* @@ -3125,12 +3141,12 @@ % This macro is defined by \pkg{kvoptions} for the % |`ttdefault'|-option. This is the effect when activited. % \begin{macrocode} -\ifANP@ttdefault - \renewcommand{\ttdefault}{AnonymousPro}% +\ifANP@ttdefault + \renewcommand{\ttdefault}{AnonymousPro} \fi % \end{macrocode} % \end{macro} -% +% % \begin{macro}{\ANP@family} % Define our command for the family: % \begin{macrocode} @@ -3189,4 +3205,10 @@ % \end{macrocode} % % \Finale -\endinput +% +% \endinput +% Local Variables: +% mode: doctex +% TeX-master: t +% TeX-source-correlate-mode: t +% End: diff --git a/Master/texmf-dist/source/fonts/anonymouspro/AnonymousPro.ins b/Master/texmf-dist/source/fonts/anonymouspro/AnonymousPro.ins index 208c1380ce5..5796c664921 100644 --- a/Master/texmf-dist/source/fonts/anonymouspro/AnonymousPro.ins +++ b/Master/texmf-dist/source/fonts/anonymouspro/AnonymousPro.ins @@ -1,6 +1,6 @@ %% %% File: AnonymousPro.ins -%% Copyright (c) 2013-2014 Arash Esbati +%% Copyright (c) 2013-2019 Arash Esbati %% %% This work may be distributed and/or modified under the conditions %% of the LaTeX Project Public License (LPPL), either version 1.3c of @@ -16,7 +16,7 @@ \preamble -Copyright (C) 2013-2014 Arash Esbati +Copyright (C) 2013-2019 Arash Esbati This work may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of -- cgit v1.2.3