summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-07-12 23:52:22 +0000
committerKarl Berry <karl@freefriends.org>2010-07-12 23:52:22 +0000
commit696c569fe209253982cc2918ad81fc6a3cb98152 (patch)
treed47fcd42a23f207be0e9503204d6e8321d567be3 /Master/texmf-dist/source
parentcf4826af73e7a736518ada18af58ebf98a2c546b (diff)
luaotfload 1.16 (12jul10)
git-svn-id: svn://tug.org/texlive/trunk@19406 c570f23f-e606-0410-a88d-b1316a301751
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