summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/eptexdir/char-warning-eptex.ch
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/eptexdir/char-warning-eptex.ch')
-rw-r--r--Build/source/texk/web2c/eptexdir/char-warning-eptex.ch38
1 files changed, 38 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/eptexdir/char-warning-eptex.ch b/Build/source/texk/web2c/eptexdir/char-warning-eptex.ch
index f6593ad1e9d..fcd528d45be 100644
--- a/Build/source/texk/web2c/eptexdir/char-warning-eptex.ch
+++ b/Build/source/texk/web2c/eptexdir/char-warning-eptex.ch
@@ -61,3 +61,41 @@ begin if tracing_lost_chars>0 then
end; {of |tracing_lost_chars>0|}
end; {of procedure}
@z
+
+@x [30] Another warning for (u)pTeX.
+@p procedure char_warning_jis(@!f:internal_font_number;@!jc:KANJI_code);
+begin if tracing_lost_chars>0 then
+ begin begin_diagnostic;
+ print_nl("Character "); print_kanji(jc); print(" (");
+ print_hex(jc); print(") cannot be typeset in JIS-encoded JFM ");
+ slow_print(font_name[f]);
+ print_char(","); print_nl("so I use .notdef glyph instead.");
+ end_diagnostic(false);
+ end;
+end;
+@y
+@p procedure char_warning_jis(@!f:internal_font_number;@!jc:KANJI_code);
+var old_setting: integer; {saved value of |tracing_online|}
+begin if tracing_lost_chars>0 then
+ begin old_setting:=tracing_online;
+ if eTeX_ex and(tracing_lost_chars>1) then tracing_online:=1;
+ if tracing_lost_chars > 2 then
+ print_err("Character ")
+ else begin
+ begin_diagnostic;
+ print_nl("Character ")
+ end;
+ print_kanji(jc); print(" (");
+ print_hex(jc); print(") cannot be typeset in JIS-encoded JFM ");
+ slow_print(font_name[f]);
+ print_char(",");
+ if tracing_lost_chars > 2 then
+ begin print_nl(" so I use .notdef glyph instead");
+ help0; error; end
+ else
+ begin print_nl("so I use .notdef glyph instead.");
+ end_diagnostic(false); end;
+ tracing_online:=old_setting;
+ end; {of |tracing_lost_chars>0|}
+end; {of procedure}
+@z