Questions & Answers

Fonts size issue in adding watermark on image laravel

I'm using intervention Image in laravel for writing text over image. every things worked well except the fonts size. how can I make it bigger?? thanks for any help!

                ->text($store['watermark_text'], 120, 100, function($font) {
2023-01-24 23:30:05
Seems like you need to define a font file to be able to change the size. From the manual about size(): "Font sizing is only available if a font file is set and will be ignored otherwise. Default: 12"
2023-01-24 23:30:05
like this: $font->family(myFont); ???
Answers(0) :