From acca6bfc8c0efcbb4e877dd97fcf945194f8ba8b Mon Sep 17 00:00:00 2001
From: Khaled Hosny <khaledhosny@eglug.org>
Date: Thu, 21 Apr 2011 06:59:53 +0200
Subject: Temporarly add this code back, I want to make a release

---
 luaotfload.dtx | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

(limited to 'luaotfload.dtx')

diff --git a/luaotfload.dtx b/luaotfload.dtx
index 586b8be..548251d 100644
--- a/luaotfload.dtx
+++ b/luaotfload.dtx
@@ -675,6 +675,32 @@ luatexbase.add_to_callback("find_vf_file",
                             fonts.vf.find,
                            "luaotfload.find_vf_file")
 %    \end{macrocode}
+% XXX: see https://github.com/wspr/unicode-math/issues/185
+%
+% \luatex does not provide interface to accessing
+% |(Script)ScriptPercentScaleDown| math constants, so we
+% emulate \xetex behaviour by setting |\fontdimen10| and
+% |\fontdimen11|.
+%
+%    \begin{macrocode}
+local function set_sscale_diments(fontdata)
+    local mc = fontdata.MathConstants
+    if mc then
+        if mc["ScriptPercentScaleDown"] then
+            fontdata.parameters[10] = mc.ScriptPercentScaleDown
+        else -- resort to plain TeX default
+            fontdata.parameters[10] = 70
+        end
+        if mc["ScriptScriptPercentScaleDown"] then
+            fontdata.parameters[11] = mc.ScriptScriptPercentScaleDown
+        else -- resort to plain TeX default
+            fontdata.parameters[11] = 50
+        end
+    end
+end
+
+luatexbase.add_to_callback("luaotfload.patch_font", set_sscale_diments, "unicodemath.set_sscale_diments")
+%    \end{macrocode}
 %
 % \iffalse
 %</lua>
-- 
cgit v1.2.3


From e45ca32f3cc648e0b6e6fdd3d45758b51e051eee Mon Sep 17 00:00:00 2001
From: Khaled Hosny <khaledhosny@eglug.org>
Date: Thu, 21 Apr 2011 07:12:52 +0200
Subject: Prepare for release

---
 luaotfload.dtx | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

(limited to 'luaotfload.dtx')

diff --git a/luaotfload.dtx b/luaotfload.dtx
index 548251d..5bb9b6a 100644
--- a/luaotfload.dtx
+++ b/luaotfload.dtx
@@ -36,7 +36,7 @@
 \input docstrip.tex
 \Msg{************************************************************************}
 \Msg{* Installation}
-\Msg{* Package: luaotfload v1.24 OpenType layout system}
+\Msg{* Package: luaotfload v1.25 OpenType layout system}
 \Msg{************************************************************************}
 
 \keepsilent
