Text Layer¶
Parameters of Text Layers¶
The parameters of the text layers are:
Name |
Value |
Type |
0.000000 |
real |
|
1.000000 |
real |
|
Composite |
integer |
|
Text Layer |
string |
|
color |
||
Sans Serif |
string |
|
Nomral |
integer |
|
Normal |
integer |
|
1.000000 |
real |
|
1.000000 |
real |
|
0.500000u,0.500000u |
vector |
|
0.500000u,0.500000u |
vector |
|
0.00000u,0.000000u |
vector |
|
bool |
||
bool |
||
bool |
How to use Text Layer¶
Quick trick that allows to use custom fonts in Synfig.
Here’s what you need:
Put your font (ttf) file in the same dir as your Synfig (sif or sifz) file.
Create Text Layer and in the
Font Family
parameter put full filename of font file (i.e. “LobsterTwo-Regular.ttf”, without quotes).
That’s it!
After examining font files, you might notice that different variants of font style are usually residing in separate files (i.e. “LobsterTwo-Italic.ttf”, “LobsterTwo-Bold.ttf”, “LobsterTwo-BoldItalic.ttf”, etc). So you can use different font variants in the same way just by referencing the appropriate font file.
If your font file is placed in different location, then you can specify absolute or relative path to it (i.e. “../fonts/LobsterTwo-Bold.ttf”).