Skip to content
Snippets Groups Projects
Commit e39d44de authored by Luigi Scarso's avatar Luigi Scarso
Browse files

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

parent 8c474d86
No related branches found
No related tags found
No related merge requests found
...@@ -619,12 +619,11 @@ pdfe.getstatus(<pdfe document>) ...@@ -619,12 +619,11 @@ pdfe.getstatus(<pdfe document>)
The returned codes are: The returned codes are:
\starttabulate[|c|l|] \starttabulate[|c|l|]
\DB value \BC explanation \NC \NR \DB value \BC explanation \NC \NR
\TB \TB
\NC \type {-2} \NC the document is (still) protected \NC \NR \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 {0} \NC the document is not encrypted \NC \NR
\NC \type {1} \NC the document has been unencrypted \NC \NR \NC \type {1} \NC the document has been unencrypted \NC \NR
\LL \LL
...@@ -943,7 +942,7 @@ pdfscanner.scan (<pdfe array>, <table> operatortable, <table> info) ...@@ -943,7 +942,7 @@ pdfscanner.scan (<pdfe array>, <table> operatortable, <table> info)
pdfscanner.scan (<string>, <table> operatortable, <table> info) pdfscanner.scan (<string>, <table> operatortable, <table> info)
\stopfunctioncall \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 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 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. are \LUA\ functions (defined by you) that are used to process those operators.
......
...@@ -225,7 +225,7 @@ by fontloader while applying the AFM file. On success, \type {nil} is returned. ...@@ -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 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 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 {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 explain each field in detail. Most fields are self descriptive and for the more
technical aspects you need to consult the relevant font references. technical aspects you need to consult the relevant font references.
...@@ -911,7 +911,7 @@ space|-|separated string of glyph names in this class. ...@@ -911,7 +911,7 @@ space|-|separated string of glyph names in this class.
\startsubsection[title={\type {math}}] \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 math: \type {ScriptPercentScaleDown}, \type {ScriptScriptPercentScaleDown}, \type
{DelimitedSubFormulaMinHeight}, \type {DisplayOperatorMinHeight}, \type {DelimitedSubFormulaMinHeight}, \type {DisplayOperatorMinHeight}, \type
{MathLeading}, \type {AxisHeight}, \type {AccentBaseHeight}, \type {MathLeading}, \type {AxisHeight}, \type {AccentBaseHeight}, \type
...@@ -971,7 +971,6 @@ The \type {scripts} subtable: ...@@ -971,7 +971,6 @@ The \type {scripts} subtable:
\LL \LL
\stoptabulate \stoptabulate
The \type {lang} subtable: The \type {lang} subtable:
\starttabulate[|l|l|p|] \starttabulate[|l|l|p|]
......
No preview for this file type
...@@ -1518,7 +1518,7 @@ static void do_writeotf(PDF pdf, fd_entry * fd) ...@@ -1518,7 +1518,7 @@ static void do_writeotf(PDF pdf, fd_entry * fd)
if (tracefilenames) if (tracefilenames)
tex_printf("<<%s", cur_file_name); tex_printf("<<%s", cur_file_name);
ttf_read_tabdir(); ttf_read_tabdir();
/*tex Read teh font parameters. */ /*tex Read the font parameters. */
if (ttf_name_lookup("head", false) != NULL) if (ttf_name_lookup("head", false) != NULL)
ttf_read_head(); ttf_read_head();
if (ttf_name_lookup("hhea", false) != NULL) if (ttf_name_lookup("hhea", false) != NULL)
...@@ -1570,4 +1570,3 @@ void writeotf(PDF pdf, fd_entry * fd) ...@@ -1570,4 +1570,3 @@ void writeotf(PDF pdf, fd_entry * fd)
xfree(ttf_buffer); xfree(ttf_buffer);
cur_file_name = NULL; cur_file_name = NULL;
} }
#ifndef luatex_svn_revision_h #ifndef luatex_svn_revision_h
#define luatex_svn_revision_h #define luatex_svn_revision_h
#define luatex_svn_revision 7571 #define luatex_svn_revision 7572
#endif #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment