You are here

public function AdminSettingsForm::getDefaultFonts in PDF using mPDF 8

Get default font styles provided by mPDF library.

Return value

array Default font list.

1 call to AdminSettingsForm::getDefaultFonts()
AdminSettingsForm::buildForm in src/Form/AdminSettingsForm.php
Form constructor.

File

src/Form/AdminSettingsForm.php, line 465

Class

AdminSettingsForm
Admin settings form.

Namespace

Drupal\pdf_using_mpdf\Form

Code

public function getDefaultFonts() {
  return [
    'dejavusanscondensed' => 'DejaVuSansCondensed',
    'dejavusans' => 'DejaVuSans',
    'dejavuserif' => 'DejaVuSerif',
    'dejavuserifcondensed' => 'DejaVuSerifCondensed',
    'dejavusansmono' => 'DejaVuSansMono',
    'freesans' => 'FreeSans',
    'freeserif' => 'FreeSerif',
    'freemono' => 'FreeMono',
    'ocrb' => 'ocrb10',
    'estrangeloedessa' => 'SyrCOMEdessa',
    'kaputaunicode' => 'kaputaunicode',
    'abyssinicasil' => 'Abyssinica_SIL',
    'aboriginalsans' => 'AboriginalSansREGULAR',
    'jomolhari' => 'Jomolhari',
    'sundaneseunicode' => 'SundaneseUnicode-1.0.5',
    'taiheritagepro' => 'TaiHeritagePro',
    'aegean' => 'Aegean',
    'aegyptus' => 'Aegyptus',
    'akkadian' => 'Akkadian',
    'quivira' => 'Quivira',
    'eeyekunicode' => 'Eeyek',
    'lannaalif' => 'lannaalif-v1-03',
    'daibannasilbook' => 'DBSILBR',
    'garuda' => 'Garuda',
    'khmeros' => 'KhmerOS',
    'dhyana' => 'Dhyana',
    'tharlon' => 'Tharlon',
    'padaukbook' => 'Padauk-book',
    'zawgyi-one' => 'ZawgyiOne',
    'ayar' => 'ayar',
    'taameydavidclm' => 'TaameyDavidCLM',
    'mph2bdamase' => 'damase_v.2',
    'lohitkannada' => 'Lohit-Kannada',
    'pothana2000' => 'Pothana2000',
    'xbriyaz' => 'XB Riyaz',
    'lateef' => 'LateefRegOT',
    'kfgqpcuthmantahanaskh' => 'Uthman',
    'sun-exta' => 'Sun-ExtA',
    'sun-extb' => 'Sun-ExtB',
    'unbatang' => 'UnBatang_0613',
  ];
}