I want to convert a text slogan into graphic, and then add to an image. However, the long text is cropped. How to fix?
Here is the code:
slogan[text1_, text2_] := Block[{s1, s2},
s1 = Graphics[{Text[
Style[text1, FontSize -> 30, Bold, Black, Background -> None,
FontFamily -> "SeasideResortNF"]]}];
s2 = Graphics[{Text[
Style[text2, FontSize -> 25, Bold, Black, Background -> None,
FontFamily -> "Alex Brush"]]}];
ImageCompose[s1, s2, Scaled[{.5, 0.35}]]
]
And for the long text input:
slogan["'This long text is cropped'", "Why?"]
Result: