summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/luatex/luaotfload/luaotfload.dtx39
1 files changed, 33 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/luatex/luaotfload/luaotfload.dtx b/Master/texmf-dist/source/luatex/luaotfload/luaotfload.dtx
index eb94174f964..6c68db17c03 100644
--- a/Master/texmf-dist/source/luatex/luaotfload/luaotfload.dtx
+++ b/Master/texmf-dist/source/luatex/luaotfload/luaotfload.dtx
@@ -35,7 +35,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: luaotfload 2010/06/28 v1.15 ConTeXt font loading system}
+\Msg{* Package: luaotfload 2010/07/12 v1.16 ConTeXt font loading system}
\Msg{************************************************************************}
\keepsilent
@@ -102,7 +102,7 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{luaotfload.drv}%
- [2010/06/28 v1.15 ConTeXt font loading system]%
+ [2010/07/12 v1.16 ConTeXt font loading system]%
\documentclass{ltxdoc}
\usepackage{metalogo,multicol,mdwlist,fancyvrb}
\usepackage[colorlinks=true]{hyperref}
@@ -140,7 +140,7 @@ and the derived files
% \GetFileInfo{luaotfload.drv}
%
% \title{The \textsf{luaotfload} package}
-% \date{2010/06/28 v1.15}
+% \date{2010/07/12 v1.16}
% \author{ Elie Roux\footnote{\texttt{elie.roux@telecom-bretagne.eu}}
% \and Khaled Hosny\footnote{\texttt{khaledhosny@eglug.org}}}
%
@@ -163,7 +163,9 @@ and the derived files
% appeared, most notably the so called \emph{smart font} technologies like
% \textsf{OpenType} fonts. These fonts can contain a lot of characters, and
% additional functionalities like ligatures, old-style numbers, small capitals,
-% etc., and support more complex writing systems like Arabic and Indic scripts.
+% etc., and support more complex writing systems like Arabic and
+% Indic\footnote{Unfortunately, \textsf{luaotfload} doesn't support Indic
+% scripts right now} scripts.
% They are widely deployed and available for all modern operating systems and
% are becoming the de facto standard fonts for advanced text layout.
% Until now the only way to use them directly in the \TeX\ world was by using
@@ -436,7 +438,7 @@ module('luaotfload', package.seeall)
luaotfload.module = {
name = "luaotfload",
version = 1.15,
- date = "2010/06/28",
+ date = "2010/07/12",
description = "ConTeXt font loading system.",
author = "Elie Roux & Hans Hagen",
copyright = "Elie Roux",
@@ -447,6 +449,18 @@ luatexbase.provides_module(luaotfload.module)
% \end{macrocode}
%
+% This is a necessary initalization in order not to rebuild an existing font.
+% Maybe 600 should be replaced by |\pdfpkresolution| or |texconfig.pk_dpi|
+% (and it should be replaced dynamically), but we don't have access (yet) to
+% the |texconfig| table, so we let it be 600. Anyway, it does still work
+% fine even if |\pdfpkresolution| is changed.
+%
+% \begin{macrocode}
+
+kpse.init_prog('', 600, '/')
+
+% \end{macrocode}
+%
% Some helper functions.
%
% \begin{macrocode}
@@ -573,6 +587,19 @@ luaotfload.loadmodule('font-dum.lua')
% \end{macrocode}
%
+% This is a patch for |otfl-font-def.lua|, that defines a reader for ofm
+% fonts, this is necessary if we set the forced field of the specification
+% to |ofm|, we use it only when using \textsf{luaotfload}, not
+% |mkluatexfontdb|.
+%
+% \begin{macrocode}
+
+if fonts and fonts.tfm and fonts.tfm.readers then
+ fonts.tfm.readers.ofm = fonts.tfm.readers.tfm
+end
+
+% \end{macrocode}
+%
% \textsf{luaotfload} specific modules.
%
% \begin{macrocode}
@@ -702,7 +729,7 @@ end
\else
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{luaotfload}%
- [2010/06/28 v1.15 ConTeXt font loading system]
+ [2010/07/12 v1.16 ConTeXt font loading system]
\RequirePackage{luatextra}
\fi