You are here

function imagecache_textactions_help in ImageCache Actions 5.3

Same name and namespace in other branches
  1. 5.2 imagecache_textactions.module \imagecache_textactions_help()
  2. 6 imagecache_textactions.module \imagecache_textactions_help()

Experimental diagnostic page to assist locating valid fonts on the system. Only tuned for Ubuntu so far. I've been unable do find ubiquitous tools that provide useful font listings.'

File

./imagecache_textactions.module, line 32

Code

function imagecache_textactions_help($path, $arg = '') {
  switch ($path) {
    case 'admin/help/imagecache_textactions':
    case 'admin/help#imagecache_textactions':
      $output = `find /usr/share/fonts -name \\*.ttf`;
      return "Fonts Found : <pre>" . $output . "</pre>";
  }
}