diff options
author | Mattias Andrée <m@maandree.se> | 2024-10-13 14:52:39 +0200 |
---|---|---|
committer | Mattias Andrée <m@maandree.se> | 2024-10-13 14:52:39 +0200 |
commit | 3de183860fb65773c39bad2039398064679227f2 (patch) | |
tree | 29dbb38c338695a711951d5b627484c6a3a3e627 /libparsepcf_get_bitmaps.c | |
parent | Documentation and minor improvements (diff) | |
download | libparsepcf-3de183860fb65773c39bad2039398064679227f2.tar.gz libparsepcf-3de183860fb65773c39bad2039398064679227f2.tar.bz2 libparsepcf-3de183860fb65773c39bad2039398064679227f2.tar.xz |
Documentation + rename struct fields (some had confusing name, and others had plain wrong names due to bad documentation it was bsaed on)
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r-- | libparsepcf_get_bitmaps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libparsepcf_get_bitmaps.c b/libparsepcf_get_bitmaps.c index cad51f3..8265db3 100644 --- a/libparsepcf_get_bitmaps.c +++ b/libparsepcf_get_bitmaps.c @@ -39,8 +39,8 @@ libparsepcf_get_bitmaps(const void *file, size_t size, meta->bit_packing = (size_t)1 << ((table->format & LIBPARSEPCF_SCAN_UNIT_MASK) >> 4); meta->row_padding = (size_t)1 << ((table->format & LIBPARSEPCF_GLYPH_PAD_MASK) >> 0); - meta->lsbyte = !!(table->format & LIBPARSEPCF_BYTE); - meta->lsbit = !!(table->format & LIBPARSEPCF_BIT); + meta->msbyte_first = !!(table->format & LIBPARSEPCF_BYTE); + meta->msbit_first = !!(table->format & LIBPARSEPCF_BIT); if (meta->row_padding < meta->bit_packing) goto ebfont; |