[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freetype
Subject:    Re: Inconsistent endianness in differing bitmap depths
From:       Alexei Podtelezhnikov <apodtele () gmail ! com>
Date:       2023-07-30 3:20:24
Message-ID: CAJU=AjX7SRyiYXKVsrHrrfqZnB42DRb16dp6V-Mg1MRvVzTWjg () mail ! gmail ! com
[Download RAW message or body]

> When using mono mode, the bitmap is rendered in big endian format where the
> most significant bit is the leftmost pixel, while in default mode the
> bitmap is rendered in little endian, consistent with my cpu.

This is documented
https://freetype.org/freetype2/docs/reference/ft2-basic_types.html#ft_pixel_mode_mono
No major gray or color image format specifies its bit endianness, as
far as I know, neither does FreeType.

A.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic