Skip to content

Commit a6e4cc0

Browse files
mbertucci47zauguin
authored andcommitted
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

0 commit comments

Comments
 (0)