@@ -104,7 +104,7 @@ and the derived files
 %<*driver>
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{luaotfload.drv}%
-  [2011/02/16 v1.24 OpenType layout system]%
+  [2011/04/21 v1.25 OpenType layout system]%
 \documentclass{ltxdoc}
 \usepackage{metalogo,multicol,mdwlist,fancyvrb,xcolor,xspace}
 \usepackage[
@@ -166,7 +166,7 @@ and the derived files
 % \GetFileInfo{luaotfload.drv}
 %
 % \title{The \textsf{luaotfload} package}
-% \date{2011/02/16 v1.24}
+% \date{2011/04/21 v1.25}
 % \author{Elie Roux and Khaled Hosny\\
 %         Support: \email{lualatex-dev@tug.org}}
 %
@@ -452,8 +452,8 @@ module("luaotfload", package.seeall)
 
 luaotfload.module = {
     name          = "luaotfload",
-    version       = 1.24,
-    date          = "2011/02/16",
+    version       = 1.25,
+    date          = "2011/04/21",
     description   = "OpenType layout system.",
     author        = "Elie Roux & Hans Hagen",
     copyright     = "Elie Roux",
@@ -724,7 +724,7 @@ luatexbase.add_to_callback("luaotfload.patch_font", set_sscale_diments, "unicode
 \else
   \NeedsTeXFormat{LaTeX2e}
   \ProvidesPackage{luaotfload}%
-    [2011/02/16 v1.24 OpenType layout system]
+    [2011/04/21 v1.25 OpenType layout system]
   \RequirePackage{luatexbase}
 \fi
 
-- 
cgit v1.2.3


From a527fb342e80adc63d6a192bd0a492b93aa25693 Mon Sep 17 00:00:00 2001
From: Patrick Gundlach <gundlach@speedata.de>
Date: Fri, 30 Sep 2011 07:26:37 +0200
Subject: Black-/whitelist documentation update

---
 luaotfload.dtx | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

(limited to 'luaotfload.dtx')

diff --git a/luaotfload.dtx b/luaotfload.dtx
index 5bb9b6a..7e4d8ed 100644
--- a/luaotfload.dtx
+++ b/luaotfload.dtx
@@ -379,7 +379,18 @@ and the derived files
 % Simply, create a file named |otfl-blacklist.cnf| and added the to be
 % blacklisted files, one per line. Then put the file some where \textsf{kpse}
 % can find. You can either use the base name or the full path. Any thing after
-% a |%| sign is ignored.
+% a |%| sign is ignored. \textsf{luaotfload} reads all files named named
+% |otfl-blacklist.cnf|, so you can add your own fonts to the global blacklist
+% by creating a local file |otfl-blacklist.cnf| with the entries you need.
+% You can also remove a font from this blacklist by prepending the name with
+% a dash (|-|).
+%
+% \begin{verbatim}
+% % example otf-blacklist.cnf
+% /Library/Fonts/GillSans.ttc  % luaotfload ignores this font
+% -/Library/Fonts/Optima.ttc   % it is usable again, even if it
+%                              % is blacklisted somewhere else
+% \end{verbatim}
 %
 % \section{Required \context files}
 %
-- 
cgit v1.2.3


From ba68760ae19267de980f4c1856c280f6db8a379b Mon Sep 17 00:00:00 2001
From: Khaled Hosny <khaledhosny@eglug.org>
Date: Sat, 1 Oct 2011 18:21:09 +0200
Subject: Revert "Temporarly add this code back, I want to make a release"

This reverts commit acca6bfc8c0efcbb4e877dd97fcf945194f8ba8b.

Code moved to unicode-math
---
 luaotfload.dtx | 26 --------------------------
 1 file changed, 26 deletions(-)

(limited to 'luaotfload.dtx')

diff --git a/luaotfload.dtx b/luaotfload.dtx
index 7e4d8ed..648a0b3 100644
--- a/luaotfload.dtx
+++ b/luaotfload.dtx
@@ -686,32 +686,6 @@ luatexbase.add_to_callback("find_vf_file",
                             fonts.vf.find,
                            "luaotfload.find_vf_file")
 %    \end{macrocode}
-% XXX: see https://github.com/wspr/unicode-math/issues/185
-%
-% \luatex does not provide interface to accessing
-% |(Script)ScriptPercentScaleDown| math constants, so we
-% emulate \xetex behaviour by setting |\fontdimen10| and
-% |\fontdimen11|.
-%
-%    \begin{macrocode}
-local function set_sscale_diments(fontdata)
-    local mc = fontdata.MathConstants
-    if mc then
-        if mc["ScriptPercentScaleDown"] then
-            fontdata.parameters[10] = mc.ScriptPercentScaleDown
-        else -- resort to plain TeX default
-            fontdata.parameters[10] = 70
-        end
-        if mc["ScriptScriptPercentScaleDown"] then
-            fontdata.parameters[11] = mc.ScriptScriptPercentScaleDown
-        else -- resort to plain TeX default
-            fontdata.parameters[11] = 50
-        end
-    end
-end
-
-luatexbase.add_to_callback("luaotfload.patch_font", set_sscale_diments, "unicodemath.set_sscale_diments")
-%    \end{macrocode}
 %
 % \iffalse
 %</lua>
-- 
cgit v1.2.3

