[gf, pk] Minor Fixes for some compilation errors.

This commit is contained in:
Parth Wazurkar 2018-07-31 01:28:02 +05:30
parent aa77f5af45
commit 3511c3c3c3
3 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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)
{