(PECL imagick 2, PECL imagick 3)
Imagick::queryFonts — Yapılandırımış yazı tiplerini döndürür
Imagick yapılandırılmış yazı tiplerini döndürür.
şablon
Sorgu şablonu.
Yapılandırılmış yazı tiplerini içeren bir dizi döndürür.
Hata durumunda bir ImagickException istisnası oluşur.
Örnek 1 - Imagick::queryFonts() örneği
<?php
$output = '';
$output .= "'Helvetica*' ile eşleşen yazı tipleri:<br/>";
$fontList = \Imagick::queryFonts("Helvetica*");
foreach ($fontList as $fontName) {
$output .= '<li>'. $fontName."</li>";
}
return $output;
?>