summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/comfortaa/comfortaa.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-05-08 23:18:56 +0000
committerKarl Berry <karl@freefriends.org>2011-05-08 23:18:56 +0000
commit5d5a3ce7983e13fe5456b264448248f94d236f6d (patch)
tree0137e3631bf1477b10d1a252f6cda405f8f266bc /Master/texmf-dist/tex/latex/comfortaa/comfortaa.sty
parentc08901b8b8bb3f997641a53dfa2a6b081e8a0f71 (diff)
comfortaa (8may11)
git-svn-id: svn://tug.org/texlive/trunk@22360 c570f23f-e606-0410-a88d-b1316a301751
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