bigbluebutton / docker

Docker files for BigBlueButton
GNU Lesser General Public License v3.0
359 stars 240 forks source link

fix for presentation slides not displayed if they contain type 3 fonts #191

Closed rottaran closed 2 years ago

rottaran commented 2 years ago

This change deletes the potrace rules from imagemagick. Otherwise it tries to use potrace, which is not installed and would create ugly monochrome slides. Without this change, https://github.com/bigbluebutton/bigbluebutton/blob/d8350f813c7611e33f1a61d65e341f7e811a2da1/bbb-common-web/src/main/java/org/bigbluebutton/presentation/imp/SvgImageCreatorImp.java#L223 fails in the docker version of BBB. The users see this effect as blank slides. This path is triggered by type 3 fonts in the page.

Background: bbb-web tries to avoid pdftocairo for pages with type 3 fonts, see https://gitlab.freedesktop.org/poppler/poppler/-/issues/268 And imagemagick changed its behaviour around version 7.0.8-65, see https://legacy.imagemagick.org/discourse-server/viewtopic.php?t=36777

alangecker commented 2 years ago

looks good! thanks for the PR :)