[pk] Modify `pk' files' header.

GSoC-2018-parth
Parth Wazurkar 7 years ago
parent fbaaeb812b
commit 859d6c6dc3
  1. 2
      src/pk/pk.c
  2. 2
      src/pk/pk.h
  3. 4
      src/pk/pkdrivr.c
  4. 2
      src/pk/pkdrivr.h
  5. 2
      src/pk/pkerror.h
  6. 8
      src/pk/pklib.c

@ -2,7 +2,7 @@
*
* pk.c
*
* FreeType font driver METAFONT PK FONT files.
* FreeType font driver for TeX's PK FONT files.
*
* Copyright 1996-2018 by
* David Turner, Robert Wilhelm, and Werner Lemberg.

@ -2,7 +2,7 @@
*
* pk.h
*
* FreeType font driver for METAFONT PK FONT files.
* FreeType font driver for TeX's PK FONT files.
*
* Copyright 1996-2018 by
* David Turner, Robert Wilhelm, and Werner Lemberg.

@ -2,7 +2,7 @@
*
* pkdrivr.c
*
* FreeType font driver for METAFONT PK FONT files.
* FreeType font driver for TeX's PK FONT files.
*
* Copyright 1996-2018 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
@ -265,7 +265,7 @@
bsize->y_ppem = (FT_Pos) toint((face->pk_glyph->ds * y_res)/ 72.27) << 6 ;
bsize->x_ppem = (FT_Pos) FT_MulDiv( bsize->y_ppem,
x_res,
y_res ); ;
y_res );
}
/* Charmaps */

@ -2,7 +2,7 @@
*
* pkdrivr.h
*
* FreeType font driver for METAFONT PK FONT files.
* FreeType font driver for TeX's PK FONT files.
*
* Copyright 1996-2018 by
* David Turner, Robert Wilhelm, and Werner Lemberg.

@ -2,7 +2,7 @@
*
* pkerror.h
*
* FreeType font driver for METAFONT PK FONT files.
* FreeType font driver for TeX's PK FONT files.
*
* Copyright 1996-2018 by
* David Turner, Robert Wilhelm, and Werner Lemberg.

@ -2,7 +2,7 @@
*
* pklib.c
*
* FreeType font driver for METAFONT PK FONT files.
* FreeType font driver for TeX's PK FONT files.
*
* Copyright 1996-2018 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
@ -445,14 +445,14 @@ FT_Byte bits_table[] = {
case PK_NO_OP:
break;
default:
flag = instr;
flag = instr;
size = flag % 0x04; flag = flag >> 2;
ess = flag % 0x02; flag = flag >> 1;
bw = flag % 0x02; flag = flag >> 1;
dny_f = flag % 0x10;
if (ess == 0)
{ /* short */
rs = (FT_ULong)(size*256) + (FT_ULong)READ_UINT1( stream ) - (FT_ULong)8;
rs = (FT_ULong)(size*256) + (FT_ULong)READ_UINT1( stream ) - (FT_ULong)8;
cc = (FT_ULong)READ_UINT1( stream );
tfm = (FT_ULong)READ_UINT3( stream );
dm = (FT_ULong)READ_UINT1( stream );
@ -465,7 +465,7 @@ FT_Byte bits_table[] = {
}
else if ((ess == 1) && (size != 3))
{ /* extended short */
rs = (FT_ULong)(size*65536) + (FT_ULong)READ_UINT2( stream ) - (FT_ULong)13;
rs = (FT_ULong)(size*65536) + (FT_ULong)READ_UINT2( stream ) - (FT_ULong)13;
cc = (FT_ULong)READ_UINT1( stream );
tfm = (FT_ULong)READ_UINT3( stream );
dm = (FT_ULong)READ_UINT2( stream );

Loading…
Cancel
Save