Text Replacement
Text Replacement

The Text Replacement window allows you to configure a text layer to render its content as real text (all text layers render as images in Kwik).
It is a common mistake to believe that text rendering is faster and uses less memory than images. GPU rendering is different to CPU rendering.
While using this option, be careful because text renders differently in different platforms (check this posting to learn a bit more about how text from Photoshop works with Solar2D
it does not have at this moment the ability to configure justification, and other text related parametrization. It is always a good idea to test the final project in the destination device.
Select the layer you want to add the Text feature and click the Text replacement. The following window appears:

-
Use native system font: When enabled, it does not import external font files and it will use the device’s default font, instead the original font used in Photoshop.
The benefit of doing that is the fact you will not need to worry importing and testing the original font in the devices. If disabled, Kwik will ask for the font file when publishing (it will be copied and attached to the final build folder).
External fonts may require some manual input. For more info, read the How to Use Custom Fonts from Solar2D documentation.
you must have the rights to use an external font. Kwiksher is not responsible for any font used in your projects.
-
Width Offset
-
Vertical Offset
As the layer content will be exported as real text and devices work with different font settings, it may be a good idea to add some vertical and horizontal offset (space in pixels around the text). You should use the Simulator and your device to figure out the best offset.
-
Height padding field : it allows you to adjust the vertical position of the text, when needed.