Re: Inconsistent endianness in differing bitmap depths

2023-07-29 Thread Alexei Podtelezhnikov
> 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

Re: Font Rendering: Multiple FT_Faces and baselines

2023-07-29 Thread Alexei Podtelezhnikov
> > ... calculate an "average" baseline and align to that ... > Or align to the midpoints of the overall font glyph boxes (including > font ascent and font descent). That may be a suitable compromise. Or... whatever works. FreeType provides a client with all kinds of metrics and bounding boxes,