修改bigbluebutton白板上传中文乱码

 
   
中文命名的文档,上传是乱码 -- 显示的
打开后, 中文部分是乱码
Comment 1 by project member ffdixon, Nov 08, 2010
Translation "Chinese name of the document, the upload is garbled - show opens, the Chinese part is garbled"

Do you have a sample Chinese document that you can attach to this bug and give us steps to reproduce? - 你有一个示例中的文件,您可以连接到这个错误,给我们的步骤来重现?

Also, could you try uploading a PDF version of the document and let us know if you still see the same problems. 此外,你能尝试上传一个文件的PDF版本,让我们知道,如果你仍然可以看到同样的问题。

Summary: Chinese document is garbled - 中文文档是乱码
Comment 3 by pieafriend, Nov 13 (4 days ago)
Hi,

It should not be a bug of BBB, but linux doesn't have the Chinese fonts of the uploaded documents. What you need to do is to add the appropriate Chinese fonts to linux and then you will fix this issue.

In short, you can fix it in the following steps:



1.copy all Chinese fonts from Windows OS to the appropriate folder in Ubuntu.


cd /usr/shar/fonts

sudo mkdir 11

sudo chmod 755 11


cp "the fonts" /usr/share/fonts/11


2. Build fonts cache,

sudo mkfontscale

sudo mkfontdir

sudo fc-cache –fv



Then reload the system.


Now you fix it!


The following are the Chinese guide for your easy reference. Hope you fix it:

1:复制中文字体,比如win下的所有到对应的位置

cd /usr/shar/fonts

sudo mkdir 11

sudo chmod 755 11

cp /下载后文件路径/11.ttf /usr/shar/fonts/11

2:建立字体缓存


sudo mkfontscale

sudo mkfontdir

sudo fc-cache –fv
重启,即可识别中文字体。

Comment 4 by project member ffdixon, Nov 13 (4 days ago)
Hi,

I agree that this isn't a bug for BigBlueButton.  While we can't advocate that you copy the fonts from a windows machine (as there is probably a license associated with them), another option is to always upload a PDF document to BigBlueButton.

Using PDF the document converts directly to SWF and there is no need for font substitution on the BigBlueButton server.

In short, whenever possible, use PDF.
posted on 2013-07-08 23:31  weaver_chen  阅读(532)  评论(0编辑  收藏  举报