From 3de183860fb65773c39bad2039398064679227f2 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 13 Oct 2024 14:52:39 +0200 Subject: Documentation + rename struct fields (some had confusing name, and others had plain wrong names due to bad documentation it was bsaed on) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libparsepcf_get_bitmaps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libparsepcf_get_bitmaps.c') 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; -- cgit v1.2.3-70-g09d2