summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/comfortaa/comfortaa.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/comfortaa/comfortaa.sty')
-rw-r--r--Master/texmf-dist/tex/latex/comfortaa/comfortaa.sty32
1 files changed, 9 insertions, 23 deletions
diff --git a/Master/texmf-dist/tex/latex/comfortaa/comfortaa.sty b/Master/texmf-dist/tex/latex/comfortaa/comfortaa.sty
index bfb54a17927..fa5659a22c9 100644
--- a/Master/texmf-dist/tex/latex/comfortaa/comfortaa.sty
+++ b/Master/texmf-dist/tex/latex/comfortaa/comfortaa.sty
@@ -1,5 +1,5 @@
%% comfortaa.sty
-%% Copyright 2010 Mohamed El Morabity
+%% Copyright 2010, 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)
@@ -14,7 +14,7 @@
% This work consists of all files listed in manifest.txt.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{comfortaa}[2010/12/18 Comfortaa]
+\ProvidesPackage{comfortaa}[2011/03/24 Comfortaa]
\RequirePackage{keyval}
\RequirePackage{slantsc}
@@ -28,43 +28,29 @@
\x%
}
-\newcommand{\comfortaa@series@normal}{m}
-
-\DeclareOption{regular}{%
- \renewcommand{\comfortaa@series@normal}{m}%
-}
-
-\DeclareOption{light}{%
- \renewcommand{\comfortaa@series@normal}{l}%
-}
-
\DeclareOption{defaultsans}{%
\renewcommand*{\sfdefault}{fco}%
- \renewcommand*{\mddefault}{\comfortaa@series@normal}%
}
\DeclareOption{default}{%
- \renewcommand*{\familydefault}{fco}%
\renewcommand*{\sfdefault}{fco}%
- \renewcommand*{\mddefault}{\comfortaa@series@normal}%
+ \renewcommand*{\familydefault}{fco}%
}
\ProcessOptions*
-\relax
+\newcommand{\fcofamily}{%
+ \fontfamily{fco}%
+ \selectfont%
+}
+
+% Fix search of words containing fi/fl ligatures in PDFs
\@ifundefined{pdfglyphtounicode}{}{%
% fi
\pdfglyphtounicode{uniF001}{FB01}%
% fl
\pdfglyphtounicode{uniF002}{FB02}%
- %
\pdfgentounicode=1%
}
-\newcommand{\fcofamily}{%
- \fontfamily{fco}%
- \fontseries{\comfortaa@series@normal}%
- \selectfont%
-}
-
\endinput