Fonts - gtbu/Typesetter5.2 GitHub Wiki

  • Typesetter has local fonts under themes/Bootstrap4/assets.

In the styles.css of a Typesetter-theme it is possible to import a fonts-css with @import('themes/Bootstrap4/assets/css/abhaya-libre.css');

  • Other Font-Plugins are available for installation under /addons.

Local fonts in scss

  • used for example in Bootstrap4-Theme _common/customizer_common_typography.scss
$font-file-path: '../../themes/Bootstrap4/assets/css';

$web_font_urls: (
'abhaya-libre': '../assets/css/abhaya-libre.css',   //local path
'alegreya_sans': '#{$font-file-path}/alegreya-sans.css',
'fira_sans': '#{$font-file-path}/fira-sans.css',
'inter': '#{$font-file-path}/inter.css',
'nunito': '#{$font-file-path}/nunito.css',
'open_sans': '#{$font-file-path}/open_sans.css',
'montserrat': '#{$font-file-path}/montserrat.css',
'raleway': '#{$font-file-path}/raleway.css',
'roboto': '#{$font-file-path}/roboto.css',
'source_sans_pro': '#{$font-file-path}/source-sans-pro.css',
'ubuntu': '#{$font-file-path}/ubuntu.css',
'work_sans': '#{$font-file-path}/work_sans.css',
// serif
'alegreya': '#{$font-file-path}/alegreya.css',	
'bitter': '#{$font-file-path}/bitter.css',
'cinzel': '#{$font-file-path}/cinzel.css',
'cinzel_decorative': '#{$font-file-path}/cinzel-decorative.css',
'eb_garamond':	 '#{$font-file-path}/eb-garamond.css',
'lora': '#{$font-file-path}/lora.css',
'merriweather': '#{$font-file-path}/merriweather.css',
'playfair_display': '#{$font-file-path}/playfair-display.css',
'roboto_slab': '#{$font-file-path}/roboto-slab.css',
'source_serif_pro': '#{$font-file-path}/source-serif-pro.css',
'zilla_slab': '#{$font-file-path}/zilla-slab.css'
);