You are here

function _views_timelinejs_list_font_sets in Views TimelineJS integration 7.3

Same name and namespace in other branches
  1. 8.3 views_timelinejs.module \_views_timelinejs_list_font_sets()

Returns an array of font set options that are supported by TimelineJS3.

Return value

array An array of font set names, keyed by the name section of the set's CSS filename, i.e. 'font.set-name.css'.

2 calls to _views_timelinejs_list_font_sets()
views_timelinejs_library in ./views_timelinejs.module
Implements hook_library().
views_timelinejs_plugin_style_timelinejs::options_form in ./views_timelinejs_plugin_style_timelinejs.inc
Provide a form to edit options for this plugin.

File

./views_timelinejs.module, line 109
Views TimelineJS API, theming, libraries, etc.

Code

function _views_timelinejs_list_font_sets() {
  return array(
    'abril-droidsans' => 'Abril Fatface & Droid Sans',
    'amatic-andika' => 'Amatic & Andika',
    'bevan-pontanosans' => 'Bevan & Pontano Sans',
    'bitter-raleway' => 'Bitter & Raleway',
    'clicker-garamond' => 'Clicker & Garamond',
    'dancing-ledger' => 'Dancing & Ledger',
    'default' => 'Default',
    'fjalla-average' => 'Fjalla & Average',
    'georgia-helvetica' => 'Georgia & Helvetica',
    'knightlab' => 'Knight Lab',
    'lustria-lato' => 'Lustria Lato',
    'medula-lato' => 'Medula One & Lato',
    'oldstandard' => 'Old Standard',
    'opensans-gentiumbook' => 'Open Sans & Gentium Book Basic',
    'playfair-faunaone' => 'Playfair & Fauna One',
    'playfair' => 'Playfair SC & Playfair',
    'pt' => 'PT Sans / PT Serif / PT Sans Narrow',
    'roboto-megrim' => 'Roboto Slab & Megrim',
    'rufina-sintony' => 'Rufina & Sintony',
    'ubuntu' => 'Ubuntu',
    'unicaone-vollkorn' => 'Unica One & Vollkorn',
  );
}