Textlayout with strikethrough attribute returns bounding box (both getBounds and getPixelBounds) way narrower than needed. In case underline attribute is set too the bounding box is about the right width.