You are here

public static function TextimageFonts::getUri in Textimage 7.3

Get the URI of a font file.

Parameters

string $font_name: the name of the font.

string $module: optional - the name of the module to be set for handling font requests.

array $options: optional - an array of options.

Return value

string the URI of the font file.

3 calls to TextimageFonts::getUri()
textimage_form_settings in ./textimage.admin.inc
Textimage settings form.
textimage_form_settings_submit in ./textimage.admin.inc
Textimage settings form - submission.
textimage_text_effect_form_validate in effects/textimage_text.inc
Settings for 'textimage_text' image effect - form validation.

File

classes/TextimageFonts.inc, line 79
Textimage - Font management classes.

Class

TextimageFonts
Font management class.

Code

public static function getUri($font_name, $module = NULL, $options = array()) {
  self::setHandler($module);
  return self::$handler
    ->getUri($font_name, $options);
}