Top of stroke cut off on my text after export

Every time I create a text and use stroke also, upon exporting it and checking out my newly exported text, the top of the stoke has been cut off. Any ideas what’s going on here, or what I’m not doing right?

Thanks for your help!

Hey @beckett_kelm, thanks for reaching out!

This issue usually happens if the text to export is positioned on a sub-pixel (decimal point value). When a layer is set to a sub-pixel value this can cause the export to either be cropped by a pixel or show an extra white line of pixels.

To resolve this you can either manually change its coordinates from the Properties Panel, or use the Round to Pixel function from the menu:

  1. Select that object and go to main menu - from there choose quick actions
  2. Search for Round to pixel

Screenshot 2022-08-11 at 12.52.17

We’d also suggest activating Snap to Pixel Grid to see if that helps. You can enable it from the main menu - Quick actions

Screenshot 2022-08-11 at 12.58.24

I have tried the above changes in Figma and the top of my stroke is still cut off when I export. I have the stroke set to outside. I even tried adding a blank line of text above and still is cutting off the top. Does anyone have any other solutions for this?