Search found 2 matches

by cccnikul
2012-09-26T00:07:59-07:00
Forum: Users
Topic: can i draw a bold text with regular font?
Replies: 7
Views: 38650

Re: can i draw a bold text with regular font?

hi,

how to make font bold or italic?
i tried,
<?php
$draw = new ImagickDraw();
$draw->setFontStyle(2);
and
$draw->setFontStyle(Imagick:: STYLE_ITALIC);
?>
but not working...
please help me on this
thanks a lot

nikul
by cccnikul
2012-07-13T23:09:10-07:00
Forum: IMagick
Topic: DrawSetFont not working, but still returning true
Replies: 4
Views: 19487

Re: DrawSetFont not working, but still returning true

Hello, I have same issue of loading .ttf, .otf fonts in imagick. I have tried several ways but it loads default font only. I have set font path like below, $draw = new ImagickDraw(); $draw->setFont("/www/web/imagicksample/fonts/alittlepot.ttf"); and $draw = new ImagickDraw(); $draw->setFont("/usr ...