* src/bdf/bdflib.c: Clean up.

This commit is contained in:
Alexei Podtelezhnikov 2025-01-14 22:58:04 -05:00
parent a3c68e3b48
commit a0d86e5650
1 changed files with 1 additions and 7 deletions

View File

@ -1220,12 +1220,6 @@
}
static const unsigned char nibble_mask[8] =
{
0xFF, 0x80, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC, 0xFE
};
static FT_Error
bdf_parse_end_( char* line,
unsigned long linelen,
@ -1294,7 +1288,7 @@
{
/* char to hex without checks */
x = line[i];
x += ( x & 0x40 ) * 9 >> 6; /* for [A-Fa-f] */
x += 9 * ( x & 0x40 ) >> 6; /* for [A-Fa-f] */
x &= 0x0F;
if ( i & 1 )