Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a6e4cc0

Browse files
mbertucci47zauguin
authored andcommittedNov 18, 2024·
fix small typos
1 parent 453cd5e commit a6e4cc0

21 files changed

+44
-44
lines changed
 

‎NEWS

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ luaotfload v3.25 has been skipped
2424
precedence.
2525
* Support xdvipsk in DVI mode
2626
* Preserve soft-hyphens when dropping default ignorable characters
27-
* Hash cache keys to better support certain rather unflexible operating
27+
* Hash cache keys to better support certain rather inflexible operating
2828
systems
2929
* Various bug fixes
3030

@@ -159,7 +159,7 @@ luaotfload v3.25 has been skipped
159159
2019-11-04 luaotfload v3.1
160160
* added code to use the harfbuzz library of luahbtex ("mode=harf")
161161
* fonts in ttc can now be indexed by name
162-
* remove a number of lua tables from the global enviroment (_G) to reduce the polution.
162+
* remove a number of lua tables from the global environment (_G) to reduce the pollution.
163163
Kept there are only the tables luaotfload, fonts and nodes.
164164
* sync with context files from 2019-10-29
165165

@@ -253,7 +253,7 @@ luaotfload v3.25 has been skipped
253253
* Add ``--dumpconf`` option to luaotfload-tool for generating configuration
254254
files.
255255
* Move fontloader files to subtree src/fontloader.
256-
* New script ``mkimport`` facilitates maintainance of code imported from
256+
* New script ``mkimport`` facilitates maintenance of code imported from
257257
Context.
258258
* Revised letterspacing, now utilizing the ``node.direct`` interface.
259259
* Revized colorization of fonts, utilizing ``node.direct`` (Dohyun Kim).
@@ -333,7 +333,7 @@ luaotfload v3.25 has been skipped
333333
backward-incompatible changes in the font structure. A
334334
backward-compatibility layer has been added for the current
335335
versions of fontspec, unicode-math and microtype, but it should
336-
disapear in a future version.
336+
disappear in a future version.
337337
* Synchronisation with ConTeXt is now easier and can be done by just
338338
updating luaotfload-merged.lua (<= luatex-fonts-merged.lua from
339339
the LuaTeX-Plain format)
@@ -372,7 +372,7 @@ luaotfload v3.25 has been skipped
372372
2013/04/11, luaotfload v1.28:
373373
* Adapting to LuaTeX 0.75
374374
* Fix small documentation issues in mkluatexfontdb
375-
* Fix possible infite loop with fontconfig config files references
375+
* Fix possible infinite loop with fontconfig config files references
376376
* Adding semibold synonym for bold
377377
* file:xxx syntax now uses the same search function as name: which
378378
make more fonts recognized
@@ -475,7 +475,7 @@ luaotfload v3.25 has been skipped
475475

476476
2010/05/28, luaotfload v1.08:
477477
* fix misc. bugs with system fonts scanning
478-
* parse fontconfig configuration directly, no longer dependant on 'fc-list'
478+
* parse fontconfig configuration directly, no longer dependent on 'fc-list'
479479
* now if no font names database is found, luaotfload will generate it, also
480480
it will force an update of the database if the asked font can not be
481481
found

‎build.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ typesetsuppfiles = {"texmf.cnf"}
102102

103103
maxprintline=9999
104104

105-
-- exclude some text temporarly or in certain systems ...
105+
-- exclude some text temporarily or in certain systems ...
106106
if os.env["CONTEXTPATH"] then
107107
-- local system
108108
-- excludetests = {"math"} -- because of adjdemerits bug

‎buildinfo.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ bash--> texlua scripts/mkimport news "" $CONTEXTPATH
1717
cmd --> texlua scripts/mkimport import "" %CONTEXTPATH%
1818
bash--> texlua scripts/mkimport import "" $CONTEXTPATH
1919

20-
This also imports the merged orginal file and saves it as
20+
This also imports the merged original file and saves it as
2121
fontloader-reference.lua in src/fontloader/runtime
2222

2323
!! Check if luatex-fonts.lua has changed (indicates new files ...)
@@ -30,7 +30,7 @@ requirements char-def.lua and char-ini.lua
3030
the file is created in src/auto by default!
3131

3232
25.12.2018: in the new code luaotfload-character.lua is no longer used.
33-
Perhaps it will be dropped completly.
33+
Perhaps it will be dropped completely.
3434

3535
cmd --> texlua scripts/mkcharacters %CONTEXTPATH%/tex/context/base/mkiv/
3636
bash--> texlua scripts/mkcharacters $CONTEXTPATH/tex/context/base/mkiv/

‎doc/luaotfload-main.tex

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
precedence.
7575
\item Support xdvipsk in DVI mode
7676
\item Preserve soft-hyphens when dropping default ignorable characters
77-
\item Hash cache keys to better support certain rather unflexible operating
77+
\item Hash cache keys to better support certain rather inflexible operating
7878
systems
7979
\item Various bug fixes
8080
\end{itemize}
@@ -239,7 +239,7 @@
239239
officially by the LaTeX3 Project team.
240240
\item Code to use the harfbuzz library of luahbtex has been added. See the description of the harf mode.
241241
\item fonts in ttc-collections can now be indexed by name.
242-
\item To reduce the polution of the global lua enviroment a number of lua tables have been removed.
242+
\item To reduce the pollution of the global lua environment a number of lua tables have been removed.
243243
Only the tables \identifier{luaotfload}, \identifier{fonts} and \identifier{nodes} have been kept there.
244244
\item The fontloader has been synched with the context files from 2019-10-29.
245245

@@ -346,7 +346,7 @@
346346
\beginaltitem {Lualibs} The update of the fontloader files also required an update of the \identifier{Lualibs} package. This \identifier{Luaotfload} version needs version 2.6 of \identifier{Lualibs}.
347347
\endaltitem
348348

349-
\beginaltitem {Maintenance} As the current maintainer wasn't available and it was urgent to get a \identifier{Luaotfload} compatible with \LuaTeX\ 1.08/1.09 maintenance has been transfered to Ulrike Fischer and Marcel Krüger. The package was maintained and developed at \hyperlink{https://github.com/u-fischer/luaotfload}.
349+
\beginaltitem {Maintenance} As the current maintainer wasn't available and it was urgent to get a \identifier{Luaotfload} compatible with \LuaTeX\ 1.08/1.09 maintenance has been transferred to Ulrike Fischer and Marcel Krüger. The package was maintained and developed at \hyperlink{https://github.com/u-fischer/luaotfload}.
350350
\endaltitem
351351

352352
\beginaltitem {Documentation}
@@ -409,7 +409,7 @@
409409

410410
\identifier{Luaotfload} is part of \hologo{LuaLaTeX}, the community-driven
411411
project to provide a foundation for using the \LaTeX\ format with the
412-
full capabilites of the \LuaTeX\ engine.
412+
full capabilities of the \LuaTeX\ engine.
413413
%
414414
As such, the distinction between end users, contributors, and project
415415
maintainers is intentionally kept less strict, lest we unduly
@@ -696,7 +696,7 @@
696696
Lastly, if none of the above succeeded, attempt to resolve the request as a
697697
\inlinecode {name:} lookup by searching the font index for \meta{font name}.
698698
%
699-
The behavior of this “anonymous” lookup is configurable, see the configuation
699+
The behavior of this “anonymous” lookup is configurable, see the configuration
700700
manpage for details.
701701

702702
Furthermore, \identifier{luaotfload} supports the slashed (shorthand)
@@ -1023,7 +1023,7 @@
10231023

10241024
The keys in such a table are like above RGB colors with an optional transparency setting.
10251025
The values are either lists of glyph names or GID numbers.
1026-
Both types are font dependant! Not every font use the same
1026+
Both types are font dependent! Not every font use the same
10271027
glyph names (or even glyph names at all). GID number are font specific anyway. The GID can be found
10281028
by looking up the \verb+["index"]+ entry in the lua file of a font.
10291029

@@ -1566,7 +1566,7 @@
15661566

