Skip to content

Commit

Permalink
fix small typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mbertucci47 authored and zauguin committed Nov 18, 2024
1 parent 453cd5e commit a6e4cc0
Show file tree
Hide file tree
Showing 21 changed files with 44 additions and 44 deletions.
12 changes: 6 additions & 6 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ luaotfload v3.25 has been skipped
precedence.
* Support xdvipsk in DVI mode
* Preserve soft-hyphens when dropping default ignorable characters
* Hash cache keys to better support certain rather unflexible operating
* Hash cache keys to better support certain rather inflexible operating
systems
* Various bug fixes

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

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

2010/05/28, luaotfload v1.08:
* fix misc. bugs with system fonts scanning
* parse fontconfig configuration directly, no longer dependant on 'fc-list'
* parse fontconfig configuration directly, no longer dependent on 'fc-list'
* now if no font names database is found, luaotfload will generate it, also
it will force an update of the database if the asked font can not be
found
Expand Down
2 changes: 1 addition & 1 deletion build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ typesetsuppfiles = {"texmf.cnf"}

maxprintline=9999

-- exclude some text temporarly or in certain systems ...
-- exclude some text temporarily or in certain systems ...
if os.env["CONTEXTPATH"] then
-- local system
-- excludetests = {"math"} -- because of adjdemerits bug
Expand Down
4 changes: 2 additions & 2 deletions buildinfo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ bash--> texlua scripts/mkimport news "" $CONTEXTPATH
cmd --> texlua scripts/mkimport import "" %CONTEXTPATH%
bash--> texlua scripts/mkimport import "" $CONTEXTPATH

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

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

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

cmd --> texlua scripts/mkcharacters %CONTEXTPATH%/tex/context/base/mkiv/
bash--> texlua scripts/mkcharacters $CONTEXTPATH/tex/context/base/mkiv/
Expand Down
16 changes: 8 additions & 8 deletions doc/luaotfload-main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
precedence.
\item Support xdvipsk in DVI mode
\item Preserve soft-hyphens when dropping default ignorable characters
\item Hash cache keys to better support certain rather unflexible operating
\item Hash cache keys to better support certain rather inflexible operating
systems
\item Various bug fixes
\end{itemize}
Expand Down Expand Up @@ -239,7 +239,7 @@
officially by the LaTeX3 Project team.
\item Code to use the harfbuzz library of luahbtex has been added. See the description of the harf mode.
\item fonts in ttc-collections can now be indexed by name.
\item To reduce the polution of the global lua enviroment a number of lua tables have been removed.
\item To reduce the pollution of the global lua environment a number of lua tables have been removed.
Only the tables \identifier{luaotfload}, \identifier{fonts} and \identifier{nodes} have been kept there.
\item The fontloader has been synched with the context files from 2019-10-29.

Expand Down Expand Up @@ -346,7 +346,7 @@
\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}.
\endaltitem

\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}.
\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}.
\endaltitem

\beginaltitem {Documentation}
Expand Down Expand Up @@ -409,7 +409,7 @@

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

Furthermore, \identifier{luaotfload} supports the slashed (shorthand)
Expand Down Expand Up @@ -1023,7 +1023,7 @@

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

Expand Down Expand Up @@ -1566,7 +1566,7 @@

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

Expand Down Expand Up @@ -2512,7 +2512,7 @@

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

\beginfunctionlist

Expand Down
6 changes: 3 additions & 3 deletions scripts/mkimport
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ local hmm = function (...)
--[[ sorta like an error but non-fatal ]]
io.stderr:write "[\x1b[1;31merror\x1b[0m] "
io.stderr:write (stringformat (...))
io.stderr:write "; continuing nontheless.\n"
io.stderr:write "; continuing nonetheless.\n"
end

local emphasis = function (txt)
Expand Down Expand Up @@ -476,7 +476,7 @@ local strip_prefix = function (fname, prefix)
if not pfxlen[prefix] then pfxlen[prefix] = #prefix end
local len = pfxlen[prefix]
if #fname <= len + 2 then
--- too short to accomodate prefix + basename
--- too short to accommodate prefix + basename
return
end
if string.sub (fname, 1, len) == prefix then
Expand Down Expand Up @@ -789,7 +789,7 @@ local search = function (target)
look_for = search_paths (target)
if look_for then goto found end

