Le mercredi 19 avril 2023 à 02:00 +0200, Jean Abou Samra a écrit : > Does anyone have an idea why it happens?
OK, now I see this: ``` PangoRectangle logical_rect; PangoRectangle ink_rect; pango_glyph_string_extents (pgs, pa->font, &ink_rect, &logical_rect); PangoFcFont *fcfont = PANGO_FC_FONT (pa->font); FTFace_accessor ftface (fcfont); Box string_extent ( Interval (PANGO_LBEARING (logical_rect), PANGO_RBEARING (logical_rect)), Interval (-PANGO_DESCENT (ink_rect), PANGO_ASCENT (ink_rect))); ``` Why are we using the `ink_rect` for Y extents but `logical_rect` for X extents?
signature.asc
Description: This is a digitally signed message part