15671567
For example, the \identifier{Latin Modern} family of fonts does, as indicated
15681568
in the name, not provide Cyrillic glyphs. If Latin script dominates in the copy
1569-
with interspersed Cyrillic, a fallback can be created from a similiar looking
1569+
with interspersed Cyrillic, a fallback can be created from a similar looking
15701570
font like \identifier{Computer Modern Unicode}, taking advantage of the fact
15711571
that it too derives from Knuth’s original \identifier{Computer Modern} series:
15721572

@@ -2512,7 +2512,7 @@
25122512

25132513
When these functions aren't used, then the color is set based on colorstack 0.
25142514
By default a new colorstack is allocated for transparency, but alternatively an
2515-
existsing colorstack for this prpose can be set:
2515+
existing colorstack for this purpose can be set:
25162516

25172517
\beginfunctionlist
25182518

‎scripts/mkimport

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ local hmm = function (...)
119119
--[[ sorta like an error but non-fatal ]]
120120
io.stderr:write "[\x1b[1;31merror\x1b[0m] "
121121
io.stderr:write (stringformat (...))
122-
io.stderr:write "; continuing nontheless.\n"
122+
io.stderr:write "; continuing nonetheless.\n"
123123
end
124124

125125
local emphasis = function (txt)
@@ -476,7 +476,7 @@ local strip_prefix = function (fname, prefix)
476476
if not pfxlen[prefix] then pfxlen[prefix] = #prefix end
477477
local len = pfxlen[prefix]
478478
if #fname <= len + 2 then
479-
--- too short to accomodate prefix + basename
479+
--- too short to accommodate prefix + basename
480480
return
481481
end
482482
if string.sub (fname, 1, len) == prefix then
@@ -789,7 +789,7 @@ local search = function (target)
789789
look_for = search_paths (target)
790790
if look_for then goto found end
791791

792-
--- seach the definitions
792+
--- search the definitions
793793
look_for = search_defs (target)
794794
if look_for then goto found end
795795

‎src/luaotfload-auxiliary.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ function aux.provides_language(font_id, asked_script, asked_language)
586586
end
587587

588588
--[[doc--
589-
A function to check if a font is a variabe font with a given axis.
589+
A function to check if a font is a variable font with a given axis.
590590
--doc]]--
591591

592592
function aux.provides_axis(font_id, asked_axis)

‎src/luaotfload-bcp47.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- Suport for parsing BCP47 based language tags into components
1+
-- Support for parsing BCP47 based language tags into components
22
local normalize_case, language_tag do
33
local l = lpeg or require'lpeg'
44
local function rep(base, num, max)

‎src/luaotfload-colors.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ local function sanitize_color_expression (digits)
155155
end
156156

157157
local color_stack = 0
158-
-- Beside maybe allowing {transpareny} package compatibility at some
158+
-- Beside maybe allowing {transparency} package compatibility at some
159159
-- point, this ensures that the stack is only created if it is actually
160160
-- needed. Especially important because it adds /TransGs1 gs to every page
161161
local function transparent_stack()

‎src/luaotfload-database.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ local lpeg = require "lpeg"
122122
local P, lpegmatch = lpeg.P, lpeg.match
123123

124124
local log = luaotfload.log
125-
local logreport = log and log.report or print -- overriden later on
125+
local logreport = log and log.report or print -- overridden later on
126126
local report_status = log.names_status
127127
local report_status_start = log.names_status_start
128128
local report_status_stop = log.names_status_stop
@@ -786,7 +786,7 @@ end
786786
787787
get_font_file -- Look up the file of an entry in the mappings
788788
table. If the index is valid, pass on the name and subfont index
789-
after verifing the existence of the resolved file. This
789+
after verifying the existence of the resolved file. This
790790
verification differs depending the index entry’s ``location``
791791
field:
792792
@@ -821,7 +821,7 @@ end
821821
--[[doc--
822822
We need to verify if the result of a cached lookup actually exists in
823823
the texmf or filesystem. Again, due to the schizoprenic nature of the
824-
font managment we have to check both the system path and the texmf.
824+
font management we have to check both the system path and the texmf.
825825
--doc]]--
826826

