Skip to content

Commit 4383321

Browse files
committed
Update files for release 2.6
- Update version number in sourcesanspro.sty and sourcesanspro.tex - Add changes to sourcesanspro.tex - Remove version number from README.md - Remove trailing whitespace from sourcesanspro.sty - Regenerate specimen files
1 parent e9052e8 commit 4383321

File tree

6 files changed

+31
-26
lines changed

6 files changed

+31
-26
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Source Sans Pro v2.5
2-
====================
1+
Source Sans Pro
2+
===============
33
This package provides the Source Sans Pro typeface as a LaTeX package.
44
Full documentation and revision history in `sourcesanspro.pdf`.
55

-80 Bytes
Binary file not shown.
333 KB
Binary file not shown.
333 KB
Binary file not shown.

doc/latex/sourcesanspro/sourcesanspro.tex

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
\documentclass[10pt,a4paper,english]{article}
2-
\usepackage{geometry,metalogo,hyperref,babel,mdwlist,array,multicol,fontawesome}
2+
\usepackage{geometry,metalogo,hyperref,babel,mdwlist,array,multicol}
33
\usepackage[default,osf]{sourcesanspro}
44
\usepackage[scaled=.95]{sourcecodepro}
55

@@ -18,7 +18,7 @@
1818
}
1919

2020
\author{Silke Hofstra, \href{mailto:tex@slxh.nl}{tex@slxh.nl}}
21-
\date{Documentation for sourcesanspro v2.5.\\ \today}
21+
\date{Documentation for sourcesanspro v2.6.\\ \today}
2222

