We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15692fc commit 19fc009Copy full SHA for 19fc009
src/Utility/FontUtility.php
@@ -29,7 +29,7 @@ public static function getFontPreviewImage(
29
],
30
array $attributes = [],
31
): string {
32
- $absoluteFontPath = PathUtility::getAbsolutePath($fontPath);
+ $absoluteFontPath = PathUtility::resolveFilePath($fontPath);
33
$lineHeight = (int) round($fontSize * 1.5);
34
35
$image = imagecreatetruecolor($width, $height);
0 commit comments