Skip to content

Commit

Permalink
Correcting the swap of the "text height" and "text-width" icons
Browse files Browse the repository at this point in the history
  • Loading branch information
xdanaux committed Jul 31, 2015
1 parent 689503d commit 3f84b1a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 6 deletions.
Binary file modified fontawesome.pdf
Binary file not shown.
6 changes: 3 additions & 3 deletions fontawesome.sty
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
% identification
%-------------------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{fontawesome}[2013/03/21 v3.0.2 font awesome icons]
\ProvidesPackage{fontawesome}[2013/03/23 v3.0.2-1 font awesome icons]


%-------------------------------------------------------------------------------
Expand Down Expand Up @@ -83,8 +83,8 @@
\expandafter\def\csname faicon@font\endcsname {\symbol{"F031}} \def\faFont {{\FA\csname faicon@font\endcsname}}
\expandafter\def\csname faicon@bold\endcsname {\symbol{"F032}} \def\faBold {{\FA\csname faicon@bold\endcsname}}
\expandafter\def\csname faicon@italic\endcsname {\symbol{"F033}} \def\faItalic {{\FA\csname faicon@italic\endcsname}}
\expandafter\def\csname faicon@text-width\endcsname {\symbol{"F034}} \def\faTextWidth {{\FA\csname faicon@text-width\endcsname}}
\expandafter\def\csname faicon@text-height\endcsname {\symbol{"F035}} \def\faTextHeight {{\FA\csname faicon@text-height\endcsname}}
\expandafter\def\csname faicon@text-height\endcsname {\symbol{"F034}} \def\faTextHeight {{\FA\csname faicon@text-height\endcsname}}
\expandafter\def\csname faicon@text-width\endcsname {\symbol{"F035}} \def\faTextWidth {{\FA\csname faicon@text-width\endcsname}}
\expandafter\def\csname faicon@align-left\endcsname {\symbol{"F036}} \def\faAlignLeft {{\FA\csname faicon@align-left\endcsname}}
\expandafter\def\csname faicon@align-center\endcsname {\symbol{"F037}} \def\faAlignCenter {{\FA\csname faicon@align-center\endcsname}}
\expandafter\def\csname faicon@align-right\endcsname {\symbol{"F038}} \def\faAlignRight {{\FA\csname faicon@align-right\endcsname}}
Expand Down
20 changes: 17 additions & 3 deletions fontawesome.tex
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@

\documentclass{ltxdoc}
%\GetFileInfo{\jobname.sty}
\def\fileversion{3.0.2}
\def\filedate{March 21, 2013}
\def\fileversion{3.0.2-1}
\def\filedate{March 23, 2013}
\usepackage{lmodern}
\usepackage[numbered]{hypdoc}
\usepackage{hologo}
\usepackage{hyperref, xcolor}
\definecolor{myblue}{rgb}{0.22,0.45,0.70}% light blue
\hypersetup{colorlinks=true, linkcolor=myblue, urlcolor=myblue}
\hypersetup{colorlinks=true, linkcolor=myblue, urlcolor=myblue, hyperindex}
\usepackage{longtable, booktabs}
\usepackage{\jobname}
\EnableCrossrefs
Expand All @@ -36,6 +36,20 @@
\end{abstract}

\changes{v3.0.2}{2013/03/21}{First public release (version number set to match the included FontAwesome.otf font version).}
\makeatletter
\let\PrintMacroName@original\PrintMacroName
%\let\PrintDescribeMacro\@gobble
%\let\PrintDescribeEnv\@gobble
\let\PrintMacroName\@gobble
%\let\PrintEnvName\@gobble
\begin{macro}{\faTextHeight}
\changes{v3.0.2-1}{2013/03/23}{Corrected the bindings icons of \cs{text-height} and \cs{text-width}, which were inverted.}
\end{macro}
\begin{macro}{\faTextWidth}
\changes{v3.0.2-1}{2013/03/23}{Corrected the bindings icons of \cs{text-height} and \cs{text-width}, which were inverted.}
\end{macro}
\let\PrintMacroName\PrintMacroName@original
\makeatother

\bigskip

Expand Down

0 comments on commit 3f84b1a

Please sign in to comment.