summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-09-05 20:06:19 +0000
committerKarl Berry <karl@freefriends.org>2023-09-05 20:06:19 +0000
commit9d86556bb016e4ff1cf1e9f1479ccfbf895de518 (patch)
treeb2ffe47a1fcf7396c7734acac0756a67873945ed /Master/texmf-dist/tex/luatex
parent3780f30e5319e984f058bd45a0a06d57a3ce25a8 (diff)
blopentype (5sep23)
git-svn-id: svn://tug.org/texlive/trunk@68184 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex')
-rw-r--r--Master/texmf-dist/tex/luatex/blopentype/blot-fonts.lua10
-rw-r--r--Master/texmf-dist/tex/luatex/blopentype/blot.tex10
2 files changed, 16 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/luatex/blopentype/blot-fonts.lua b/Master/texmf-dist/tex/luatex/blopentype/blot-fonts.lua
index 940fc5de2dd..982c5955801 100644
--- a/Master/texmf-dist/tex/luatex/blopentype/blot-fonts.lua
+++ b/Master/texmf-dist/tex/luatex/blopentype/blot-fonts.lua
@@ -128,7 +128,7 @@ local lfs = get_locals {lfs = "dir isdir isfile mkdir", kpse = "expand_var show_
-- Returns anything after the last dot, i.e. an extension.
function lfs.extension (s)
- return str.lower(str.match(s, "%.([^%.]*)$"))
+ return str.lower(str.match(s, "%.([^%.]*)$") or "")
-- return str.match(s, "%.([^%.]*)$")
end
@@ -1224,3 +1224,11 @@ local function load_font (name, size, id, done)
end
callback.register("define_font", load_font)
+
+--[[
+History
+0.0.0 First release
+0.0.1 Bugfix
+0.0.2 Bugfix on font path search
+0.0.3 2023-09-02 Bugfix on font path search: empty file extension among font files
+--]] \ No newline at end of file
diff --git a/Master/texmf-dist/tex/luatex/blopentype/blot.tex b/Master/texmf-dist/tex/luatex/blopentype/blot.tex
index bad87626b12..09dc58dff1d 100644
--- a/Master/texmf-dist/tex/luatex/blopentype/blot.tex
+++ b/Master/texmf-dist/tex/luatex/blopentype/blot.tex
@@ -1,3 +1,4 @@
+%
% blopentype: a basic luatex open type loader
%
% some (most) pitex macros still in place.- 30.12.2022
@@ -5,7 +6,7 @@
%
% User interface
%
-\message{This is blopentype, v0.0.2 June 2023}
+\message{This is blopentype, v0.0.3 September 2023}
\input luatex85.sty % deprecated 30.12.2022
\input yax % which itself \input's texapi
@@ -212,7 +213,7 @@
\endinput
%
% These are leftovers from Isambert's code: they'll be removed as
-% documentation improved.- 30.12.2022
+% documentation improves.- 30.12.2022
%
% This is piTeX, a set of macros I (Paul Isambert) use to
% typeset documentations for my packages (that's why it is
@@ -257,4 +258,7 @@
% --- blopentype history
%
% 28-06-2023 fixed bug in blot-fonts.lua which affected nix systems.
-% thanks to david.carlisle for useful patch. \ No newline at end of file
+% thanks to david.carlisle for useful patch.
+% 02-08-2023 fixed bug in blot-fonts.lua: failure on empty file extension among font files.
+% thanks to david.carlisle for useful patch.
+%