__( 'Font Family', 'woocommerce-jetpack' ), 'id' => 'wcj_invoicing_' . $invoice_type['id'] . '_general_font_family', 'default' => 'helvetica', 'type' => 'select', 'options' => apply_filters( 'wcj_pdf_invoicing_fonts', array( 'courier' => 'Courier', 'helvetica' => 'Helvetica', 'times' => 'Times', 'dejavusans' => 'DejaVu Sans (Unicode)', 'droidsansfallback' => 'Droid Sans Fallback (Unicode)', 'angsanaupc' => 'AngsanaUPC (Unicode)', 'cordiaupc' => 'CordiaUPC (Unicode)', 'thsarabun' => 'THSarabunPSK (Unicode)', 'stsongstdlight' => 'STSong Light (Simp. Chinese)', 'cid0ct' => 'cid0ct (Chinese Traditional)', ) ), ) : array( 'title' => __( 'Font Family', 'woocommerce-jetpack' ), 'id' => 'wcj_invoicing_' . $invoice_type['id'] . '_general_font_family_fallback', 'default' => 'helvetica', 'type' => 'select', 'options' => array( 'courier' => 'Courier', 'helvetica' => 'Helvetica', 'times' => 'Times', 'stsongstdlight' => 'STSong Light (Simp. Chinese)', ), ) ); $settings = array_merge( $settings, array( array( 'title' => $invoice_type['title'], 'type' => 'title', 'id' => 'wcj_invoicing_' . $invoice_type['id'] . '_styling_options', ), array( 'title' => __( 'CSS', 'woocommerce-jetpack' ), 'id' => 'wcj_invoicing_' . $invoice_type['id'] . '_css', 'default' => $this->get_default_css_template( $invoice_type['id'] ), 'type' => 'textarea', 'css' => 'width:100%;height:500px;', ), ), array( $font_family_option ), array( array( 'title' => __( 'Font Size', 'woocommerce-jetpack' ), 'id' => 'wcj_invoicing_' . $invoice_type['id'] . '_general_font_size', 'default' => 8, 'type' => 'number', ), array( 'title' => __( 'Make Font Shadowed', 'woocommerce-jetpack' ), 'desc' => __( 'Enable', 'woocommerce-jetpack' ), 'id' => 'wcj_invoicing_' . $invoice_type['id'] . '_general_font_shadowed', 'default' => 'no', 'type' => 'checkbox', ), array( 'type' => 'sectionend', 'id' => 'wcj_invoicing_' . $invoice_type['id'] . '_styling_options', ), ) ); } return $settings;