diff options
author | Karl Berry <karl@freefriends.org> | 2010-12-30 23:45:06 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-12-30 23:45:06 +0000 |
commit | 36afe9e9ca936d29452643e766c1837e209e1676 (patch) | |
tree | af456684a5416b46e4728cba956ada387ca303d0 /Master/texmf-dist/source | |
parent | a56fd8ce52effcc0234a01e8d4a1a31527fc28bb (diff) |
new font lato (27dec10)
git-svn-id: svn://tug.org/texlive/trunk@20888 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/lato/Makefile | 226 | ||||
-rw-r--r-- | Master/texmf-dist/source/lato/README | 22 | ||||
-rw-r--r-- | Master/texmf-dist/source/lato/lato-dotlessj.etx | 23 | ||||
-rw-r--r-- | Master/texmf-dist/source/lato/lato-drv.tex | 204 | ||||
-rw-r--r-- | Master/texmf-dist/source/lato/lato-fixlatin.etx | 31 | ||||
-rw-r--r-- | Master/texmf-dist/source/lato/lato-fixtextcomp.etx | 145 | ||||
-rw-r--r-- | Master/texmf-dist/source/lato/lato-map.tex | 28 | ||||
-rw-r--r-- | Master/texmf-dist/source/lato/lato-reglyph.tex | 112 | ||||
-rw-r--r-- | Master/texmf-dist/source/lato/lato.pdf | bin | 0 -> 119299 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/lato/lato.tex | 226 | ||||
-rw-r--r-- | Master/texmf-dist/source/lato/ttf2type1.pe | 22 |
11 files changed, 1039 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/lato/Makefile b/Master/texmf-dist/source/lato/Makefile new file mode 100644 index 00000000000..459dc218ea2 --- /dev/null +++ b/Master/texmf-dist/source/lato/Makefile @@ -0,0 +1,226 @@ +## Makefile +## Copyright 2010 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) +# any later version. The latest version of this license is in +# http://www.latex-project.org/lppl.txt and version 1.3 or later is part of all +# distributions of LaTeX version 2005/12/01 or later. +# +# This work has the LPPL maintenance status `maintained'. +# +# The Current Maintainer of this work is Mohamed El Morabity +# +# This work consists of all files listed in manifest.txt. + +###################### +# Fonts informations # +###################### + +FONT_NAME = lato +FOUNDRY = public +FONT_CODES = fla + +# Supported LaTeX encodings +SUPPORTED_ENCODINGS = ot1 t1 ts1 +# Supported LaTeX encodings containing small caps +SUPPORTED_SC_ENCODINGS = $(filter-out ts1,$(SUPPORTED_ENCODINGS)) +# Custom encodings provided +CUSTOM_ENCODINGS = $(FONT_NAME)-fixlatin $(FONT_NAME)-fixtextcomp $(FONT_NAME)-dotlessj + + +##################### +# Installation root # +##################### + +TEXMFHOME = $(shell kpsexpand '$$TEXMFHOME') + + +########### +# Archive # +########### + +ARCHIVE_ROOT = $(FONT_NAME) +ARCHIVE = $(FONT_NAME).zip + + +########### +# Sources # +########### + +TRUETYPE_FILES = $(wildcard *.ttf) + +# Fontinst files +FONTINST_FILE = $(FONT_NAME)-drv.tex +FONTINST_REGLYPH_FILE = $(FONT_NAME)-reglyph.tex +FONTINST_MAP_FILE = $(FONT_NAME)-map.tex + +# Custom Fontinst encoding files +ETX_FILES = $(CUSTOM_ENCODINGS:=.etx) + +STYLE_FILES = $(wildcard *.sty) + +DOCUMENTATION = $(FONT_NAME).tex $(FONT_NAME).pdf README + +# Files to be installed in texmf/source +BUILD_FILES = $(FONTINST_FILE) $(FONTINST_REGLYPH_FILE) $(FONTINST_MAP_FILE) $(ETX_FILES) Makefile ttf2type1.pe $(DOCUMENTATION) + +# Source files to be installed +SOURCES_FILES = $(TRUETYPE_FILES) $(STYLE_FILES) $(BUILD_FILES) $(DOCUMENTATION) + + + +################### +# Generated files # +################### + +TYPE1_FILES = $(TRUETYPE_FILES:.ttf=.pfb) $(TRUETYPE_FILES:.ttf=-LCDFJ.pfb) +AFM_FILES = $(TYPE1_FILES:.pfb=.afm) + +# Fontinst log file +FONTINST_REC_FILE = $(FONT_NAME)-rec.tex + +# Metrics files +PL_FILES = $(foreach e,$(SUPPORTED_ENCODINGS) $(CUSTOM_ENCODINGS:$(FONT_NAME)-%=%), \ + $(foreach f,$(TRUETYPE_FILES:.ttf=), \ + raw-$(e)-$(f).pl \ + ) \ + ) +TMP_MTX_FILES = $(PL_FILES:%.pl=%.mtx) $(PL_FILES:raw-%.pl=%.mtx) +VPL_FILES = $(foreach f,$(TRUETYPE_FILES:.ttf=), \ + $(foreach e,$(SUPPORTED_ENCODINGS), \ + $(e)-$(f).vpl \ + ) \ + $(foreach e,$(SUPPORTED_SC_ENCODINGS), \ + $(e)-$(f)-SmallCaps.vpl \ + ) \ + ) +TFM_FILES = $(PL_FILES:.pl=.tfm) $(VPL_FILES:.vpl=.tfm) +VF_FILES = $(VPL_FILES:.vpl=.vf) + +MAP = $(FONT_NAME).map + +# Font definition files +FD_FILES = $(foreach e,$(SUPPORTED_ENCODINGS), \ + $(foreach f,$(FONT_CODES), \ + $(e)$(f).fd \ + ) \ + ) + +# Generated encoding files +ENC_FILES = $(SUPPORTED_ENCODINGS:%=$(FONT_NAME)-%.enc) $(CUSTOM_ENCODINGS:$(FONT_NAME)-%=$(FONT_NAME)-%.enc) + +# Generated files to be installed +GENERATED_FILES = $(TYPE1_FILES) $(AFM_FILES) $(TFM_FILES) $(VF_FILES) $(MAP) $(FD_FILES) $(ENC_FILES) + + + + +default: all + + +all: dist + + +dist: $(ARCHIVE) + + +%.pfb %.afm: %.ttf + fontforge ttf2type1.pe $< + + +%-LCDFJ.pfb: %.pfb + t1dotlessj $< $@ + + +%-LCDFJ.afm: %-LCDFJ.pfb + pf2afm $< + + +%.tfm: %.pl + pltotf $< $@ + + +%.tfm: %.vpl + vptovf $^ $ + + +%.vf: %.vpl + vptovf $^ $@ + + +$(FONTINST_REC_FILE): $(TYPE1_FILES) $(AFM_FILES) $(ETX_FILES) $(FONTINST_FILE) $(FONTINST_REGLYPH_FILE) + latex $(FONTINST_FILE) + + +$(PL_FILES) $(VPL_FILES): $(FONTINST_REC_FILE) + + +$(MAP): $(FONTINST_REC_FILE) $(FONTINST_MAP_FILE) + latex $(FONTINST_MAP_FILE) + + +$(FD_FILES) $(ENC_FILES): $(MAP) + + +texmf-tree: clean-texmf-tree $(GENERATED_FILES) $(SOURCES_FILES) + mkdir -p $(ARCHIVE_ROOT)/doc/latex/$(FONT_NAME)/ + mkdir -p $(ARCHIVE_ROOT)/tex/latex/$(FONT_NAME)/ + mkdir -p $(ARCHIVE_ROOT)/fonts/{enc,map}/dvips/$(FONT_NAME)/ + mkdir -p $(ARCHIVE_ROOT)/fonts/{afm,tfm,truetype,type1,vf}/$(FOUNDRY)/$(FONT_NAME)/ + mkdir -p $(ARCHIVE_ROOT)/source/$(FONT_NAME)/ + cp -p $(DOCUMENTATION) $(ARCHIVE_ROOT)/doc/latex/$(FONT_NAME)/ + cp -p $(FD_FILES) $(STYLE_FILES) $(ARCHIVE_ROOT)/tex/latex/$(FONT_NAME)/ + cp -p $(ENC_FILES) $(ARCHIVE_ROOT)/fonts/enc/dvips/$(FONT_NAME)/ + cp -p $(MAP) $(ARCHIVE_ROOT)/fonts/map/dvips/$(FONT_NAME)/ + cp -p $(AFM_FILES) $(ARCHIVE_ROOT)/fonts/afm/$(FOUNDRY)/$(FONT_NAME)/ + cp -p $(TFM_FILES) $(ARCHIVE_ROOT)/fonts/tfm/$(FOUNDRY)/$(FONT_NAME)/ + cp -p $(TRUETYPE_FILES) $(ARCHIVE_ROOT)/fonts/truetype/$(FOUNDRY)/$(FONT_NAME)/ + cp -p $(TYPE1_FILES) $(ARCHIVE_ROOT)/fonts/type1/$(FOUNDRY)/$(FONT_NAME)/ + cp -p $(VF_FILES) $(ARCHIVE_ROOT)/fonts/vf/$(FOUNDRY)/$(FONT_NAME)/ + cp -p $(BUILD_FILES) $(ARCHIVE_ROOT)/source/$(FONT_NAME)/ + cp -p README $(ARCHIVE_ROOT) + cd $(ARCHIVE_ROOT) && find . -type f > manifest.txt + + +$(ARCHIVE): clean-texmf-tree texmf-tree + zip -r $@ $(ARCHIVE_ROOT) + + +install: texmf-tree + mkdir -p $(TEXMFHOME) + cp -a $(ARCHIVE_ROOT)/* $(TEXMFHOME) + texhash + updmap --enable Map=$(MAP) + + +uninstall: + $(RM) -r $(TEXMFHOME)/doc/latex/$(FONT_NAME)/ + $(RM) -r $(TEXMFHOME)/tex/latex/$(FONT_NAME)/ + $(RM) -r $(TEXMFHOME)/fonts/{enc,map}/dvips/$(FONT_NAME)/ + $(RM) -r $(TEXMFHOME)/fonts/{afm,tfm,truetype,type1,vf}/$(FOUNDRY)/$(FONT_NAME)/ + $(RM) -r $(TEXMFHOME)/source/$(FONT_NAME)/ + updmap --disable $(MAP) + texhash + + +clean: clean-texmf-tree + $(RM) $(TYPE1_FILES) $(AFM_FILES) + $(RM) $(FONTINST_REC_FILE) + $(RM) $(PL_FILES) $(TYPE1_FILES:.pfb=.pl) + $(RM) $(TMP_MTX_FILES) $(TYPE1_FILES:.pfb=.mtx) + $(RM) $(VPL_FILES) + $(RM) $(TFM_FILES) + $(RM) $(VF_FILES) + $(RM) $(MAP) + $(RM) $(FD_FILES) + $(RM) $(ENC_FILES) + $(RM) $(ARCHIVE) + $(RM) *~ *.log + + +clean-texmf-tree: + $(RM) -r $(ARCHIVE_ROOT) + + +.PHONY: clean clean-texmf-tree texmf-tree diff --git a/Master/texmf-dist/source/lato/README b/Master/texmf-dist/source/lato/README new file mode 100644 index 00000000000..29de300f913 --- /dev/null +++ b/Master/texmf-dist/source/lato/README @@ -0,0 +1,22 @@ +------------------- + Lato, version 1.0 +------------------- + +Lato is a sanserif typeface family designed in the Summer 2010 by Warsaw-based +designer Łukasz Dziedzic. This font, which includes five weights (hairline, +light, regular, bold and black}), is available from the Google Font Directory at +http://code.google.com/webfonts/family?family=Lato as TrueType files under the +OFL version 1.1. + +This package provides support for this font in LaTeX. It includes the original +TrueType fonts, as well as Type 1 versions, converted for this package using +FontForge for full support with Dvips. + +Installation and usage instructions are described in doc/latex/lato/lato.pdf. + +This package is released under the LaTeX Project Public License, either version +1.3c or above, with the exception of the .ttf and .pfb files, released under the +Open Font License version 1.1. + +If you have comments about the package, please contact Mohamed El Morabity +(melmorabity AT fedoraproject DOT org). diff --git a/Master/texmf-dist/source/lato/lato-dotlessj.etx b/Master/texmf-dist/source/lato/lato-dotlessj.etx new file mode 100644 index 00000000000..968a84ee788 --- /dev/null +++ b/Master/texmf-dist/source/lato/lato-dotlessj.etx @@ -0,0 +1,23 @@ +%% lato-dotlessj.etx +%% Copyright 2010 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) +% any later version. The latest version of this license is in +% http://www.latex-project.org/lppl.txt and version 1.3 or later is part of all +% distributions of LaTeX version 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% +% The Current Maintainer of this work is Mohamed El Morabity. +% +% This work consists of all files listed in manifest.txt. + +\relax +\encoding + +% dotlessj +\setslot{uni0237} +\endsetslot + +\endencoding diff --git a/Master/texmf-dist/source/lato/lato-drv.tex b/Master/texmf-dist/source/lato/lato-drv.tex new file mode 100644 index 00000000000..a2ddcf6edc6 --- /dev/null +++ b/Master/texmf-dist/source/lato/lato-drv.tex @@ -0,0 +1,204 @@ +%% lato-drv.tex +%% Copyright 2010 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) +% any later version. The latest version of this license is in +% http://www.latex-project.org/lppl.txt and version 1.3 or later is part of all +% distributions of LaTeX version 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% +% The Current Maintainer of this work is Mohamed El Morabity +% +% This work consists of all files listed in manifest.txt. + +\input fontinst.sty + + +\setint{smallcapsscale}{800} + +\substitutesilent{scsl}{scit} + + +\recordtransforms{lato-rec.tex} + + +\foreach(encoding){ot1,t1,ts1} + \transformfont{raw-\str{encoding}-Lato-Regular}{\reencodefont{\str{encoding}}{\fromafm{Lato-Regular}}} + \transformfont{raw-\str{encoding}-Lato-Italic}{\reencodefont{\str{encoding}}{\fromafm{Lato-Italic}}} + \transformfont{raw-\str{encoding}-Lato-Bold}{\reencodefont{\str{encoding}}{\fromafm{Lato-Bold}}} + \transformfont{raw-\str{encoding}-Lato-BoldItalic}{\reencodefont{\str{encoding}}{\fromafm{Lato-BoldItalic}}} + \transformfont{raw-\str{encoding}-Lato-Black}{\reencodefont{\str{encoding}}{\fromafm{Lato-Black}}} + \transformfont{raw-\str{encoding}-Lato-BlackItalic}{\reencodefont{\str{encoding}}{\fromafm{Lato-BlackItalic}}} + \transformfont{raw-\str{encoding}-Lato-Light}{\reencodefont{\str{encoding}}{\fromafm{Lato-Light}}} + \transformfont{raw-\str{encoding}-Lato-LightItalic}{\reencodefont{\str{encoding}}{\fromafm{Lato-LightItalic}}} + \transformfont{raw-\str{encoding}-Lato-Hairline}{\reencodefont{\str{encoding}}{\fromafm{Lato-Hairline}}} + \transformfont{raw-\str{encoding}-Lato-HairlineItalic}{\reencodefont{\str{encoding}}{\fromafm{Lato-HairlineItalic}}} +\endfor(encoding) + +\foreach(encoding){fixlatin,fixtextcomp} + \transformfont{raw-\str{encoding}-Lato-Regular}{\reencodefont{lato-\str{encoding}}{\fromafm{Lato-Regular}}} + \transformfont{raw-\str{encoding}-Lato-Italic}{\reencodefont{lato-\str{encoding}}{\fromafm{Lato-Italic}}} + \transformfont{raw-\str{encoding}-Lato-Bold}{\reencodefont{lato-\str{encoding}}{\fromafm{Lato-Bold}}} + \transformfont{raw-\str{encoding}-Lato-BoldItalic}{\reencodefont{lato-\str{encoding}}{\fromafm{Lato-BoldItalic}}} + \transformfont{raw-\str{encoding}-Lato-Black}{\reencodefont{lato-\str{encoding}}{\fromafm{Lato-Black}}} + \transformfont{raw-\str{encoding}-Lato-BlackItalic}{\reencodefont{lato-\str{encoding}}{\fromafm{Lato-BlackItalic}}} + \transformfont{raw-\str{encoding}-Lato-Light}{\reencodefont{lato-\str{encoding}}{\fromafm{Lato-Light}}} + \transformfont{raw-\str{encoding}-Lato-LightItalic}{\reencodefont{lato-\str{encoding}}{\fromafm{Lato-LightItalic}}} + \transformfont{raw-\str{encoding}-Lato-Hairline}{\reencodefont{lato-\str{encoding}}{\fromafm{Lato-Hairline}}} + \transformfont{raw-\str{encoding}-Lato-HairlineItalic}{\reencodefont{lato-\str{encoding}}{\fromafm{Lato-HairlineItalic}}} +\endfor(encoding) + +\transformfont{raw-dotlessj-Lato-Regular}{\reencodefont{lato-dotlessj}{\fromafm{Lato-Regular-LCDFJ}}} +\transformfont{raw-dotlessj-Lato-Italic}{\reencodefont{lato-dotlessj}{\fromafm{Lato-Italic-LCDFJ}}} +\transformfont{raw-dotlessj-Lato-Bold}{\reencodefont{lato-dotlessj}{\fromafm{Lato-Bold-LCDFJ}}} +\transformfont{raw-dotlessj-Lato-BoldItalic}{\reencodefont{lato-dotlessj}{\fromafm{Lato-BoldItalic-LCDFJ}}} +\transformfont{raw-dotlessj-Lato-Black}{\reencodefont{lato-dotlessj}{\fromafm{Lato-Black-LCDFJ}}} +\transformfont{raw-dotlessj-Lato-BlackItalic}{\reencodefont{lato-dotlessj}{\fromafm{Lato-BlackItalic-LCDFJ}}} +\transformfont{raw-dotlessj-Lato-Light}{\reencodefont{lato-dotlessj}{\fromafm{Lato-Light-LCDFJ}}} +\transformfont{raw-dotlessj-Lato-LightItalic}{\reencodefont{lato-dotlessj}{\fromafm{Lato-LightItalic-LCDFJ}}} +\transformfont{raw-dotlessj-Lato-Hairline}{\reencodefont{lato-dotlessj}{\fromafm{Lato-Hairline-LCDFJ}}} +\transformfont{raw-dotlessj-Lato-HairlineItalic}{\reencodefont{lato-dotlessj}{\fromafm{Lato-HairlineItalic-LCDFJ}}} + +\input lato-reglyph + + +\fontinstcc +\def\fd_family#1#2#3{ + \a_toks{#3} + \edef\lowercase_file{\lowercase{ + \edef\noexpand\lowercase_file{#1#2.fd}}} + \lowercase_file + \open_out{\lowercase_file} + \out_line{\percent_char~Filename:~\lowercase_file} + \out_line{\percent_char~Created~by:~tex~\jobname} + \out_line{\percent_char~Created~using~fontinst~v\fontinstversion} + \out_line{} + \out_line{\percent_char~THIS~FILE~SHOULD~BE~PUT~IN~A~TEX~INPUTS~ + DIRECTORY} + \out_line{} + \out_line{\string\ProvidesFile{\lowercase_file}} + \out_lline{[ + \the\year/ + \ifnum10>\month0\fi\the\month/ + \ifnum10>\day0\fi\the\day\space + Fontinst~v\fontinstversion\space + font~definitions~for~#1/#2. + ]} + \out_line{} + %%% + \out_line{\string\expandafter\string\ifx\string\csname\space lato@scale\string\endcsname\string\relax} + \out_line{\space\space\string\let\string\lato@scale\string\@empty} + \out_line{\string\fi} + \out_line{} + %%% + \out_line{\string\DeclareFontFamily{#1}{#2}{\the\a_toks}} + { + \csname #1-#2\endcsname + \out_line{} + \let\do_shape=\substitute_shape + \csname #1-#2\endcsname + \let\do_shape=\remove_shape + \csname #1-#2\endcsname + } + \x_cs\g_let{#1-#2}\x_relax + \out_line{} + \out_line{\string\endinput} + \close_out{Font~definitions} +} +\normalcc + + +\installfonts +\installfamily{OT1}{fla}{} + +\installfont{ot1-Lato-Regular}{ot1-Lato-Regular,fixlatin-Lato-Regular,dotlessj-Lato-Regular,newlatin}{ot1}{OT1}{fla}{m}{n}{<->\string\lato@scale} +\installfont{ot1-Lato-Italic}{ot1-Lato-Italic,fixlatin-Lato-Italic,dotlessj-Lato-Italic,newlatin}{ot1}{OT1}{fla}{m}{it}{<->\string\lato@scale} +\installfont{ot1-Lato-Regular-SmallCaps}{ot1-Lato-Regular,fixlatin-Lato-Regular,dotlessj-Lato-Regular,newlatin}{ot1c}{OT1}{fla}{m}{sc}{<->\string\lato@scale} +\installfont{ot1-Lato-Italic-SmallCaps}{ot1-Lato-Italic,fixlatin-Lato-Italic,dotlessj-Lato-Italic,newlatin}{ot1c}{OT1}{fla}{m}{scit}{<->\string\lato@scale} + +\installfont{ot1-Lato-Bold}{ot1-Lato-Bold,fixlatin-Lato-Bold,dotlessj-Lato-Bold,newlatin}{ot1}{OT1}{fla}{b}{n}{<->\string\lato@scale} +\installfont{ot1-Lato-BoldItalic}{ot1-Lato-BoldItalic,fixlatin-Lato-BoldItalic,dotlessj-Lato-BoldItalic,newlatin}{ot1}{OT1}{fla}{b}{it}{<->\string\lato@scale} +\installfont{ot1-Lato-Bold-SmallCaps}{ot1-Lato-Bold,fixlatin-Lato-Bold,dotlessj-Lato-Bold,newlatin}{ot1c}{OT1}{fla}{b}{sc}{<->\string\lato@scale} +\installfont{ot1-Lato-BoldItalic-SmallCaps}{ot1-Lato-BoldItalic,fixlatin-Lato-BoldItalic,dotlessj-Lato-BoldItalic,newlatin}{ot1c}{OT1}{fla}{b}{scit}{<->\string\lato@scale} + +\installfont{ot1-Lato-Black}{ot1-Lato-Black,fixlatin-Lato-Black,dotlessj-Lato-Black,newlatin}{ot1}{OT1}{fla}{eb}{n}{<->\string\lato@scale} +\installfont{ot1-Lato-BlackItalic}{ot1-Lato-BlackItalic,fixlatin-Lato-BlackItalic,dotlessj-Lato-BlackItalic,newlatin}{ot1}{OT1}{fla}{eb}{it}{<->\string\lato@scale} +\installfont{ot1-Lato-Black-SmallCaps}{ot1-Lato-Black,fixlatin-Lato-Black,dotlessj-Lato-Black,newlatin}{ot1c}{OT1}{fla}{eb}{sc}{<->\string\lato@scale} +\installfont{ot1-Lato-BlackItalic-SmallCaps}{ot1-Lato-BlackItalic,fixlatin-Lato-BlackItalic,dotlessj-Lato-BlackItalic,newlatin}{ot1c}{OT1}{fla}{eb}{scit}{<->\string\lato@scale} + +\installfont{ot1-Lato-Light}{ot1-Lato-Light,fixlatin-Lato-Light,dotlessj-Lato-Light,newlatin}{ot1}{OT1}{fla}{l}{n}{<->\string\lato@scale} +\installfont{ot1-Lato-LightItalic}{ot1-Lato-LightItalic,fixlatin-Lato-LightItalic,dotlessj-Lato-LightItalic,newlatin}{ot1}{OT1}{fla}{l}{it}{<->\string\lato@scale} +\installfont{ot1-Lato-Light-SmallCaps}{ot1-Lato-Light,fixlatin-Lato-Light,dotlessj-Lato-Light,newlatin}{ot1c}{OT1}{fla}{l}{sc}{<->\string\lato@scale} +\installfont{ot1-Lato-LightItalic-SmallCaps}{ot1-Lato-LightItalic,fixlatin-Lato-LightItalic,dotlessj-Lato-LightItalic,newlatin}{ot1c}{OT1}{fla}{l}{scit}{<->\string\lato@scale} + +\installfont{ot1-Lato-Hairline}{ot1-Lato-Hairline,fixlatin-Lato-Hairline,dotlessj-Lato-Hairline,newlatin}{ot1}{OT1}{fla}{ul}{n}{<->\string\lato@scale} +\installfont{ot1-Lato-HairlineItalic}{ot1-Lato-HairlineItalic,fixlatin-Lato-HairlineItalic,dotlessj-Lato-HairlineItalic,newlatin}{ot1}{OT1}{fla}{ul}{it}{<->\string\lato@scale} +\installfont{ot1-Lato-Hairline-SmallCaps}{ot1-Lato-Hairline,fixlatin-Lato-Hairline,dotlessj-Lato-Hairline,newlatin}{ot1c}{OT1}{fla}{ul}{sc}{<->\string\lato@scale} +\installfont{ot1-Lato-HairlineItalic-SmallCaps}{ot1-Lato-HairlineItalic,fixlatin-Lato-HairlineItalic,dotlessj-Lato-HairlineItalic,newlatin}{ot1c}{OT1}{fla}{ul}{scit}{<->\string\lato@scale} +\endinstallfonts + + +\installfonts +\installfamily{T1}{fla}{} + +\installfont{t1-Lato-Regular}{t1-Lato-Regular,fixlatin-Lato-Regular,dotlessj-Lato-Regular,newlatin}{t1}{T1}{fla}{m}{n}{<->\string\lato@scale} +\installfont{t1-Lato-Italic}{t1-Lato-Italic,fixlatin-Lato-Italic,dotlessj-Lato-Italic,newlatin}{t1}{T1}{fla}{m}{it}{<->\string\lato@scale} +\installfont{t1-Lato-Regular-SmallCaps}{t1-Lato-Regular,fixlatin-Lato-Regular,dotlessj-Lato-Regular,newlatin}{t1c}{T1}{fla}{m}{sc}{<->\string\lato@scale} +\installfont{t1-Lato-Italic-SmallCaps}{t1-Lato-Italic,fixlatin-Lato-Italic,dotlessj-Lato-Italic,newlatin}{t1c}{T1}{fla}{m}{scit}{<->\string\lato@scale} + +\installfont{t1-Lato-Bold}{t1-Lato-Bold,fixlatin-Lato-Bold,dotlessj-Lato-Bold,newlatin}{t1}{T1}{fla}{b}{n}{<->\string\lato@scale} +\installfont{t1-Lato-BoldItalic}{t1-Lato-BoldItalic,fixlatin-Lato-BoldItalic,dotlessj-Lato-BoldItalic,newlatin}{t1}{T1}{fla}{b}{it}{<->\string\lato@scale} +\installfont{t1-Lato-Bold-SmallCaps}{t1-Lato-Bold,fixlatin-Lato-Bold,dotlessj-Lato-Bold,newlatin}{t1c}{T1}{fla}{b}{sc}{<->\string\lato@scale} +\installfont{t1-Lato-BoldItalic-SmallCaps}{t1-Lato-BoldItalic,fixlatin-Lato-BoldItalic,dotlessj-Lato-BoldItalic,newlatin}{t1c}{T1}{fla}{b}{scit}{<->\string\lato@scale} + +\installfont{t1-Lato-Black}{t1-Lato-Black,fixlatin-Lato-Black,dotlessj-Lato-Black,newlatin}{t1}{T1}{fla}{eb}{n}{<->\string\lato@scale} +\installfont{t1-Lato-BlackItalic}{t1-Lato-BlackItalic,fixlatin-Lato-BlackItalic,dotlessj-Lato-BlackItalic,newlatin}{t1}{T1}{fla}{eb}{it}{<->\string\lato@scale} +\installfont{t1-Lato-Black-SmallCaps}{t1-Lato-Black,fixlatin-Lato-Black,dotlessj-Lato-Black,newlatin}{t1c}{T1}{fla}{eb}{sc}{<->\string\lato@scale} +\installfont{t1-Lato-BlackItalic-SmallCaps}{t1-Lato-BlackItalic,fixlatin-Lato-BlackItalic,dotlessj-Lato-BlackItalic,newlatin}{t1c}{T1}{fla}{eb}{scit}{<->\string\lato@scale} + +\installfont{t1-Lato-Light}{t1-Lato-Light,fixlatin-Lato-Light,dotlessj-Lato-Light,newlatin}{t1}{T1}{fla}{l}{n}{<->\string\lato@scale} +\installfont{t1-Lato-LightItalic}{t1-Lato-LightItalic,fixlatin-Lato-LightItalic,dotlessj-Lato-LightItalic,newlatin}{t1}{T1}{fla}{l}{it}{<->\string\lato@scale} +\installfont{t1-Lato-Light-SmallCaps}{t1-Lato-Light,fixlatin-Lato-Light,dotlessj-Lato-Light,newlatin}{t1c}{T1}{fla}{l}{sc}{<->\string\lato@scale} +\installfont{t1-Lato-LightItalic-SmallCaps}{t1-Lato-LightItalic,fixlatin-Lato-LightItalic,dotlessj-Lato-LightItalic,newlatin}{t1c}{T1}{fla}{l}{scit}{<->\string\lato@scale} + +\installfont{t1-Lato-Hairline}{t1-Lato-Hairline,fixlatin-Lato-Hairline,dotlessj-Lato-Hairline,newlatin}{t1}{T1}{fla}{ul}{n}{<->\string\lato@scale} +\installfont{t1-Lato-HairlineItalic}{t1-Lato-HairlineItalic,fixlatin-Lato-HairlineItalic,dotlessj-Lato-HairlineItalic,newlatin}{t1}{T1}{fla}{ul}{it}{<->\string\lato@scale} +\installfont{t1-Lato-Hairline-SmallCaps}{t1-Lato-Hairline,fixlatin-Lato-Hairline,dotlessj-Lato-Hairline,newlatin}{t1c}{T1}{fla}{ul}{sc}{<->\string\lato@scale} +\installfont{t1-Lato-HairlineItalic-SmallCaps}{t1-Lato-HairlineItalic,fixlatin-Lato-HairlineItalic,dotlessj-Lato-HairlineItalic,newlatin}{t1c}{T1}{fla}{ul}{scit}{<->\string\lato@scale} +\endinstallfonts + + +\installfonts +\installfamily{TS1}{fla}{} + +\installfont{ts1-Lato-Regular}{ts1-Lato-Regular,fixtextcomp-Lato-Regular,textcomp}{ts1}{TS1}{fla}{m}{n}{<->\string\lato@scale} +\installfont{ts1-Lato-Italic}{ts1-Lato-Italic,fixtextcomp-Lato-Italic,textcomp}{ts1}{TS1}{fla}{m}{it}{<->\string\lato@scale} +\installfontas{ts1-Lato-Regular}{TS1}{fla}{m}{sc}{<->\string\lato@scale} +\installfontas{ts1-Lato-Italic}{TS1}{fla}{m}{scit}{<->\string\lato@scale} + +\installfont{ts1-Lato-Bold}{ts1-Lato-Bold,fixtextcomp-Lato-Bold,textcomp}{ts1}{TS1}{fla}{b}{n}{<->\string\lato@scale} +\installfont{ts1-Lato-BoldItalic}{ts1-Lato-BoldItalic,fixtextcomp-Lato-BoldItalic,textcomp}{ts1}{TS1}{fla}{b}{it}{<->\string\lato@scale} +\installfontas{ts1-Lato-Bold}{TS1}{fla}{b}{sc}{<->\string\lato@scale} +\installfontas{ts1-Lato-BoldItalic}{TS1}{fla}{b}{scit}{<->\string\lato@scale} + +\installfont{ts1-Lato-Black}{ts1-Lato-Black,fixtextcomp-Lato-Black,textcomp}{ts1}{TS1}{fla}{eb}{n}{<->\string\lato@scale} +\installfont{ts1-Lato-BlackItalic}{ts1-Lato-BlackItalic,fixtextcomp-Lato-BlackItalic,textcomp}{ts1}{TS1}{fla}{eb}{it}{<->\string\lato@scale} +\installfontas{ts1-Lato-Bold}{TS1}{fla}{eb}{sc}{<->\string\lato@scale} +\installfontas{ts1-Lato-BoldItalic}{TS1}{fla}{eb}{scit}{<->\string\lato@scale} + +\installfont{ts1-Lato-Light}{ts1-Lato-Light,fixtextcomp-Lato-Light,textcomp}{ts1}{TS1}{fla}{l}{n}{<->\string\lato@scale} +\installfont{ts1-Lato-LightItalic}{ts1-Lato-LightItalic,fixtextcomp-Lato-LightItalic,textcomp}{ts1}{TS1}{fla}{l}{it}{<->\string\lato@scale} +\installfontas{ts1-Lato-Bold}{TS1}{fla}{l}{sc}{<->\string\lato@scale} +\installfontas{ts1-Lato-BoldItalic}{TS1}{fla}{l}{scit}{<->\string\lato@scale} + +\installfont{ts1-Lato-Hairline}{ts1-Lato-Hairline,fixtextcomp-Lato-Hairline,textcomp}{ts1}{TS1}{fla}{ul}{n}{<->\string\lato@scale} +\installfont{ts1-Lato-HairlineItalic}{ts1-Lato-HairlineItalic,fixtextcomp-Lato-HairlineItalic,textcomp}{ts1}{TS1}{fla}{ul}{it}{<->\string\lato@scale} +\installfontas{ts1-Lato-Bold}{TS1}{fla}{ul}{sc}{<->\string\lato@scale} +\installfontas{ts1-Lato-BoldItalic}{TS1}{fla}{ul}{scit}{<->\string\lato@scale} +\endinstallfonts + + +\endrecordtransforms +\bye diff --git a/Master/texmf-dist/source/lato/lato-fixlatin.etx b/Master/texmf-dist/source/lato/lato-fixlatin.etx new file mode 100644 index 00000000000..8e924bc6171 --- /dev/null +++ b/Master/texmf-dist/source/lato/lato-fixlatin.etx @@ -0,0 +1,31 @@ +%% lato-fixlatin.etx +%% Copyright 2010 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) +% any later version. The latest version of this license is in +% http://www.latex-project.org/lppl.txt and version 1.3 or later is part of all +% distributions of LaTeX version 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% +% The Current Maintainer of this work is Mohamed El Morabity +% +% This work consists of all files listed in manifest.txt. + +\relax +\encoding + +% ringfitted +\setslot{ring} +\endsetslot + +% rangedash +\setslot{endash} +\endsetslot + +% punctdash +\setslot{emdash} +\endsetslot + +\endencoding diff --git a/Master/texmf-dist/source/lato/lato-fixtextcomp.etx b/Master/texmf-dist/source/lato/lato-fixtextcomp.etx new file mode 100644 index 00000000000..bdebf18504f --- /dev/null +++ b/Master/texmf-dist/source/lato/lato-fixtextcomp.etx @@ -0,0 +1,145 @@ +%% canterell-fixtextcomp.etx +%% Copyright 2010 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) +% any later version. The latest version of this license is in +% http://www.latex-project.org/lppl.txt and version 1.3 or later is part of all +% distributions of LaTeX version 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% +% The Current Maintainer of this work is Mohamed El Morabity +% +% This work consists of all files listed in manifest.txt. + +\relax +\encoding + +% Needed to set vaxis variable +\setslot{parenleft} +\endsetslot + +% Needed to fake asteriskcentered +\setslot{asterisk} +\endsetslot + +% Needed to fake centigrade +\setslot{C} +\endsetslot + +% Needed to set descender variable +\setslot{g} +\endsetslot + +% Needed to fake openbracketleft +\setslot{bracketleft} +\endsetslot + +% Needed to fake openbracketright +\setslot{bracketright} +\endsetslot + +% asciigrave +% Needed to fake asciigravedbl +\setslot{grave} +\endsetslot + +% Needed to fake bardbl +\setslot{bar} +\endsetslot + +% tildelow +\setslot{asciitilde} +\endsetslot + +% asciidieresis +\setslot{dieresis} +\endsetslot + +% asciimacron +\setslot{macron} +\endsetslot + +% asciiacute +% Needed to fake asciiacutedbl +\setslot{acute} +\endsetslot + +% cedilla +\setslot{cedilla} +\endsetslot + +% asciicaron +\setslot{caron} +\endsetslot + +% asciibreve +\setslot{breve} +\endsetslot + +% ogonek +\setslot{ogonek} +\endsetslot + +% Needed to fake twelveudash and threequartersemdash +\setslot{endash} +\endsetslot + +% quotesinglebase +\setslot{quotesinglebase} +\endsetslot + +% quotedblbase +\setslot{quotedblbase} +\endsetslot + +% euro +\setslot{Euro} +\endsetslot + +% capitalgrave +\setslot{grave.case} +\endsetslot + +% capitaldieresis +\setslot{dieresis.case} +\endsetslot + +% capitalmacron +\setslot{macron.case} +\endsetslot + +% capitalacute +\setslot{acute.case} +\endsetslot + +% capitalcircumflex +\setslot{circumflex.case} +\endsetslot + +% capitalcaron +\setslot{caron.case} +\endsetslot + +% capitalbreve +\setslot{breve.case} +\endsetslot + +% capitaldotaccent +\setslot{dotaccent.case} +\endsetslot + +% capitalring +\setslot{ring.case} +\endsetslot + +% capitaltilde +\setslot{tilde.case} +\endsetslot + +% capitalhungarumlaut +\setslot{hungarumlaut.case} +\endsetslot + +\endencoding diff --git a/Master/texmf-dist/source/lato/lato-map.tex b/Master/texmf-dist/source/lato/lato-map.tex new file mode 100644 index 00000000000..bb8e6c14e80 --- /dev/null +++ b/Master/texmf-dist/source/lato/lato-map.tex @@ -0,0 +1,28 @@ +%% lato-map.etx +%% Copyright 2010 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) +% any later version. The latest version of this license is in +% http://www.latex-project.org/lppl.txt and version 1.3 or later is part of all +% distributions of LaTeX version 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% +% The Current Maintainer of this work is Mohamed El Morabity +% +% This work consists of all files listed in manifest.txt. + +\input finstmsc.sty + +\resetstr{PSfontsuffix}{.pfb} + +\foreach(encoding){ot1,t1,ts1} + \etxtoenc{\str{encoding}}{lato-\str{encoding}} +\endfor(encoding) + +\adddriver{dvips}{lato.map} +\input lato-rec.tex +\donedrivers + +\bye diff --git a/Master/texmf-dist/source/lato/lato-reglyph.tex b/Master/texmf-dist/source/lato/lato-reglyph.tex new file mode 100644 index 00000000000..4a623b8e082 --- /dev/null +++ b/Master/texmf-dist/source/lato/lato-reglyph.tex @@ -0,0 +1,112 @@ +%% lato-reglyph.tex +%% Copyright 2010 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) +% any later version. The latest version of this license is in +% http://www.latex-project.org/lppl.txt and version 1.3 or later is part of all +% distributions of LaTeX version 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% +% The Current Maintainer of this work is Mohamed El Morabity +% +% This work consists of all files listed in manifest.txt. + +\relax + + +\reglyphfonts + \reglyphfont{ot1-Lato-Regular}{raw-ot1-Lato-Regular} + \reglyphfont{ot1-Lato-Italic}{raw-ot1-Lato-Italic} + \reglyphfont{ot1-Lato-Bold}{raw-ot1-Lato-Bold} + \reglyphfont{ot1-Lato-BoldItalic}{raw-ot1-Lato-BoldItalic} + \reglyphfont{ot1-Lato-Black}{raw-ot1-Lato-Black} + \reglyphfont{ot1-Lato-BlackItalic}{raw-ot1-Lato-BlackItalic} + \reglyphfont{ot1-Lato-Light}{raw-ot1-Lato-Light} + \reglyphfont{ot1-Lato-LightItalic}{raw-ot1-Lato-LightItalic} + \reglyphfont{ot1-Lato-Hairline}{raw-ot1-Lato-Hairline} + \reglyphfont{ot1-Lato-HairlineItalic}{raw-ot1-Lato-HairlineItalic} +\endreglyphfonts + + +\reglyphfonts + \reglyphfont{t1-Lato-Regular}{raw-t1-Lato-Regular} + \reglyphfont{t1-Lato-Italic}{raw-t1-Lato-Italic} + \reglyphfont{t1-Lato-Bold}{raw-t1-Lato-Bold} + \reglyphfont{t1-Lato-BoldItalic}{raw-t1-Lato-BoldItalic} + \reglyphfont{t1-Lato-Black}{raw-t1-Lato-Black} + \reglyphfont{t1-Lato-BlackItalic}{raw-t1-Lato-BlackItalic} + \reglyphfont{t1-Lato-Light}{raw-t1-Lato-Light} + \reglyphfont{t1-Lato-LightItalic}{raw-t1-Lato-LightItalic} + \reglyphfont{t1-Lato-Hairline}{raw-t1-Lato-Hairline} + \reglyphfont{t1-Lato-HairlineItalic}{raw-t1-Lato-HairlineItalic} +\endreglyphfonts + +\reglyphfonts + \reglyphfont{fixlatin-Lato-Regular}{raw-fixlatin-Lato-Regular} + \reglyphfont{fixlatin-Lato-Italic}{raw-fixlatin-Lato-Italic} + \reglyphfont{fixlatin-Lato-Bold}{raw-fixlatin-Lato-Bold} + \reglyphfont{fixlatin-Lato-BoldItalic}{raw-fixlatin-Lato-BoldItalic} + \reglyphfont{fixlatin-Lato-Black}{raw-fixlatin-Lato-Black} + \reglyphfont{fixlatin-Lato-BlackItalic}{raw-fixlatin-Lato-BlackItalic} + \reglyphfont{fixlatin-Lato-Light}{raw-fixlatin-Lato-Light} + \reglyphfont{fixlatin-Lato-LightItalic}{raw-fixlatin-Lato-LightItalic} + \reglyphfont{fixlatin-Lato-Hairline}{raw-fixlatin-Lato-Hairline} + \reglyphfont{fixlatin-Lato-HairlineItalic}{raw-fixlatin-Lato-HairlineItalic} +\endreglyphfonts + + +\reglyphfonts + \reglyphfont{ts1-Lato-Regular}{raw-ts1-Lato-Regular} + \reglyphfont{ts1-Lato-Italic}{raw-ts1-Lato-Italic} + \reglyphfont{ts1-Lato-Bold}{raw-ts1-Lato-Bold} + \reglyphfont{ts1-Lato-BoldItalic}{raw-ts1-Lato-BoldItalic} + \reglyphfont{ts1-Lato-Black}{raw-ts1-Lato-Black} + \reglyphfont{ts1-Lato-BlackItalic}{raw-ts1-Lato-BlackItalic} + \reglyphfont{ts1-Lato-Light}{raw-ts1-Lato-Light} + \reglyphfont{ts1-Lato-LightItalic}{raw-ts1-Lato-LightItalic} + \reglyphfont{ts1-Lato-Hairline}{raw-ts1-Lato-Hairline} + \reglyphfont{ts1-Lato-HairlineItalic}{raw-ts1-Lato-HairlineItalic} +\endreglyphfonts + +\reglyphfonts + \renameglyph{capitalgrave}{grave.case} + \renameglyph{capitaldieresis}{dieresis.case} + \renameglyph{capitalmacron}{macron.case} + \renameglyph{capitalacute}{acute.case} + \renameglyph{capitalcircumflex}{circumflex.case} + \renameglyph{capitalcaron}{caron.case} + \renameglyph{capitalbreve}{breve.case} + \renameglyph{capitaldotaccent}{dotaccent.case} + \renameglyph{capitalring}{ring.case} + \renameglyph{capitaltilde}{tilde.case} + \renameglyph{capitalhungarumlaut}{hungarumlaut.case} + + \reglyphfont{fixtextcomp-Lato-Regular}{raw-fixtextcomp-Lato-Regular} + \reglyphfont{fixtextcomp-Lato-Italic}{raw-fixtextcomp-Lato-Italic} + \reglyphfont{fixtextcomp-Lato-Bold}{raw-fixtextcomp-Lato-Bold} + \reglyphfont{fixtextcomp-Lato-BoldItalic}{raw-fixtextcomp-Lato-BoldItalic} + \reglyphfont{fixtextcomp-Lato-Black}{raw-fixtextcomp-Lato-Black} + \reglyphfont{fixtextcomp-Lato-BlackItalic}{raw-fixtextcomp-Lato-BlackItalic} + \reglyphfont{fixtextcomp-Lato-Light}{raw-fixtextcomp-Lato-Light} + \reglyphfont{fixtextcomp-Lato-LightItalic}{raw-fixtextcomp-Lato-LightItalic} + \reglyphfont{fixtextcomp-Lato-Hairline}{raw-fixtextcomp-Lato-Hairline} + \reglyphfont{fixtextcomp-Lato-HairlineItalic}{raw-fixtextcomp-Lato-HairlineItalic} +\endreglyphfonts + + +\reglyphfonts + \renameglyph{dotlessj}{uni0237} + + \reglyphfont{dotlessj-Lato-Regular}{raw-dotlessj-Lato-Regular} + \reglyphfont{dotlessj-Lato-Italic}{raw-dotlessj-Lato-Italic} + \reglyphfont{dotlessj-Lato-Bold}{raw-dotlessj-Lato-Bold} + \reglyphfont{dotlessj-Lato-BoldItalic}{raw-dotlessj-Lato-BoldItalic} + \reglyphfont{dotlessj-Lato-Black}{raw-dotlessj-Lato-Black} + \reglyphfont{dotlessj-Lato-BlackItalic}{raw-dotlessj-Lato-BlackItalic} + \reglyphfont{dotlessj-Lato-Light}{raw-dotlessj-Lato-Light} + \reglyphfont{dotlessj-Lato-LightItalic}{raw-dotlessj-Lato-LightItalic} + \reglyphfont{dotlessj-Lato-Hairline}{raw-dotlessj-Lato-Hairline} + \reglyphfont{dotlessj-Lato-HairlineItalic}{raw-dotlessj-Lato-HairlineItalic} +\endreglyphfonts diff --git a/Master/texmf-dist/source/lato/lato.pdf b/Master/texmf-dist/source/lato/lato.pdf Binary files differnew file mode 100644 index 00000000000..d2a2b3ecb7c --- /dev/null +++ b/Master/texmf-dist/source/lato/lato.pdf diff --git a/Master/texmf-dist/source/lato/lato.tex b/Master/texmf-dist/source/lato/lato.tex new file mode 100644 index 00000000000..e5bc900cdaf --- /dev/null +++ b/Master/texmf-dist/source/lato/lato.tex @@ -0,0 +1,226 @@ +%% lato.tex +%% Copyright 2010 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) +% any later version. The latest version of this license is in +% http://www.latex-project.org/lppl.txt and version 1.3 or later is part of all +% distributions of LaTeX version 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% +% The Current Maintainer of this work is Mohamed El Morabity +% +% This work consists of all files listed in manifest.txt. + +\documentclass{article} + +\usepackage[american]{babel} +\usepackage{booktabs} +\usepackage[utf8x]{inputenc} +\usepackage[default]{lato} +\usepackage{microtype} +\usepackage{multirow} +\usepackage{path} +\usepackage{relsize} +\usepackage[colorlinks]{hyperref} + +\hypersetup{% + pdftitle={LaTeX support for Lato},% + pdfauthor={Mohamed El Morabity}% +}% + +\newcommand{\acronym}[1]{\textsc{\lowercase{#1}}} +\newcommand{\code}{\texttt} +\newcommand{\command}{\texttt} +\newcommand{\email}[1]{\href{mailto:#1}{\nolinkurl{#1}}} +\newcommand{\name}{} +\newcommand{\package}{\texttt} +\newcommand{\parameter}[1]{\textnormal{\textit{#1}}} +\newcommand{\program}{} + +\title{\LaTeX{} support for Lato\\\relsize{-1}Version~1.0} + +\author{Mohamed \name{El~Morabity}\\\email{melmorabity@fedoraproject.org}} + +\begin{document} + +\maketitle + +\tableofcontents + +\section{Introduction} + +Lato is a sanserif typeface family designed in the Summer 2010 by Warsaw-based +designer Łukasz \name{Dziedzic} for the tyPoland foundry. This font, which +includes five weights ({\flafamily\fontseries{ul}\selectfont hairline}, +{\flafamily\fontseries{l}\selectfont light}, +{\flafamily\fontseries{m}\selectfont regular}, +{\flafamily\fontseries{b}\selectfont bold} and +{\flafamily\fontseries{eb}\selectfont black}), is available from the Google Font +Directory~\cite{lato} as TrueType files under the \acronym{OFL} version~1.1. + +This package provides support for this font in \LaTeX{}. It includes the +original TrueType fonts, as well as Type~1 versions, converted for this package +using \program{FontForge} for full support with \program{Dvips}. + +\section{Installation} + +These directions assume that your \TeX{} distribution is +\acronym{TDS}-compliant. + +Once the \path|lato.zip| archive extracted: +\begin{enumerate} +\item Copy \path|doc/|, \path|fonts/|, \path|source/|, and \path|tex/| + directories to your \path|texmf/| directory (either your local or global + \path|texmf/| directory). +\item Run \command{mktexlsr} to refresh the file name database and make \TeX{} + aware of the new files. +\item Run \command{updmap --enable Map lato.map} to make \program{Dvips}, + \program{dvipdf} and \program{pdf\TeX} aware of the new fonts. +\end{enumerate} + +Note that this package requires the \package{keyval}~\cite{keyval} and +\package{slantsc}~\cite{slantsc} (to handle italic/slanted small caps) ones to +work. + +\section{Usage} + +\subsection{Calling Lato} + +You can use the Lato font in a \LaTeX{} document by adding the command +\begin{verbatim} +\usepackage{lato} +\end{verbatim} +to the preamble. The package supplies the \code{\char`\\flafamily} command to +switch the current font to Lato. + +\subsubsection{Options} + +\paragraph{Lato as default (sans-serif) font} + +You can set \LaTeX{} to use Lato as standard font throughout the whole document +by passing the \code{default} option to the package: +\begin{verbatim} +\usepackage[default]{lato} +\end{verbatim} +To set Lato as default sans-serif only: +\begin{verbatim} +\usepackage[defaultsans]{lato} +\end{verbatim} + +\paragraph{Default weight} + +The following options specify which weight of the font you prefer to use: +\begin{center} + \begin{tabular}{ll} + \toprule + \code{regular}&{\flafamily\fontseries{m}\selectfont use regular face}\\ + \midrule + \code{light}&{\flafamily\fontseries{l}\selectfont use light face}\\ + \bottomrule + \end{tabular} +\end{center} +The \code{medium} option is enabled by default. + +\paragraph{Default bold weight} + +The following options specify which weight of the font you prefer to use for +bold texts: +\begin{center} + \begin{tabular}{ll} + \toprule + \code{bold}&{\flafamily\fontseries{b}\selectfont use bold face}\\ + \midrule + \code{black}&{\flafamily\fontseries{eb}\selectfont use black face}\\ + \bottomrule + \end{tabular} +\end{center} +The \code{bold} option is enabled by default. + +\paragraph{Font scaling} + +The font can be up- and downscale by any factor. This can be used to make Lato +more friendly when used in company with other type faces, e.g., to adapt the +x-height. The package option \code{scale=\parameter{ratio}} will scale the font +according to \parameter{ratio} (1.0 by default), for example: +\begin{verbatim} +\usepackage[scale=0.95]{lato} +\end{verbatim} + +\subsection{Encodings} + +The following encodings are supported: +\begin{center} + OT1, T1, TS1 (partial) +\end{center} +To use one or another encoding, give the \LaTeX{} name to the \package{fontenc} +package as usual, as in +\begin{verbatim} +\usepackage[T1]{fontenc} +\usepackage{lato} +\end{verbatim} + +Note that, as usual with OT1 encoded fonts, kerning with accented characters is +treated poorly, if at all. Note difference in kerning between e.g. +\begin{center} + \begin{tabular}{ll} + \toprule + OT1-encoded&To Ta Té\\ + \midrule + T1-encoded&\fontencoding{T1}\selectfont To Ta Té\\ + \bottomrule + \end{tabular} +\end{center} +It is therefore advised to always use the Lota fonts in any encoding than OT1 +when typing diacritics. + +\subsection{Available weights and variants} + +The following table lists the available font series and shapes with their +\acronym{NFSS} classification. Parenthesized combinations are provided via +substitutions. +\begin{center} + \begin{tabular}{llll} + \toprule + family&encoding&series&shape\\ + \midrule + \multirow{3}{*}{fla}&\multirow{2}{*}{OT1, T1}&\multirow{2}{*}{m, b (bx), eb, l, ul}&n, it (sl)\\ + &&&sc, scit (scsl)\\ + \cmidrule{2-4} + &TS1&m, b (bx), eb, l, ul&n, it (sl)\\ + \bottomrule + \end{tabular} +\end{center} +Notice that the small capitals are faked ones (reduced to 80\%). + +\section{Known bugs and improvements} + +Please send bug reports and suggestions about the Lato \LaTeX{} support to +\href{mailto:melmorabity@fedoraproject.org}{Mohamed \name{El~Morabity}}. + +\subsection{Small dotless ``j''} + +The Lato font files do not provide any dotless ``j'' glyph. This \LaTeX{} +support provides a faked one ({\flafamily\j}), available by typing +\code{\char`\\j}, and built using the \command{t1dotlessj} command (from +LCDF~Typetools~\cite{lcdf}). + +\section{License} + +This package is released under the \LaTeX{} project public license, either +version~1.3c or above~\cite{lppl}. Anyway both the TrueType and Type~1 files are +delivered under the Open Font License version~1.1~\cite{ofl}. + +\begin{thebibliography}{9} +\bibitem{lato} \url{http://code.google.com/webfonts/family?family=Lato} +\bibitem{keyval} + \url{http://www.ctan.org/tex-archive/macros/latex/required/graphics/} +\bibitem{slantsc} + \url{http://www.ctan.org/tex-archive/macros/latex/contrib/slantsc/} +\bibitem{lcdf} \url{http://www.lcdf.org/type/} +\bibitem{lppl} \url{http://www.latex-project.org/lppl/lppl-1-3c.html} +\bibitem{ofl} \url{http://scripts.sil.org/OFL_web} +\end{thebibliography} + +\end{document} diff --git a/Master/texmf-dist/source/lato/ttf2type1.pe b/Master/texmf-dist/source/lato/ttf2type1.pe new file mode 100644 index 00000000000..4c71df2b326 --- /dev/null +++ b/Master/texmf-dist/source/lato/ttf2type1.pe @@ -0,0 +1,22 @@ +#!/usr/bin/env fontforge +## ttf2ype1.pe +## Copyright 2010 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) +# any later version. The latest version of this license is in +# http://www.latex-project.org/lppl.txt and version 1.3 or later is part of all +# distributions of LaTeX version 2005/12/01 or later. +# +# This work has the LPPL maintenance status `maintained'. +# +# The Current Maintainer of this work is Mohamed El Morabity +# +# This work consists of all files listed in manifest.txt. + +i=1 +while (i < $argc) + Open($argv[i]) + Generate($argv[i]:r + ".pfb") + i = i+1 +endloop |