From 8eca0e9ce0855e9227d708a64cb15684dc8cb5c5 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 1 Oct 2017 21:32:30 +0000 Subject: dejavu-otf (1oct17) git-svn-id: svn://tug.org/texlive/trunk@45445 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/fonts/dejavu-otf/Changes | 1 + Master/texmf-dist/doc/fonts/dejavu-otf/README.md | 32 +++ .../doc/fonts/dejavu-otf/dejavu-otf-doc.bib | 45 ++++ .../doc/fonts/dejavu-otf/dejavu-otf-doc.fonts | 25 ++ .../doc/fonts/dejavu-otf/dejavu-otf-doc.pdf | Bin 0 -> 334653 bytes .../doc/fonts/dejavu-otf/dejavu-otf-doc.tex | 293 +++++++++++++++++++++ 6 files changed, 396 insertions(+) create mode 100644 Master/texmf-dist/doc/fonts/dejavu-otf/Changes create mode 100644 Master/texmf-dist/doc/fonts/dejavu-otf/README.md create mode 100644 Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.bib create mode 100644 Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.fonts create mode 100644 Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.pdf create mode 100644 Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.tex (limited to 'Master/texmf-dist/doc/fonts/dejavu-otf') diff --git a/Master/texmf-dist/doc/fonts/dejavu-otf/Changes b/Master/texmf-dist/doc/fonts/dejavu-otf/Changes new file mode 100644 index 00000000000..e7abe7f0569 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/dejavu-otf/Changes @@ -0,0 +1 @@ +0.01 2017-09-29 - first CTAN version diff --git a/Master/texmf-dist/doc/fonts/dejavu-otf/README.md b/Master/texmf-dist/doc/fonts/dejavu-otf/README.md new file mode 100644 index 00000000000..decf968cb4b --- /dev/null +++ b/Master/texmf-dist/doc/fonts/dejavu-otf/README.md @@ -0,0 +1,32 @@ +# README # +Package dejavu-otf supports the free ttf-fonts from +the DejaVu project which are available from GitHub +or already part of your system (Windows/Linux/...) +and the OpenType version of the TeXGyre Math which +is part of any TeX distribution. + + +Following font files are supported: + +- DejaVuSans-BoldOblique.ttf +- DejaVuSans-Bold.ttf +- DejaVuSansCondensed-BoldOblique.ttf +- DejaVuSansCondensed-Bold.ttf +- DejaVuSansCondensed-Oblique.ttf +- DejaVuSansCondensed.ttf +- DejaVuSans-ExtraLight.ttf +- DejaVuSansMono-BoldOblique.ttf +- DejaVuSansMono-Bold.ttf +- DejaVuSansMono-Oblique.ttf +- DejaVuSansMono.ttf +- DejaVuSans-Oblique.ttf +- DejaVuSans.ttf +- DejaVuSerif-BoldItalic.ttf +- DejaVuSerif-Bold.ttf +- DejaVuSerifCondensed-BoldItalic.ttf +- DejaVuSerifCondensed-Bold.ttf +- DejaVuSerifCondensed-Italic.ttf +- DejaVuSerifCondensed.ttf +- DejaVuSerif-Italic.ttf +- DejaVuSerif.ttf +- texgyredejavu-math.otf diff --git a/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.bib b/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.bib new file mode 100644 index 00000000000..6e8af680da0 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.bib @@ -0,0 +1,45 @@ +@online{fontconfig, + author ={{\texttt{freedesktop.org}}}, + sortname = {freedesktop}, + title = {Fontconfig}, + subtitle = {A library for configuring and customizing font access}, + date = {2016-06-15}, + urldate={2017-03-18}, + url = {https://www.freedesktop.org/wiki/Software/fontconfig/} +} +@online{wikipedia, + author = {{\WikipediA}}, + sortlabel = {Wikipedia}, + sortname = {Wikipedia}, + title = {DejaVu}, + date = {2016-10-19}, + urldate = {2017-04-03}, + url = {https://en.wikipedia.org/wiki/Lucida}, +} + +@online{features, + author = {{\WikipediA}}, + sortlabel = {Wikipedia}, + sortname = {Wikipedia}, + title = {List of typographic features}, + date = {2017-02-21}, + urldate = {2017-03-24}, + url = {https://en.wikipedia.org/wiki/List_of_typographic_features}, +} + +@online{dejavu, + author ={Štěpán Roh and other}, + title = {DejaVu Fonts}, + date = {2017-09-29}, +% urldate={2017-03-18}, + url = {https://en.wikipedia.org/wiki/DejaVu_fonts} +} + +@online{dejavu-download, + author ={unknown}, + title = {DejaVu Fonts}, + Organisation = {Github}, + date = {2017-09-29}, +% urldate={2017-03-18}, + url = {https://dejavu-fonts.github.io} +} diff --git a/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.fonts b/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.fonts new file mode 100644 index 00000000000..a9f0bd16ffe --- /dev/null +++ b/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.fonts @@ -0,0 +1,25 @@ +name type encoding emb sub uni object ID +------------------------------------ ----------------- ---------------- --- --- --- --------- +VFEDSK+DejaVuSerif CID TrueType Identity-H yes yes yes 5 0 +DQRHQV+DejaVuSerif-Bold CID TrueType Identity-H yes yes yes 7 0 +OPAFNO+DejaVuSerif-Italic CID TrueType Identity-H yes yes yes 18 0 +OGJAXR+DejaVuSansMono CID TrueType Identity-H yes yes yes 20 0 +PAJDLO+DejaVuSansMono-Oblique CID TrueType Identity-H yes yes yes 22 0 +FCOGUB+DejaVuSerif-BoldItalic CID TrueType Identity-H yes yes yes 30 0 +CHPMBY+DejaVuSans CID TrueType Identity-H yes yes yes 32 0 +DFLAVU+DejaVuSans-Oblique CID TrueType Identity-H yes yes yes 34 0 +ZAJUIN+DejaVuSans-Bold CID TrueType Identity-H yes yes yes 36 0 +EPPBNU+DejaVuSans-BoldOblique CID TrueType Identity-H yes yes yes 38 0 +KKDMIV+DejaVuSansMono-Bold CID TrueType Identity-H yes yes yes 43 0 +IAQTFC+DejaVuSansMono-BoldOblique CID TrueType Identity-H yes yes yes 45 0 +XVVXGS+DejaVuSerifCondensed CID TrueType Identity-H yes yes yes 47 0 +NKLDHM+DejaVuSerifCondensed-Italic CID TrueType Identity-H yes yes yes 49 0 +PUEPHD+DejaVuSerifCondensed-Bold CID TrueType Identity-H yes yes yes 51 0 +CWTZOP+DejaVuSerifCondensed-BoldItalic CID TrueType Identity-H yes yes yes 53 0 +MTDASH+DejaVuSansCondensed CID TrueType Identity-H yes yes yes 55 0 +RSDEFO+DejaVuSansCondensed-Oblique CID TrueType Identity-H yes yes yes 60 0 +CGOHQF+DejaVuSansCondensed-Bold CID TrueType Identity-H yes yes yes 62 0 +MDCHMZ+DejaVuSansCondensed-BoldOblique CID TrueType Identity-H yes yes yes 64 0 +WUZUCH+DejaVuSans-ExtraLight CID TrueType Identity-H yes yes yes 66 0 +THVGFY+TeXGyreDejaVuMath-Regular-Identity-H CID Type 0C Identity-H yes yes yes 71 0 +QVHBPO+LinLibertineO-Identity-H CID Type 0C Identity-H yes yes yes 80 0 diff --git a/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.pdf b/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.pdf new file mode 100644 index 00000000000..778c010d894 Binary files /dev/null and b/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.pdf differ diff --git a/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.tex b/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.tex new file mode 100644 index 00000000000..4167b9b0134 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.tex @@ -0,0 +1,293 @@ +%% $Id: lucida-otf-doc.tex 556 2017-09-18 06:22:29Z herbert $ +% Copyright 2012-2015 TeX Users Group. +% +% Copying and distribution of this file, with or without modification, +% are permitted in any medium, without royalty. + +\listfiles +\documentclass[11pt]{article} +\usepackage{geometry} + +\usepackage[usefilenames=false, + TT={Scale=0.88,FakeStretch=0.9}, + SS={Scale=0.9}, + RM={Scale=0.9}, + DefaultFeatures={Ligatures=TeX}]{dejavu-otf} % support opentype math fonts + +\usepackage{biblatex} +\addbibresource{\jobname.bib} +\usepackage{array} +\usepackage{metalogo} % for \XeTeX logo +\usepackage{booktabs} % for examples +\usepackage{ltablex} % for examples +\usepackage{listings} % for code +\usepackage{dtk-logos} % for Wikipedia W + +\pagestyle{headings} + +\usepackage[colorlinks,hyperfootnotes=false]{hyperref} +% define \code for url-like breaking of typewriter fragments. +\ifx\nolinkurl\undefined \let\code\url \else \let\code\nolinkurl \fi + +% Define \cs to prepend a backslash, and be unbreakable: +\DeclareRobustCommand\cs[1]{\mbox{\texttt{\char`\\#1}}} + +% An environment like quote, but less space above and more below: +\newenvironment{demoquote} + {\tabularx{\dimexpr\linewidth+\marginparwidth}{@{} X >{\ttfamily}l @{}}} + {\endtabularx} + + +\title{Support for the DejaVu TrueType fonts and Math OpenType font} +\author{Herbert Voß} +\begin{document} +\maketitle +\tableofcontents + +\section{Introduction} + + +\textsc{Fooflamitk} + + +The DejaVu fonts are modifications of the Bitstream Vera fonts designed for greater coverage of +Unicode, as well as providing more styles. The Bitstream Vera family was limited mainly to the +characters in the Basic Latin and Latin-1 Supplement portions of Unicode, roughly equivalent to +ISO/IEC 8859-15, but was released with a license that permitted changes. The DejaVu fonts project +was started with the aim to "provide a wider range of characters ... while maintaining the original +look and feel through the process of collaborative development". The development of the fonts is +done by many contributors, and is organized through a wiki and a mailing list.~\cite{dejavu} + +A brief overview: + +\begin{itemize} +\item Math fonts: TeXGyre DejaVu Math Regular, created by the Polish \TeX\ User group GUST. + +\item Three text families (regular, italic, bold, bold italic) +coming from the original Bitstream Vera. + +\end{itemize} + +The package \texttt{dejavu-otf} supports all families with specific optional +arguments: + +\begin{tabular}{@{} >{\ttfamily}l l l @{}}\\\toprule +\emph{name} & \emph{value} &\emph{meaning}\\\midrule +mono & true/false & use only the DejaVu Sans Mono\\ +serif & true/false & use only the DejaVu Serif\\ +sans & true/false & use only the DejaVu Sans\\ +math & true/false & use only the \TeX\ Gyre DejaVu Math \\ +RM & code & options for DejaVu Serif\\ +SS & code & options for DejaVu Sans\\ +TT & code & options for DejaVu Sans Mono\\ +MM & code & options for TeXGyre DejaVu Math\\ +%MMbold & TeXGyre DejaVu Boldmath\\ +DefaultFeatures & code & for all font styles\\\bottomrule +\end{tabular} + +\bigskip +Except math all fonts are preset with \texttt{Scale=0.92}. For this documentation +we use instead: + +\begin{verbatim} +\usepackage[TT={Scale=0.88,FakeStretch=0.9}, + SS={Scale=0.9}, + RM={Scale=0.9}, + DefaultFeatures={Ligatures=TeX}]{dejavu-otf} % support opentype DejaVu fonts +\end{verbatim} + + +The standard font families \texttt{rm}, \texttt{sf}, and \texttt{tt} +can be used as usual for any \LaTeX\ engine. +By default the fonts are defined by their symbolic name. As an alternative you can load +the package with the option \texttt{usefilenames}. + +\begin{verbatim} +\usepackage[usefilenames=true, + TT={Scale=0.88,FakeStretch=0.9}, + SS={Scale=0.9}, + RM={Scale=0.9}, + DefaultFeatures={Ligatures=TeX}]{dejavu-otf} % supports also opentype math fonts +\end{verbatim} + + +Then all definitions uses the +extension \texttt{.ttf} (roman, sans serif, mono) and \texttt{.otf} (math) for the filenames of the fonts: + +\begin{verbatim} +DejaVuSans-BoldOblique.ttf +DejaVuSans-Bold.ttf +DejaVuSansCondensed-BoldOblique.ttf +DejaVuSansCondensed-Bold.ttf +DejaVuSansCondensed-Oblique.ttf +DejaVuSansCondensed.ttf +DejaVuSans-ExtraLight.ttf +DejaVuSansMono-BoldOblique.ttf +DejaVuSansMono-Bold.ttf +DejaVuSansMono-Oblique.ttf +DejaVuSansMono.ttf +DejaVuSans-Oblique.ttf +DejaVuSans.ttf +DejaVuSerif-BoldItalic.ttf +DejaVuSerif-Bold.ttf +DejaVuSerifCondensed-BoldItalic.ttf +DejaVuSerifCondensed-Bold.ttf +DejaVuSerifCondensed-Italic.ttf +DejaVuSerifCondensed.ttf +DejaVuSerif-Italic.ttf +DejaVuSerif.ttf +texgyredejavu-math.otf +\end{verbatim} + +The condensed and extra-light versions are definied by \cs{newfontfamily} and can be accessed by +the macros: + + +\begin{verbatim} +\DejaVuSerifCondensed +\DejaVuSansCondensed +\DejaVuSansLight +\end{verbatim} + + + + +\section{Text examples} + +The DejaVu fonts have no Small Caps and no oldstyle figures! + + +\newcommand\demotext{% + For \textsterling 45, almost anything can + be found floating in fields. + !`THE DAZED BROWN FOX QUICKLY GAVE 12345--67890 JUMPS! + --- ?`But aren't Kafka's Schlo\ss{} and + \AE sop's \OE uvres often na\"\i ve vis-\`a-vis the d\ae monic + ph\oe nix's official r\^ole in fluffy souffl\'es?} + +\newcommand*\demotextsc{\textsc{\ Sphinx of black quartz, judge my vow}.} + +\newcommand*\otfoldstylenums{\addfontfeatures{Numbers={OldStyle}}} +\newcommand*\demotextosf{\ \otfoldstylenums{0123456789}.} + +The basic text family is \code{DejaVuSerif}, with the usual four +variants---\allowbreak regular, italic, bold, and bold italic. %, all with +%oldstyle figures; small caps are available in the upright shapes: + +\noindent +\begin{tabularx}{\dimexpr\linewidth+\marginparwidth}{@{} >{\raggedright}X >{\ttfamily}l @{}} +\demotext\demotextsc \demotextosf & DejaVu Serif\\[4pt] +\itshape\demotext\demotextosf & DejaVu Serif Italic\\[4pt] +\bfseries\demotext\demotextsc \demotextosf & DejaVu Serif Bold\\[4pt] +\bfseries\itshape\demotext\demotextosf & DejaVu Serif BoldItalic\\[12pt] +%\end{tabularx} +~ & ~ \\ +%\noindent +%\begin{tabularx}{\dimexpr\linewidth+\marginparwidth}{@{} >{\raggedright}X >{\ttfamily}l @{}} +\sffamily\demotext & DejaVu Sans\\[4pt] +\sffamily\itshape\demotext & DejaVu Sans Italic\\[4pt] +\sffamily\bfseries\demotext & DejaVu Sans Bold \\[4pt] +\sffamily\bfseries\itshape\demotext & DejaVu Sans BoldItalic\\[12pt] +%\end{tabularx} +~ & ~ \\ + +%\noindent +%\begin{tabularx}{\dimexpr\linewidth+\marginparwidth}{@{} >{\raggedright}X >{\ttfamily}l @{}} +\ttfamily\demotext & DejaVu Sans Mono\\[4pt] +\ttfamily\itshape\demotext & DejaVu Sans Mono Italic\\[4pt] +\ttfamily\bfseries\demotext & DejaVu Sans Mono Bold\\[4pt] +\ttfamily\bfseries\itshape\demotext & DejaVu Sans Mono Bold Italic\\[12pt] +%\end{tabularx} +~ & ~ \\% + +%\noindent +%\begin{tabularx}{\dimexpr\linewidth+\marginparwidth}{@{} >{\raggedright}X >{\ttfamily}l @{}} +\DejaVuSerifCondensed\demotext & DejaVu Serif Condensed\\[4pt] +\DejaVuSerifCondensed\itshape\demotext & DejaVu Serif Condensed Italic\\[4pt] +\DejaVuSerifCondensed\bfseries\demotext & DejaVu Serif Condensed Bold\\[4pt] +\DejaVuSerifCondensed\bfseries\itshape\demotext & DejaVu Serif Condensed Bold Italic\\[12pt] +%\end{tabularx} +~ & ~ \\% + +%\noindent +%\begin{tabularx}{\dimexpr\linewidth+\marginparwidth}{@{} >{\raggedright}X >{\ttfamily}l @{}} +\DejaVuSansCondensed\demotext & DejaVu Sans Condensed\\[4pt] +\DejaVuSansCondensed\itshape\demotext & DejaVu Sans Condensed Italic\\[4pt] +\DejaVuSansCondensed\bfseries\demotext & DejaVu Sans Condensed Bold\\[4pt] +\DejaVuSansCondensed\bfseries\itshape\demotext & DejaVu Sans Condensed Bold Italic\\[12pt] +%\end{tabularx} +~ & ~ \\% + +%\noindent +%\begin{tabularx}{\dimexpr\linewidth+\marginparwidth}{@{} >{\raggedright}X >{\ttfamily}l @{}} +\DejaVuSansLight\demotext & DejaVu Sans Light\\[4pt] +%\end{tabularx} +~ & ~ \\% +\end{tabularx} + + + +\section{Math examples} + +There is only the regular version of the math font \cs{mathnormal}. With running \XeLaTeX\ +it is possible to fake the fonts for a bold version: + +\begin{verbatim} +\setmathfont{texgyredejavu-math.otf}[AutoFakeBold=1.6,\DejaVuMM@features,version=normal] +\end{verbatim} + + + + + + +\begin{verbatim} +Here's some text. And here's some math: +\[ + \phi(x)=\int_{-\infty}^{x} e^{-x^{2}/2} +\] +And now bold math: +\boldmath % works only for xelatex +\[ + \phi(x)=\int_{-\infty}^{x} e^{-x^{2}/2} +\] +\unboldmath +Euro and copyright symbols are available: \texteuro\ \textcopyright. +\end{verbatim} + +Here's some text. And here's some math: +\[ + \phi(x)=\int_{-\infty}^{x} e^{-x^{2}/2} +\] +And now bold math: + +\boldmath + +\[ + \phi(x)=\int_{-\infty}^{x} e^{-x^{2}/2} +\] +\unboldmath +Euro and copyright symbols are available: \texteuro\ \textcopyright. + + + +$f(x)=13\int$ \boldmath$f(x)=13 \int$\unboldmath +\section{Closing} + + +The font list of this documentation is: + + +\scriptsize\ttfamily +\expandafter\IfFileExists\expandafter{\jobname.fonts}% + {\lstinputlisting{\jobname.fonts}}{} + +\normalfont\rmfamily + +\nocite{*} +\printbibliography + + +\end{document} + +https://en.wikipedia.org/wiki/DejaVu_fonts \ No newline at end of file -- cgit v1.2.3