On Mon, 3 Apr 2023 at 21:44, Josef Friedrich <josef@friedrich.rocks> wrote:

> diff --git a/manual/luatex-backend.tex b/manual/luatex-backend.tex
> index afbaa84d0..e53a81367 100644
> --- a/manual/luatex-backend.tex
> +++ b/manual/luatex-backend.tex
> @@ -619,12 +619,11 @@ pdfe.getstatus(<pdfe document>)
>
>   The returned codes are:
>
> -
>   \starttabulate[|c|l|]
>   \DB value       \BC explanation \NC \NR
>   \TB
>   \NC \type {-2}  \NC the document is (still) protected \NC \NR
> -\NC \type {-1}  \NC the document failed to open \NC \NR
> +\NC \type {-1}  \NC the document failed to open \NC \NR
>   \NC \type {0}   \NC the document is not encrypted \NC \NR
>   \NC \type {1}   \NC the document has been unencrypted \NC \NR
>   \LL
> @@ -943,7 +942,7 @@ pdfscanner.scan (<pdfe array>, <table>
> operatortable, <table> info)
>   pdfscanner.scan (<string>, <table> operatortable, <table> info)
>   \stopfunctioncall
>
> -The first argument should be a \LUA\ string or a stream or array onject
> coming
> +The first argument should be a \LUA\ string or a stream or array object
> coming
>   from the \type {pdfe} library. The second argument, \type
> {operatortable}, should
>   be a \LUA\ table where the keys are \PDF\ operator name strings and
> the values
>   are \LUA\ functions (defined by you) that are used to process those
> operators.
> diff --git a/manual/luatex-fontloader.tex b/manual/luatex-fontloader.tex
> index 0a830ed00..1e12b61f1 100644
> --- a/manual/luatex-fontloader.tex
> +++ b/manual/luatex-fontloader.tex
> @@ -225,7 +225,7 @@ by fontloader while applying the AFM file. On
> success, \type {nil} is returned.
>   As mentioned earlier, the return value of \type {fontloader.open} is a
> userdata
>   object. One way to have access to the actual metrics is to call \type
>   {fontloader.to_table} on this object, returning the table structure
> that is
> -explained in the following sections. In teh following sections we will not
> +explained in the following sections. In the following sections we will not
>   explain each field in detail. Most fields are self descriptive and for
> the more
>   technical aspects you need to consult the relevant font references.
>
> @@ -911,7 +911,7 @@ space|-|separated string of glyph names in this class.
>
>   \startsubsection[title={\type {math}}]
>
> -The math table has the variables that are also discussed in the chapter
> aboout
> +The math table has the variables that are also discussed in the chapter
> about
>   math: \type {ScriptPercentScaleDown}, \type
> {ScriptScriptPercentScaleDown}, \type
>   {DelimitedSubFormulaMinHeight}, \type {DisplayOperatorMinHeight}, \type
>   {MathLeading}, \type {AxisHeight}, \type {AccentBaseHeight}, \type
> @@ -971,7 +971,6 @@ The \type {scripts} subtable:
>   \LL
>   \stoptabulate
>
> -
>   The \type {lang} subtable:
>
>   \starttabulate[|l|l|p|]
> diff --git a/source/texk/web2c/luatexdir/font/writettf.c
> b/source/texk/web2c/luatexdir/font/writettf.c
> index cf034e98d..6270cbf04 100644
> --- a/source/texk/web2c/luatexdir/font/writettf.c
> +++ b/source/texk/web2c/luatexdir/font/writettf.c
> @@ -1518,7 +1518,7 @@ static void do_writeotf(PDF pdf, fd_entry * fd)
>       if (tracefilenames)
>           tex_printf("<<%s", cur_file_name);
>       ttf_read_tabdir();
> -    /*tex Read teh font parameters. */
> +    /*tex Read the font parameters. */
>       if (ttf_name_lookup("head", false) != NULL)
>           ttf_read_head();
>       if (ttf_name_lookup("hhea", false) != NULL)
> @@ -1570,4 +1570,3 @@ void writeotf(PDF pdf, fd_entry * fd)
>       xfree(ttf_buffer);
>       cur_file_name = NULL;
>   }
> -
>

Committed,
e39d44def Fixed yypos and  whitespace issue in the manual and in the C
source code (J. Friedrich).

--
luigi
_______________________________________________
dev-luatex mailing list
dev-luatex@ntg.nl
https://mailman.ntg.nl/mailman/listinfo/dev-luatex

Reply via email to