Skip to main content
beckett_kelm
September 13, 2023
Solved

Top of stroke cut off on my text after export

  • September 13, 2023
  • 3 replies
  • 2194 views

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!

This topic has been closed for replies.
Best answer by djv

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

3 replies

djv
Figmate
djvAnswer
Community Support
September 13, 2023

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

Jordan_Carr
May 30, 2024

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?

Rushir
July 23, 2024

@Jordan_Carr Try exporting in 1x instead of 2x/3x