diff options
Diffstat (limited to 'Master/texmf-dist/doc/fonts/paratype/paratype.tex')
-rw-r--r-- | Master/texmf-dist/doc/fonts/paratype/paratype.tex | 259 |
1 files changed, 259 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/fonts/paratype/paratype.tex b/Master/texmf-dist/doc/fonts/paratype/paratype.tex new file mode 100644 index 00000000000..5f4e602f466 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/paratype/paratype.tex @@ -0,0 +1,259 @@ +%% Copyright 2011 Pavel Farar +% +% 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 Pavel Farar + + +\documentclass[oneside]{scrartcl} + +\usepackage[utf8]{inputenc} +\usepackage[czech, english]{babel} +\usepackage[IL2, T1]{fontenc} +\usepackage{paratype} + +\usepackage{booktabs} + +\usepackage{textcomp} +\usepackage[colorlinks]{hyperref} +\hypersetup{pdfauthor={Pavel Farar}} + + +\title{Support package for free fonts by ParaType} +\author{Pavel Farář\\ +\href{mailto:pavel.farar@centrum.cz}{pavel.farar@centrum.cz}} + +\begin{document} + +\selectlanguage{english}% + +\maketitle + +\tableofcontents + + +\section{Introduction} + +This package contains the LaTeX support for the fonts PT Sans and +PT Serif released by ParaType. +PT Sans has four basic styles, two narrow styles and two caption styles. +PT Serif has four basic styles and two caption styles. + +\begin{figure}[!htb] +\centering{% + \begin{tabular}{ll} + {\usefont{T1}{PTSans-TLF}{m}{n}PT Sans Regular} & + {\usefont{T1}{PTSans-TLF}{b}{n}PT Sans Bold} \\ + {\usefont{T1}{PTSans-TLF}{m}{it}PT Sans Italic} & + {\usefont{T1}{PTSans-TLF}{b}{it}PT Sans Bold Italic} \\ + {\usefont{T1}{PTSansNarrow-TLF}{m}{n}PT Sans Narrow} & + {\usefont{T1}{PTSansNarrow-TLF}{b}{n}PT Sans Narrow Bold} \\ + {\usefont{T1}{PTSansCaption-TLF}{m}{n}PT Sans Caption} & + {\usefont{T1}{PTSansCaption-TLF}{b}{n}PT Sans Caption Bold} + \end{tabular} +\caption{The styles of PT Sans}} +\end{figure} + + +\begin{figure}[!htb] +\centering{% + \begin{tabular}{ll} + {\usefont{T1}{PTSerif-TLF}{m}{n}PT Serif Regular} & + {\usefont{T1}{PTSerif-TLF}{b}{n}PT Serif Bold} \\ + {\usefont{T1}{PTSerif-TLF}{m}{it}PT Serif Italic} & + {\usefont{T1}{PTSerif-TLF}{b}{it}PT Serif Bold Italic} \\ + {\usefont{T1}{PTSerifCaption-TLF}{m}{n}PT Serif Caption} & + {\usefont{T1}{PTSerifCaption-TLF}{m}{it}PT Serif Caption Italic} + \end{tabular} +\caption{The styles of PT Serif}} +\end{figure} + +The fonts cover standard Western, Central European and Cyrillic code +pages and contain also characters of all title languages of the +Russian Federation.This package supports encodings T1, OT1, IL2, +TS1, T2A, T2B, T2C and X2. The fonts are included in the original +TrueType format and in the converted Type 1 format. + +The fonts were developed by ParaType for the project \emph{Public Types +of Russian Federation} and released under an open user license. +They were designed by Alexandra Korolkova, Olga Umpeleva and +Vladimir Yefimov. For more information see the +web-site of \href{http://www.paratype.com}{ParaType}. + + +\section{License} + +The fonts are licensed under Paratype Free Font License (the license +is included). + +The fonts in TrueType format are original files provided by ParaType. The +fonts in Type 1 format are not original files. They were converted by me +using FontForge and may be distributed for \TeX\ only. The distribution of +these converted fonts was kindly allowed by ParaType. + +All the support files are licensed under \LaTeX Project Public License, +either version 1.3 of this license or (at your option) any later version. + + +\section{Using the package} + +The package was created using \emph{fontools}, but with some changes. From +\emph{fontools} also come the mixed case names and the suffix \emph{-TLF} +(tabular lining figures) of the font families and also the mixed case +names of the packages for the individual font families. + +There are two map files for the fonts: \emph{paratype-truetype.map} and \emph{paratype-type1.map}. +You should use just one of them. The file \emph{paratype-type1.map} is a safe +choice and you will get the full power of \TeX. If you just want to create PDF +files with pdf\TeX\ or pdf\LaTeX\ you can use the file +\emph{paratype-truetype.map} and the original TrueType fonts will be used. +You install the fonts with a command like: +\begin{verbatim} +updmap-sys --enable Map=paratype-type1.map +\end{verbatim} + +There are several packages that you can use to set the fonts. You +must explicitly use the package \emph{fontenc} or \emph{textcomp} (if +needed). The easiest way to use the fonts is the package \emph{paratype}: +\begin{verbatim} +\usepackage[T1]{fontenc} +\usepackage{paratype} +\end{verbatim} + +This sets the font \emph{PTSerif-TLF} as the default serif family and +the font \emph{PTSans-TLF} as the default sans serif family. + +There are also several packages that set the individual font families. +They have the same name as the font family, but without the suffix: +\emph{PTSerif}, \emph{PTSerifCaption}, +\emph{PTSans}, \emph{PTSansNarrow} and \emph{PTSansCaption}. + +For example the package \emph{PTSerif} sets the font \emph{PTSerif-TLF} +and you use it this way: +\begin{verbatim} +\usepackage[T1]{fontenc} +\usepackage{PTSerif} +\end{verbatim} + +If you want to use this font together with another font that has somewhat +different proportions, you can use the option \emph{scaled}: +\begin{verbatim} +\usepackage[scaled=0.9]{PTSerif} +\end{verbatim} + +You can also typeset some text in a desired font like this: +\begin{verbatim} +{\usefont{T1}{PTSerifCaption-TLF}{m}{it}Text in PT Serif Caption Italic} +\end{verbatim} + +You can see the available series/shape combinations in the +table~\ref{tableShape}. There are just the combinations that really +exist in the fonts, but you can use also some other combinations and +then the substitution will be used. The bold extended series +will change to the bold series and the slanted shape will change to +the italic shape. + +\begin{table}[!htb] +\centering{% + \begin{tabular}{ll} + \toprule + font family & series/shape combinations \\ + \midrule + PTSans-TLF & m/n, m/it, b/n, b/it, c/n, bc/n \\ + PTSansNarrow-TLF & m/n, b/n \\ + PTSansCaption-TLF & m/n, b/n \\ + PTSerif-TLF & m/n, m/it, b/n, b/it \\ + PTSerifCaption-TLF & m/n, m/it \\ + \bottomrule + \end{tabular} +\caption{The series/shape combinations for the fonts}\label{tableShape}} +\end{table} + +The family PTSans-TLF has also both narrow styles. The caption styles +for both PT Sans and PT Serif are available only in separate families. +Especially the caption styles in PT Serif are more different than it is +usual from the four basic styles, therefore everyone should decide if +and where he will use them. + + +\section{Notes for the Czech and Slovak users} + +I changed the width of some letters in the encoding IL2: Lcaron +in PT Serif Bold and PT Serif Bold Italic; tcaron in PT Serif Bold; +dcaron in PT Sans Regular and PT Sans Bold and tcaron in PT Sans Bold. +In all cased I made the width equal to that of the unaccented letter. +Now all letters dcaron, tcaron, lcaron and Lcaron have the same width +as the unaccented letter in the encoding IL2. The encoding T1 was left +untouched. You can see the differences in the following samples (first +line is in T1 and second in IL2). + +\selectlanguage{czech} +V kódování IL2 jsem změnil šířku znaku Ľ ve fontech PT Serif Bold a +PT Serif Bold Italic; dále šířku znaku ť ve fontu PT Serif Bold; pak +šířku znaku ď ve fontech PT Sans Regular a PT Sans Bold a nakonec +šířku znaku ť ve fontu PT Sans Bold. Ve všech případech jsem změnil +šířku tak, že je stejná jako šířka stejného písmene bez diakritiky. +Nyní mají v kódování IL2 všechny znaky ď, ť, ľ a Ľ stejnou šířku +jako stejné znaky bez háčku. Kódování T1 bylo ponecháno beze změny. +Rozdíly je možno vidět v následujících ukázkách (první řádka je pro +kódování T1, druhá pro IL2). + +\begin{figure}[!htb] +\centering{% + {\Huge% + \begin{tabular}{llllll}% + {\usefont{T1}{PTSerif-TLF}{b}{n}Ľubomír} & + {\usefont{T1}{PTSerif-TLF}{b}{it}Ľubomír} & + {\usefont{T1}{PTSerif-TLF}{b}{n}šťovík} & + {\usefont{T1}{PTSerif-TLF}{b}{n}laťka}\\ + {\usefont{IL2}{PTSerif-TLF}{b}{n}Ľubomír} & + {\usefont{IL2}{PTSerif-TLF}{b}{it}Ľubomír} & + {\usefont{IL2}{PTSerif-TLF}{b}{n}šťovík} & + {\usefont{IL2}{PTSerif-TLF}{b}{n}laťka} + \end{tabular}} + \caption{Changes in PT Serif}} +\end{figure} + + +\begin{figure}[!htb] +\centering{% + {\Huge% + \begin{tabular}{llllll}% + {\usefont{T1}{PTSans-TLF}{m}{n}ďas} & + {\usefont{T1}{PTSans-TLF}{m}{n}loďka} & + {\usefont{T1}{PTSans-TLF}{b}{n}ďas} & + {\usefont{T1}{PTSans-TLF}{b}{n}loďka} & + {\usefont{T1}{PTSans-TLF}{b}{n}šťovík} & + {\usefont{T1}{PTSans-TLF}{b}{n}laťka}\\ + {\usefont{IL2}{PTSans-TLF}{m}{n}ďas} & + {\usefont{IL2}{PTSans-TLF}{m}{n}loďka} & + {\usefont{IL2}{PTSans-TLF}{b}{n}ďas} & + {\usefont{IL2}{PTSans-TLF}{b}{n}loďka} & + {\usefont{IL2}{PTSans-TLF}{b}{n}šťovík} & + {\usefont{IL2}{PTSans-TLF}{b}{n}laťka} + \end{tabular}} + \caption{Changes in PT Sans}} +\end{figure} + +\selectlanguage{english} + + +\section{Known bugs} + +I put the letters \emph{Cyrillic letter short I with tail} and \emph{Cyrillic +letter EM with tail} to the slots where the same letters with descender +should be. They are somewhat similar and some languages should use exactly +these letters. I think that it is better than leaving the slots empty. + +Please \href{mailto:pavel.farar@centrum.cz}{send me} bug reports and +suggestions about this package. + +\end{document} |