diff --git a/src/gf/module.mk b/src/gf/module.mk index 1eb534671..bf9f2c2e0 100644 --- a/src/gf/module.mk +++ b/src/gf/module.mk @@ -12,6 +12,7 @@ # indicate that you have read the license and understand and accept it # fully. + FTMODULE_H_COMMANDS += GF_DRIVER define GF_DRIVER diff --git a/src/pk/module.mk b/src/pk/module.mk index df9fe1113..4a984b0bc 100644 --- a/src/pk/module.mk +++ b/src/pk/module.mk @@ -12,9 +12,10 @@ # indicate that you have read the license and understand and accept it # fully. + FTMODULE_H_COMMANDS += PK_DRIVER -define GF_DRIVER +define PK_DRIVER $(OPEN_DRIVER) FT_Driver_ClassRec, pk_driver_class $(CLOSE_DRIVER) $(ECHO_DRIVER)pk $(ECHO_DRIVER_DESC)METAFONT bitmap fonts$(ECHO_DRIVER_DONE) endef diff --git a/src/pk/pklib.c b/src/pk/pklib.c index 07b203962..761c02272 100644 --- a/src/pk/pklib.c +++ b/src/pk/pklib.c @@ -40,7 +40,7 @@ #undef FT_COMPONENT #define FT_COMPONENT trace_pklib -unsigned char bit_table[] = { +unsigned char bits_table[] = { 0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01 }; @@ -253,7 +253,7 @@ unsigned char bit_table[] = { return -1; } if (bw == 1) - *p = *p | bit_table[b_p]; + *p = *p | bits_table[b_p]; --bits; if (++b_p >= 8) {