Lower case descenders on some italic fonts stretch outside of the measured bounding box as calculated by Pillow. Adjusting the anchors for measurement bounds of multiline_textbox. This causes the left hand pixels to be cut off in some instances. the letters p, g, j appear to be most affected.
Lower case descenders on some italic fonts stretch outside of the measured bounding box as calculated by Pillow. Adjusting the anchors for measurement bounds of
multiline_textbox
. This causes the left hand pixels to be cut off in some instances. the letters p, g, j appear to be most affected.TextBlock
currently uses the anchorld
, which should cover this, but for some reason some italic fonts are miss calcuated. https://pillow.readthedocs.io/en/stable/handbook/text-anchors.html#text-anchors