adding custom fonts

This commit is contained in:
Amine Ben hammou
2018-10-23 18:57:30 +02:00
parent afc04e44af
commit 8209facb5c
15 changed files with 249 additions and 28 deletions

View File

@@ -79,7 +79,13 @@ define([
}
});
availableStyles = new Backbone.SuperModel({
fonts: ['Arial', 'Times New Roman', 'Tahoma', 'Comic Sans', 'Lucida'],
fonts: {
standard: ['Arial', 'Times New Roman', 'Tahoma', 'Comic Sans', 'Lucida'],
custom: [
'Arvo', 'Lato', 'Lora', 'Merriweather', 'Merriweather Sans', 'Noticia Text',
'Open Sans', 'Playfair Display', 'Roboto', 'Source Sans Pro'
]
},
textSizes: [
'9px', '10px'
],