You are here

function _textimage_get_font_path in Textimage 7.3

Return the path of the font file, in a format usable by current toolkit.

Parameters

object $image: Image object.

string $font_uri: URI of the TrueType font to use.

Return value

string Fully qualified font file path.

1 call to _textimage_get_font_path()
_textimage_get_text_wrapper in effects/textimage_text.inc
Get the image containing the text.

File

effects/textimage_text.inc, line 1318
Implementation of the 'textimage_text' image effect.

Code

function _textimage_get_font_path($image, $font_uri) {
  $data = array(
    'font_uri' => $font_uri,
  );
  return image_toolkit_invoke('textimage_get_font_path', $image, array(
    $data,
  ));
}