Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
luatex
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeXLive
luatex
Commits
84330213
Commit
84330213
authored
7 years ago
by
Luigi Scarso
Browse files
Options
Downloads
Patches
Plain Diff
more granularity in \tracingfonts (HH)
[[Split portion of a mixed commit.]]
parent
1dd06603
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
manual/luatex-enhancements.tex
+14
-0
14 additions, 0 deletions
manual/luatex-enhancements.tex
manual/luatex.pdf
+0
-0
0 additions, 0 deletions
manual/luatex.pdf
source/texk/web2c/luatexdir/tex/printing.w
+54
-13
54 additions, 13 deletions
source/texk/web2c/luatexdir/tex/printing.w
with
68 additions
and
13 deletions
manual/luatex-enhancements.tex
+
14
−
0
View file @
84330213
...
...
@@ -891,6 +891,20 @@ ignores the value.
This allows for embedded spaces, without the need for double quotes. Macro
expansion takes place inside the argument.
The
\type
{
\tracingfonts
}
primitive that has been inherited from
\PDFTEX\
has
been adapted to support variants in reporting the font. The reason for this
extension is that a csname not always makes sense. The zero case is the default.
\starttabulate
[|T||]
\NC
0
\EQ
\type
{
\foo
xyz
}
\NC
\NR
\NC
1
\EQ
\type
{
\foo
(bar)
}
\NC
\NR
\NC
2
\EQ
\type
{
<bar> xyz
}
\NC
\NR
\NC
3
\EQ
\type
{
<bar @ ..pt> xyz
}
\NC
\NR
\NC
4
\EQ
\type
{
<id>
}
\NC
\NR
\NC
5
\EQ
\type
{
<id: bar>
}
\NC
\NR
\NC
6
\EQ
\type
{
<id: bar @ ..pt> xyz
}
\NC
\NR
\stoptabulate
\subsection
{
Writing to file
}
You can now open upto 127 files with
\type
{
\openout
}
. When no file is open
...
...
This diff is collapsed.
Click to expand it.
manual/luatex.pdf
+
0
−
0
View file @
84330213
No preview for this file type
This diff is collapsed.
Click to expand it.
source/texk/web2c/luatexdir/tex/printing.w
+
54
−
13
View file @
84330213
...
...
@@ -838,25 +838,66 @@ int font_in_short_display; /* an internal font number */
sort of ``complicated'' are indicated only by printing `
\
.{[]}'.
@c
/*
So, 0, 1 as well as any large value will behave the same as before. The reason
for this extension is that a
\
name not always makes sense.
0
\
foo xyz
1
\
foo (bar)
2 <bar> xyz
3 <bar @@ ..> xyz
4 <id>
5 <id: bar>
6 <id: bar @@ ..> xyz
*/
void print_font_identifier(internal_font_number f)
{
str_number fonttext;
fonttext = font_id_text(f);
if (fonttext > 0) {
print_esc(fonttext);
if (tracing_fonts_par >= 2 && tracing_fonts_par <= 6) {
/* < > is less likely to clash with text parenthesis */
tprint(
"
<
"
);
if (tracing_fonts_par >= 2 && tracing_fonts_par <= 3) {
print_font_name(f);
if (tracing_fonts_par >= 3 || font_size(f) != font_dsize(f)) {
tprint(
"
@@
"
);
print_scaled(font_size(f));
tprint(
"
pt
"
);
}
} else if (tracing_fonts_par >= 4 && tracing_fonts_par <= 6) {
print_int(f);
if (tracing_fonts_par >= 5) {
tprint(
"
:
"
);
print_font_name(f);
if (tracing_fonts_par >= 6 || font_size(f) != font_dsize(f)) {
tprint(
"
@@
"
);
print_scaled(font_size(f));
tprint(
"
pt
"
);
}
}
}
print_char('>');
} else {
tprint_esc(
"
FONT
"
);
print_int(f);
}
if (tracing_fonts_par > 0) {
tprint(
"
(
"
);
print_font_name(f);
if (font_size(f) != font_dsize(f)) {
tprint(
"
@@
"
);
print_scaled(font_size(f));
tprint(
"
pt
"
);
/* old method, inherited from pdftex */
if (fonttext > 0) {
print_esc(fonttext);
} else {
tprint_esc(
"
FONT
"
);
print_int(f);
}
if (tracing_fonts_par > 0) {
tprint(
"
(
"
);
print_font_name(f);
if (font_size(f) != font_dsize(f)) {
tprint(
"
@@
"
);
print_scaled(font_size(f));
tprint(
"
pt
"
);
}
print_char(')');
}
print_char(')');
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment