Skip to content

Commit

Permalink
makejvf, ptex-base.ch: cleanup, typo
Browse files Browse the repository at this point in the history
  • Loading branch information
aminophen committed Jan 29, 2018
1 parent c761318 commit e8a3546
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions source/texk/makejvf/tfmread.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ int jfmread(int kcode)
tag = char_info[0*4+2] % 4;
if (tag == 1) {
gk_ind = char_info[0*4+3]; /* remainder for <type0> */
if (glue_kern[gk_ind*4] == 254) /* support for large gluekern table */
if (glue_kern[gk_ind*4] > 128) /* huge gluekern table rearranged */
gk_ind = upair(&glue_kern[gk_ind*4+2]);
for (i = 0 ; i < nl-gk_ind ; i++) {
if (glue_kern[(gk_ind+i)*4+1] == ctype) {
Expand All @@ -55,7 +55,7 @@ int jfmread(int kcode)
tag = char_info[ctype*4+2] % 4;
if (tag == 1) {
gk_ind = char_info[ctype*4+3]; /* remainder for <type of kcode> */
if (glue_kern[gk_ind*4] == 254) /* support for large gluekern table */
if (glue_kern[gk_ind*4] > 128) /* huge gluekern table rearranged */
gk_ind = upair(&glue_kern[gk_ind*4+2]);
for (i = 0 ; i < nl-gk_ind ; i++) {
if (glue_kern[(gk_ind+i)*4+1] == 0) {
Expand Down
2 changes: 1 addition & 1 deletion source/texk/web2c/ptexdir/ptex-base.ch
Original file line number Diff line number Diff line change
Expand Up @@ -7225,7 +7225,7 @@ if inhibit_glue_flag<>true then
begin main_k:=glue_kern_start(main_f)(main_i);
main_j:=font_info[main_k].qqqq;
if skip_byte(main_j)>stop_flag then {huge glue/kern table rearranged}
begin main_k:=lig_kern_restart(main_f)(main_j);
begin main_k:=glue_kern_restart(main_f)(main_j);
main_j:=font_info[main_k].qqqq;
end;
loop@+begin if next_char(main_j)=cur_l then
Expand Down

0 comments on commit e8a3546

Please sign in to comment.