2323
\begin{document}
2424
\maketitle
@@ -65,7 +65,7 @@ \section{Licence}
6565
All \LaTeX\ code is available under the \href{http://www.latex-project.org/lppl/}{\LaTeX\ project public license} v1.3 or later.
6666

6767
\section{Specimen}
68-
Simple specimen can be found on page \pageref{sec:specimen}. Full specimen can be \href{http://store1.adobe.com/type/browser/pdfs/1959.pdf}{acquired from Adobe}.
68+
Simple specimen can be found on page \pageref{sec:specimen}. Full specimen can be \href{http://adobe-fonts.github.io/source-sans-pro/}{acquired from Adobe}.
6969

7070
\section{OpenType}
7171
The OpenType fonts have many features, including old style numerals (1 6 9), ligatures (ff fi fl ft {\addfontfeature{Style=Alternate}fl}) and stylistic alternatives ({\addfontfeature{Style=Alternate} l a g I}).
@@ -100,6 +100,13 @@ \section{Type1}
100100
With series ‘el’, ‘l’, ‘m’, ‘sb’, ‘b’, ‘k’ and shapes ‘n’, ‘i’ and ‘sc’.
101101

102102
\section{Version history}
103+
\subsection*{2.6}
104+
\begin{itemize*}
105+
\item Updated fonts to Roman 2.020 and Italic 1.075.
106+
\item Modified the \texttt{\textbackslash liningnums} to accomodate for the missing \texttt{lnum} feature.
107+
\item Experimental support for the LGR (Greek) encoding.
108+
\end{itemize*}
109+
103110
\subsection*{2.5}
104111
\begin{itemize*}
105112
\item Updated fonts to 2.010
@@ -143,9 +150,7 @@ \subsection*{1.02}
143150
\end{itemize*}
144151

145152
\section{Known issues}
146-
\begin{itemize*}
147-
\item Using \texttt{\textbackslash liningnums} when the default numbers are oldstyle results in an ‘font feature does not exist’ error and no lining numbers due to lack of the ‘lnum’ font feature.
148-
\end{itemize*}
153+
Issues can be reported \href{https://github.com/silkeh/latex-sourcesanspro/issues}{on GitHub}.
149154

150155
\newpage
151156
\end{multicols}

tex/latex/sourcesanspro/sourcesanspro.sty

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
% Licenced under the LPPL v1.3 or higher.
99
%
1010
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
11-
\ProvidesPackage{sourcesanspro}[2015/01/11 v2.5 Adobe's Source Sans Pro typeface]
11+
\ProvidesPackage{sourcesanspro}[2016/12/03 v2.6 Adobe's Source Sans Pro typeface]
1212

1313
\RequirePackage{ifxetex,ifluatex,xkeyval}
1414

@@ -75,14 +75,14 @@
7575
\else
7676
\def\sourcesanspro@figurestyle{}
7777
\fi
78-
78+
7979
% Tabular/Proportional
8080
\ifsourcesanspro@tabular
8181
\def\sourcesanspro@figurealign{Monospaced}
8282
\else
8383
\def\sourcesanspro@figurealign{Proportional}
8484
\fi
85-
85+
8686
% Black/Semibold/Bold
8787
\ifsourcesanspro@black
8888
\def\sourcesanspro@boldstyle{Black}
@@ -93,7 +93,7 @@
9393
\def\sourcesanspro@boldstyle{Bold}
9494
\fi
9595
\fi
96-
96+
9797
% Light/ExtraLight/Regular
9898
\ifsourcesanspro@light
9999
\def\sourcesanspro@regstyle{Light}
@@ -104,7 +104,7 @@
104104
\def\sourcesanspro@regstyle{Regular}
105105
\fi
106106
\fi
107-
107+
108108
% Shared features
109109
\defaultfontfeatures{
110110
Ligatures = TeX ,
@@ -117,45 +117,45 @@
117117
\setsansfont
118118
[ UprightFont = *-\sourcesanspro@regstyle ,
119119
ItalicFont = *-\sourcesanspro@regstyle It ,
120-
BoldFont = *-\sourcesanspro@boldstyle ,
120+
BoldFont = *-\sourcesanspro@boldstyle ,
121121
BoldItalicFont = *-\sourcesanspro@boldstyle It]
122122
{SourceSansPro}
123123
\fi
124-
124+
125125
% Font families
126126
% Regular/Bold
127127
\newfontfamily\sourcesanspro
128128
[ UprightFont = *-Regular ,
129129
ItalicFont = *-RegularIt ,
130-
BoldFont = *-Bold ,
130+
BoldFont = *-Bold ,
131131
BoldItalicFont = *-BoldIt ]
132132
{SourceSansPro}
133-
133+
134134
% Light/Semibold
135135
\newfontfamily\sourcesansprolight
136136
[ UprightFont = *-Light ,
137137
ItalicFont = *-LightIt ,
138138
BoldFont = *-Semibold ,
139139
BoldItalicFont = *-SemiboldIt ]
140140
{SourceSansPro}
141-
141+
142142
% ExtraLight/Black
143143
\newfontfamily\sourcesansproextreme
144144
[ UprightFont = *-ExtraLight ,
145145
ItalicFont = *-ExtraLightIt ,
146146
BoldFont = *-Black ,
147147
BoldItalicFont = *-BlackIt ]
148148
{SourceSansPro}
149-
149+
150150
% Lining figures
151151
\newfontfamily\sourcesansprolf
152152
[ Numbers = \sourcesanspro@figurealign ,
153153
UprightFont = *-\sourcesanspro@regstyle ,
154154
ItalicFont = *-\sourcesanspro@regstyle It ,
155-
BoldFont = *-\sourcesanspro@boldstyle ,
156-
BoldItalicFont = *-\sourcesanspro@boldstyle It]
155+
BoldFont = *-\sourcesanspro@boldstyle ,
156+
BoldItalicFont = *-\sourcesanspro@boldstyle It ]
157157
{SourceSansPro}
158-
158+
159159
% Dont keep all default font features
160160
\defaultfontfeatures{}
161161

@@ -170,14 +170,14 @@
170170
\else
171171
\def\sourcesanspro@figurestyle{LF}
172172
\fi
173-
173+
174174
% Tabular/Proportional
175175
\ifsourcesanspro@tabular
176176
\def\sourcesanspro@figurealign{T}
177177
\else
178178
\def\sourcesanspro@figurealign{}
179179
\fi
180-
180+
181181
% Black/Semibold/Bold
182182
\ifsourcesanspro@black
183183
\def\bfseries@sf{k}
@@ -188,7 +188,7 @@
188188
\def\bfseries@sf{b}
189189
\fi
190190
\fi
191-
191+
192192
% Light/ExtraLight/Regular
193193
\ifsourcesanspro@light
194194
\def\mdseries@sf{l}
@@ -204,7 +204,7 @@
204204
\ifsourcesanspro@sfdefault
205205
\edef\sfdefault{SourceSansPro-\sourcesanspro@figurealign\sourcesanspro@figurestyle}
206206
\fi
207-
207+
208208
% If source sans pro is the default font \oldstylenums needs a new definition.
209209
\ifsourcesanspro@default
210210
\let\nativeoldstylenums\oldstylenums

0 commit comments

Comments
 (0)