diff --git a/xmodule/course_block.py b/xmodule/course_block.py index c3f42ecb6668..6deacba701f5 100644 --- a/xmodule/course_block.py +++ b/xmodule/course_block.py @@ -1052,6 +1052,18 @@ class CourseFields: # lint-amnesty, pylint: disable=missing-class-docstring scope=Scope.settings, ) + course_font_family = String( + display_name=_("Select Course Font Family"), + help=_( + """ + Select course family in which you want to display your course. + Available options are "font-trebuchet", "font-open-sans", "font-noto-kufi-arabic", "font-montserrat", and "font-source-sans-pro". + If value is invalid or empty the default font-family will be "Helvetica Neue". + """ + ), + scope=Scope.settings, default='font-trebuchet' + ) + other_course_settings = Dict( display_name=_("Other Course Settings"), help=_( diff --git a/xmodule/js/src/html/edit.js b/xmodule/js/src/html/edit.js index 88863d8e2a03..21b967240ee6 100644 --- a/xmodule/js/src/html/edit.js +++ b/xmodule/js/src/html/edit.js @@ -10,7 +10,10 @@ */ var CUSTOM_FONTS, STANDARD_FONTS, _getFonts; - CUSTOM_FONTS = "Default='Open Sans', Verdana, Arial, Helvetica, sans-serif;"; + CUSTOM_FONTS = "Default='Open Sans', Verdana, Arial, Helvetica, sans-serif;" + + "Noto Kufi Arabic='Noto Kufi Arabic', Verdana, Arial, Helvetica, sans-serif;" + + "Source Sans Pro='Source Sans Pro', Verdana, Arial, Helvetica, sans-serif;" + + "Montserrat='Montserrat', Verdana, Arial, Helvetica, sans-serif;"; /* list of standard tinyMCE fonts: http://www.tinymce.com/wiki.php/Configuration:font_formats