--- seach the definitions
--- search the definitions
look_for = search_defs (target)
if look_for then goto found end

Expand Down
2 changes: 1 addition & 1 deletion src/luaotfload-auxiliary.lua
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ function aux.provides_language(font_id, asked_script, asked_language)
end

--[[doc--
A function to check if a font is a variabe font with a given axis.
A function to check if a font is a variable font with a given axis.
--doc]]--

function aux.provides_axis(font_id, asked_axis)
Expand Down
2 changes: 1 addition & 1 deletion src/luaotfload-bcp47.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- Suport for parsing BCP47 based language tags into components
-- Support for parsing BCP47 based language tags into components
local normalize_case, language_tag do
local l = lpeg or require'lpeg'
local function rep(base, num, max)
Expand Down
2 changes: 1 addition & 1 deletion src/luaotfload-colors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ local function sanitize_color_expression (digits)
end

local color_stack = 0
-- Beside maybe allowing {transpareny} package compatibility at some
-- Beside maybe allowing {transparency} package compatibility at some
-- point, this ensures that the stack is only created if it is actually
-- needed. Especially important because it adds /TransGs1 gs to every page
local function transparent_stack()
Expand Down
10 changes: 5 additions & 5 deletions src/luaotfload-database.lua
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ local lpeg = require "lpeg"
local P, lpegmatch = lpeg.P, lpeg.match

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

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

--- windows and dos
if os_type == "windows" or os_type == "msdos" then
--- ms platfom specific stuff
--- ms platform specific stuff
function path_normalize (path)
path = stringgsub(path, '\\', '/')
path = stringlower(path)
Expand Down
2 changes: 1 addition & 1 deletion src/luaotfload-fallback.lua
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ local function dofallback(head, _, _, _, direction)
end

function luaotfload.add_fallback(name, fonts)
define_font = define_font or luaotfload.define_font -- Lazy loading because this file get's loaded before define_font is defined
define_font = define_font or luaotfload.define_font -- Lazy loading because this file gets loaded before define_font is defined
if fonts == nil then
fonts = name
name = #fallback_table_fontnames + 1
Expand Down
2 changes: 1 addition & 1 deletion src/luaotfload-harf-plug.lua
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ local function tonodes(head, node, run, glyphs)
-- fonts, so we don't want them to reach the backend as it will cause
-- a fatal error. We use `nullfont` instead. That is a hack, but I
-- think it is good enough for now. We could make the glyph virtual
-- with empty commands suh that LuaTeX ignores it, but we still want
-- with empty commands such that LuaTeX ignores it, but we still want
-- a missing glyph warning.
-- We insert the glyph node and move on, no further work is needed.
setfont(node, 0)
Expand Down
2 changes: 1 addition & 1 deletion src/luaotfload-harf-var-cff2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ end

