Skip to content

Commit

Permalink
omegafonts: max char 0xffffff (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-tk committed Mar 16, 2024
1 parent 9f75b8b commit 048678b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/texk/web2c/omegafonts/char_routines.c
Original file line number Diff line number Diff line change
Expand Up @@ -986,16 +986,16 @@ compute_ofm_character_info(void)
break;
}
case OFM_LEVEL0: {
if (ec>0x10ffff)
if (ec>0xffffff)
fatal_error_1(
"Char (%x) too big for OFM level-0 (max 10ffff); use level-2",
"Char (%x) too big for OFM level-0 (max ffffff); use level-2",
ec);
break;
}
case OFM_LEVEL1: {
if (ec>0x10ffff)
if (ec>0xffffff)
fatal_error_1(
"Char (%x) too big for OFM level-1 (max 10ffff); use level-2",
"Char (%x) too big for OFM level-1 (max ffffff); use level-2",
ec);
num_char_info = 0;
for (c = bc; c <= ec; c++) {
Expand Down

0 comments on commit 048678b

Please sign in to comment.