From 9d86556bb016e4ff1cf1e9f1479ccfbf895de518 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 5 Sep 2023 20:06:19 +0000 Subject: blopentype (5sep23) git-svn-id: svn://tug.org/texlive/trunk@68184 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/luatex/blopentype/LICENSE | 2 +- Master/texmf-dist/doc/luatex/blopentype/README.md | 4 ++-- Master/texmf-dist/tex/luatex/blopentype/blot-fonts.lua | 10 +++++++++- Master/texmf-dist/tex/luatex/blopentype/blot.tex | 10 +++++++--- 4 files changed, 19 insertions(+), 7 deletions(-) diff --git a/Master/texmf-dist/doc/luatex/blopentype/LICENSE b/Master/texmf-dist/doc/luatex/blopentype/LICENSE index bfed4c5d960..7fddaeaef81 100644 --- a/Master/texmf-dist/doc/luatex/blopentype/LICENSE +++ b/Master/texmf-dist/doc/luatex/blopentype/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 Luis Rivera +Copyright (c) 2022-2023 Paul Isambert, Luis Rivera Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Master/texmf-dist/doc/luatex/blopentype/README.md b/Master/texmf-dist/doc/luatex/blopentype/README.md index c93988bad15..c1d7382d087 100644 --- a/Master/texmf-dist/doc/luatex/blopentype/README.md +++ b/Master/texmf-dist/doc/luatex/blopentype/README.md @@ -31,8 +31,8 @@ Good luck, and happy LuaTeXing # Authors -Version 0.0.2 (C) 2023 Paul Isambert (author) and Luis Rivera (maintainer). +Version 0.0.3 (C) 2022-2023 Paul Isambert (author) and Luis Rivera (maintainer). LaTeX Project Public License, LPPL Version 1.3c 2008-05-04 or MIT License -June 29, 2023 +September 3, 2023. 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. +% -- cgit v1.2.3