local function do_blend(result, vstore)
if not vstore then
error'blend operator only allowed in Private disctionary of variable fonts'
error'blend operator only allowed in Private dictionary of variable fonts'
end
local vsindex = (result.vsindex or 0) + 1
local factors = vstore[vsindex]
Expand Down
2 changes: 1 addition & 1 deletion src/luaotfload-harf-var-ttf.lua
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ local function parse_glyf(loca, glyf, gid)
end
last = last + value
point.y = last
point.flags = flags & 0xC1 -- Discard all flags we aready used
point.flags = flags & 0xC1 -- Discard all flags we already used
end
-- assert (i == total_points)
end
Expand Down
2 changes: 1 addition & 1 deletion src/luaotfload-init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ local function verify_context_dir (pth)
end
end
logreport("both", 0, "init", "A directory name has been passed as \z
fontloader name but this directory does not acutally seem to contain \z
fontloader name but this directory does not actually seem to contain \z
a font loader. I will try to interpret your fontloader name in another \z
way for now, but please fix your settings.")
return false
Expand Down
6 changes: 3 additions & 3 deletions src/luaotfload-multiscript.lua
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ local function is_dominant_script(scripts, script, first, ...)
end

local function makecombifont(tfmdata, _, additional_scripts)
define_font = define_font or luaotfload.define_font -- Lazy loading because this file get's loaded before define_font is defined
define_font = define_font or luaotfload.define_font -- Lazy loading because this file gets loaded before define_font is defined
local has_auto
additional_scripts = tostring(additional_scripts)
if additional_scripts:sub(1, 5) == "auto+" then
Expand All @@ -230,7 +230,7 @@ local function makecombifont(tfmdata, _, additional_scripts)
for k, v in next, t do if type(k) == "string" then
local l = string.lower(k)
if lower_t[l] ~= nil and lower_t[l] ~= v then
error(string.format("Inconsistant multiscript table %q for script %s", additional_scripts, l))
error(string.format("Inconsistent multiscript table %q for script %s", additional_scripts, l))
end
lower_t[l] = v
end end
Expand Down Expand Up @@ -287,7 +287,7 @@ local function makecombifont(tfmdata, _, additional_scripts)
additional_scripts[iso_script] = spec.specification .. ';-multiscript;script=' .. script
---- FIXME: IMHO the following which just modiefies the spec
-- would be nicer, but it breaks font patching callbacks
-- (except if we ignore them, but that would be inconsistant to
-- (except if we ignore them, but that would be inconsistent to
-- other fonts)
-- local new_raw_features = {}
-- local new_features = { raw = new_raw_features, normal = new_raw_features }
Expand Down
4 changes: 2 additions & 2 deletions src/luaotfload-parsers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ local p_cheapxml = header * root

--[[doc--
fonts_conf_scanner() handles configuration files.
It is called on an abolute path to a config file (e.g.
It is called on an absolute path to a config file (e.g.
/home/luser/.config/fontconfig/fonts.conf) and returns a list
of the nodes it managed to extract from the file.
--doc]]--
Expand Down Expand Up @@ -431,7 +431,7 @@ local splitcomma = Ct((C(noncomma^1) + comma)^1)
where
<csname> is the control sequence that activates the font
<prefix> is either “file” or “name”, determining the lookup
<identifer> is either a file name (no path) or a font
<identifier> is either a file name (no path) or a font
name, depending on the lookup
<features> is a list of switches or options, separated by
semicolons or commas; a switch is of the form “+” foo
Expand Down
2 changes: 1 addition & 1 deletion src/luaotfload-resolvers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ local logreport = luaotfload.log.report
this is still short of the goal »\emphasis{it just works!}«.
When building the font database \identifier{luaotfload} scans
system font directories anyways, so we already have all the
information for looking sytem fonts.
information for looking system fonts.
With the release version 2.2 the file names are indexed in the
database as well and we are ready to resolve \verb|file:| lookups
this way.
Expand Down
2 changes: 1 addition & 1 deletion src/luaotfload-tounicode.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ assert(luaotfload_module, "This is a part of luaotfload and should not be loaded
}

local overloads = {
-- rougly based on texglyphlist-g2u.txt
-- roughly based on texglyphlist-g2u.txt

-- ff = { unicode = {0x0066, 0x0066} },
-- ffi = { unicode = {0x0066, 0x0066, 0x0069} },
Expand Down
2 changes: 1 addition & 1 deletion src/luaotfload-unicode.lua
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ uppercase[0x00DF]['de-alt'] = uppercase[0x00DF]['de-x-eszett']

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

Expand Down
4 changes: 2 additions & 2 deletions src/luaotfload.lua
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ end
\identifier{luatexbase} when this file is processed. In some cases
it is possible to trick it by putting dummies into place and
restoring the behavior from \identifier{luatexbase} after
initilization. Other cases such as attribute allocation require
initialization. Other cases such as attribute allocation require
that we hook the functionality from \identifier{luatexbase} into
locations where they normally wouldn’t be.
Expand Down Expand Up @@ -244,7 +244,7 @@ local function context_loader (name, path)
modpath = file.join (path, modname)
else
luaotfload.log.report ("both", 0, "load",
"Non-existant path %q specified, ignoring.",
"Non-existent path %q specified, ignoring.",
path)
end
end
Expand Down
2 changes: 1 addition & 1 deletion todoinfos/scriptcall.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ texlua scripts/mkimport news "" %CONTEXTPATH%
texlua scripts/mkimport import "" %CONTEXTPATH%


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

-- Merged with the call
Expand Down

0 comments on commit a6e4cc0

Please sign in to comment.