cancel
Showing results for 
Search instead for 
Did you mean: 

Previewer Font Problem

alfazulu
Champ in-the-making
Champ in-the-making
I'd like to store documents containing non-latin characters inside Alfresco. However, the problem is that the flash previewer fails to display these characters.

<!–break–>

According to this <a href="http://forums.alfresco.com/forum/installation-upgrades-configuration-integration/installation-upgrad...">thread</a> I need to install the appropriate font in a location that OpenOffice/LibreOffice can load it.

I've attempted installing the font into the following directories with no luck:

<ul>
<li>~/.fonts</li></li>
<li>/usr/share/fonts/truetype</li>
<li>~/alfresco-4.2.c/libreoffice/share/fonts/truetype</li>
</ul>

After each change I made sure to refresh the font cache and restart Alfresco.


Does anyone have any idea how to resolve this issue?

I'm running Alfresco Community 4.2.c, and Ubuntu Server 3.2.0-29-generic 64-bit.
3 REPLIES 3

scouil
Star Contributor
Star Contributor
Hello,

I don't think it's a font problem. I'd actually bet on the encoding.

Can you please try to start the JVM with the following argument:
-Dfile.encoding=UTF-8
(or whatever your file encoding is)

We'll see if he can't interpret the file or if he just doesn't recognize the encoding

alfazulu
Champ in-the-making
Champ in-the-making
<blockquote>Can you please try to start the JVM with the following argument</blockquote>

I'm not sure how to change the JVM parameters. Isn't invocation of the JVM handled by the application server (JBoss)?

I'm not entirely sure that is the issue anyhow. For example, you'll find that the previewer can display Arabic characters, but not Chinese characters.

afaust
Legendary Innovator
Legendary Innovator
Hello,

it can be either an encoding or a font problem - or both. Usually encoding problems only affect plain text files and most of the times, it is the font that is missing in an OpenOffice to PDF conversion. Please take a look at the following <a href="http://ask.libreoffice.org/en/question/1273/how-can-i-install-other-truetype-fonts/">ask.libreoffice.org thread</a> for installation procedure.

Regards
Axel