add text layors
add text layors
I could be wrong but I would better it's your ruler settings. txuku's code doesn't use unitValues or make sure the ruler it set to the needed units. Even with the line reglageFont = 18; the font size will vary depending on the ruler setting. 18 px, 18 in, 18 cm, etc