How do I change the default font?

825 views
Skip to first unread message

bijan behvandi

unread,
Aug 30, 2019, 10:59:24 AM8/30/19
to BigBlueButton-dev
I'm looking for a solution that will automatically load our custom font when we switch to Persian.

Chad Pilkey

unread,
Aug 30, 2019, 12:47:04 PM8/30/19
to BigBlueButton-dev
I don't think there's an easy way to change the font other than going into the code and adding your new font in. The font we use is "Source Sans Pro" and it's hardcoded into various files. If you do a search through the code for that font you can find where it's used.

bijan behvandi

unread,
Sep 27, 2019, 11:36:34 AM9/27/19
to BigBlueButton-dev
I renamed my favorite fonts as SourceSansPro.
And I uploaded the following URLs, but no changes were made when selecting Persian.
/usr/share/meteor/bundle/programs/web.browser.legacy/app/fonts/SourceSansPro/

/usr/share/meteor/bundle/programs/web.browser/app/fonts/SourceSansPro/



But the English fonts have changed.
Is this due to the use of multiple fonts in the html5 source?
As
font-family: 'Source Sans Pro', Arial, sans-serif;


در جمعه 30 اوت 2019، ساعت 19:29:24 (UTC+4:30)، bijan behvandi نوشته:

Chad Pilkey

unread,
Sep 27, 2019, 12:30:37 PM9/27/19
to BigBlueButton-dev
Just replacing the file won't do anything. because the fonts are configured for a specific Unicode range. You can find the font-face definition here, https://github.com/bigbluebutton/bigbluebutton/blob/master/bigbluebutton-html5/client/stylesheets/fonts.css. You need to add your own font-face definitions with your desired font and then add it to the font-family list.

bijan behvandi

unread,
Sep 27, 2019, 1:22:57 PM9/27/19
to BigBlueButton-dev
Unfortunately I can't find this file on the server

در جمعه 30 اوت 2019، ساعت 19:29:24 (UTC+4:30)، bijan behvandi نوشته:
I'm looking for a solution that will automatically load our custom font when we switch to Persian.

Chad Pilkey

unread,
Sep 27, 2019, 2:17:40 PM9/27/19
to BigBlueButton-dev
It's in the source code, not the packaged files. You need to check out the repository, make the changes, and rebuild the client.
Reply all
Reply to author
Forward
0 new messages