827827
local function verify_font_file (basename)
@@ -1395,7 +1395,7 @@ local function find_closest (name, limit)
13951395
for n = 1, n_fonts do
13961396
local current = mappings[n]
13971397
--[[
1398-
This is simplistic but surpisingly fast.
1398+
This is simplistic but surprisingly fast.
13991399
Matching is performed against the “fullname” field
14001400
of a db record in preprocessed form. We then store the
14011401
raw “fullname” at its edit distance.
@@ -1979,7 +1979,7 @@ do
19791979

19801980
--- windows and dos
19811981
if os_type == "windows" or os_type == "msdos" then
1982-
--- ms platfom specific stuff
1982+
--- ms platform specific stuff
19831983
function path_normalize (path)
19841984
path = stringgsub(path, '\\', '/')
19851985
path = stringlower(path)

‎src/luaotfload-fallback.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ local function dofallback(head, _, _, _, direction)
103103
end
104104

105105
function luaotfload.add_fallback(name, fonts)
106-
define_font = define_font or luaotfload.define_font -- Lazy loading because this file get's loaded before define_font is defined
106+
define_font = define_font or luaotfload.define_font -- Lazy loading because this file gets loaded before define_font is defined
107107
if fonts == nil then
108108
fonts = name
109109
name = #fallback_table_fontnames + 1

‎src/luaotfload-harf-plug.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ local function tonodes(head, node, run, glyphs)
912912
-- fonts, so we don't want them to reach the backend as it will cause
913913
-- a fatal error. We use `nullfont` instead. That is a hack, but I
914914
-- think it is good enough for now. We could make the glyph virtual
915-
-- with empty commands suh that LuaTeX ignores it, but we still want
915+
-- with empty commands such that LuaTeX ignores it, but we still want
916916
-- a missing glyph warning.
917917
-- We insert the glyph node and move on, no further work is needed.
918918
setfont(node, 0)

‎src/luaotfload-harf-var-cff2.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ end
8585

8686
local function do_blend(result, vstore)
8787
if not vstore then
88-
error'blend operator only allowed in Private disctionary of variable fonts'
88+
error'blend operator only allowed in Private dictionary of variable fonts'
8989
end
9090
local vsindex = (result.vsindex or 0) + 1
9191
local factors = vstore[vsindex]

‎src/luaotfload-harf-var-ttf.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ local function parse_glyf(loca, glyf, gid)
238238
end
239239
last = last + value
240240
point.y = last
241-
point.flags = flags & 0xC1 -- Discard all flags we aready used
241+
point.flags = flags & 0xC1 -- Discard all flags we already used
242242
end
243243
-- assert (i == total_points)
244244
end

‎src/luaotfload-init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ local function verify_context_dir (pth)
206206
end
207207
end
208208
logreport("both", 0, "init", "A directory name has been passed as \z
209-
fontloader name but this directory does not acutally seem to contain \z
209+
fontloader name but this directory does not actually seem to contain \z
210210
a font loader. I will try to interpret your fontloader name in another \z
211211
way for now, but please fix your settings.")
212212
return false

‎src/luaotfload-multiscript.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ local function is_dominant_script(scripts, script, first, ...)
214214
end
215215

216216
local function makecombifont(tfmdata, _, additional_scripts)
217-
define_font = define_font or luaotfload.define_font -- Lazy loading because this file get's loaded before define_font is defined
217+
define_font = define_font or luaotfload.define_font -- Lazy loading because this file gets loaded before define_font is defined
218218
local has_auto
219219
additional_scripts = tostring(additional_scripts)
220220
if additional_scripts:sub(1, 5) == "auto+" then
@@ -230,7 +230,7 @@ local function makecombifont(tfmdata, _, additional_scripts)
230230
for k, v in next, t do if type(k) == "string" then
231231
local l = string.lower(k)
232232
if lower_t[l] ~= nil and lower_t[l] ~= v then
233-
error(string.format("Inconsistant multiscript table %q for script %s", additional_scripts, l))
233+
error(string.format("Inconsistent multiscript table %q for script %s", additional_scripts, l))
234234
end
235235
lower_t[l] = v
236236
end end
@@ -287,7 +287,7 @@ local function makecombifont(tfmdata, _, additional_scripts)
287287
additional_scripts[iso_script] = spec.specification .. ';-multiscript;script=' .. script
288288
---- FIXME: IMHO the following which just modiefies the spec
289289
-- would be nicer, but it breaks font patching callbacks
290-
-- (except if we ignore them, but that would be inconsistant to
290+
-- (except if we ignore them, but that would be inconsistent to
291291
-- other fonts)
292292
-- local new_raw_features = {}
293293
-- local new_features = { raw = new_raw_features, normal = new_raw_features }

‎src/luaotfload-parsers.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ local p_cheapxml = header * root
182182

183183
--[[doc--
184184
fonts_conf_scanner() handles configuration files.
185-
It is called on an abolute path to a config file (e.g.
185+
It is called on an absolute path to a config file (e.g.
186186
/home/luser/.config/fontconfig/fonts.conf) and returns a list
187187
of the nodes it managed to extract from the file.
188188
--doc]]--
@@ -431,7 +431,7 @@ local splitcomma = Ct((C(noncomma^1) + comma)^1)
431431
where
432432
<csname> is the control sequence that activates the font
433433
<prefix> is either “file” or “name”, determining the lookup
434-
<identifer> is either a file name (no path) or a font
434+
<identifier> is either a file name (no path) or a font
435435
name, depending on the lookup
436436
<features> is a list of switches or options, separated by
437437
semicolons or commas; a switch is of the form “+” foo

‎src/luaotfload-resolvers.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ local logreport = luaotfload.log.report
5757
this is still short of the goal »\emphasis{it just works!}«.
5858
When building the font database \identifier{luaotfload} scans
5959
system font directories anyways, so we already have all the
60-
information for looking sytem fonts.
60+
information for looking system fonts.
6161
With the release version 2.2 the file names are indexed in the
6262
database as well and we are ready to resolve \verb|file:| lookups
6363
this way.

‎src/luaotfload-tounicode.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ assert(luaotfload_module, "This is a part of luaotfload and should not be loaded
1414
}
1515

1616
local overloads = {
17-
-- rougly based on texglyphlist-g2u.txt
17+
-- roughly based on texglyphlist-g2u.txt
1818

1919
-- ff = { unicode = {0x0066, 0x0066} },
2020
-- ffi = { unicode = {0x0066, 0x0066, 0x0069} },

‎src/luaotfload-unicode.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ uppercase[0x00DF]['de-alt'] = uppercase[0x00DF]['de-x-eszett']
239239

240240
-- Special handling for Eastern Armenian based on Unicode document L2/20-143.
241241
uppercase[0x0587]['hy'] = { _ = { 0x0535, 0x054E } }
242-
-- Resore Unicode behavior. This entry is redundant, but we have to be aware of it
242+
-- Restore Unicode behavior. This entry is redundant, but we have to be aware of it
243243
-- if we later start to ignore unknown private use tags
244244
uppercase[0x0587]['hy-x-yiwn'] = { _ = uppercase[0x0587]._ }
245245

‎src/luaotfload.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ end
118118
\identifier{luatexbase} when this file is processed. In some cases
119119
it is possible to trick it by putting dummies into place and
120120
restoring the behavior from \identifier{luatexbase} after
121-
initilization. Other cases such as attribute allocation require
121+
initialization. Other cases such as attribute allocation require
122122
that we hook the functionality from \identifier{luatexbase} into
123123
locations where they normally wouldn’t be.
124124
@@ -244,7 +244,7 @@ local function context_loader (name, path)
244244
modpath = file.join (path, modname)
245245
else
246246
luaotfload.log.report ("both", 0, "load",
247-
"Non-existant path %q specified, ignoring.",
247+
"Non-existent path %q specified, ignoring.",
248248
path)
249249
end
250250
end

‎todoinfos/scriptcall.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ texlua scripts/mkimport news "" %CONTEXTPATH%
3030
texlua scripts/mkimport import "" %CONTEXTPATH%
3131

3232

33-
-- This also imports the merged orginal file and saves it as
33+
-- This also imports the merged original file and saves it as
3434
-- fontloader-reference.lua in src/fontloader/runtime
3535

3636
-- Merged with the call

0 commit comments

Comments
 (0)
Please sign in to comment.