You are not logged in.

#1 2013-01-16 13:54:20

thinkanish
Member
Registered: 2012-08-12
Posts: 39

Font rendering in opera

Hi,
I am new to arch linux.
I installed opera browser (which i get used to when i used windows) and I did not get the indic fonts properly rendered. I am particularly concerned about "tamil" fonts. I googled up and followed up some instructions but could not get it in opera. But the font renders correctly in chromium and firefox. So, the problem is concerned with opera? or any system changes should be made?

Here are the screen shots:

Here is what I should get: (used chromium)
m933t.jpg

Here is what I get in opera:
FJD0q.jpg

No matter what fonts I change in advanced-> international option in opera.. it keeps rendering them wrongly.

Thankyou.

Last edited by thinkanish (2013-01-16 13:55:19)

Offline

#2 2013-01-16 16:54:59

mrawfull
Member
Registered: 2011-11-26
Posts: 25

Re: Font rendering in opera

Not sure if this will help, but to fix fonts in my Opera I typed "opera:config" in address bar. Looked up "fontconfig" in search, and made sure "Prefer fontconfig settings" is checked. Save and restart.

Then I made a file /.config/fontconfig/fonts.conf with the following:

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>

<fontconfig>

<match target="font" >
<edit mode="assign" name="autohint">
    <bool>false</bool>
</edit>
</match>

<match target="font" >
<edit mode="assign" name="hinting">
    <bool>false</bool>
</edit>
</match>

<match target="font" >
<edit mode="assign" name="rgba">
    <const>rgb</const>
</edit>
</match>

<match target="font">
<edit mode="assign" name="lcdfilter">
    <const>lcddefault</const>
</edit>
</match>

<match target="font" >
<edit mode="assign" name="hintstyle">
    <const>hintfull</const>
</edit>
</match>

<match target="font" >
<edit mode="assign" name="antialias">
    <bool>true</bool>
</edit>
</match>


</fontconfig>


Fonts in Opera seemed to be better. But then I copied all of my windows fonts from C:/windows/fonts to /.fonts/windows

So all of the fonts work good now.

Offline

#3 2013-01-17 02:17:46

thinkanish
Member
Registered: 2012-08-12
Posts: 39

Re: Font rendering in opera

No dude.. that doesnt help. Still the same with opera.

Offline

#4 2013-01-17 03:32:50

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: Font rendering in opera

Have you checked if using dedicated fonts like Lohit Tamil, Lohit Tamil Classical, Latha or Vijaya makes any difference? Are all the locale settings correct in your system? (Sorry if the questions are too obvious.)

Last edited by bohoomil (2013-01-17 03:37:49)


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#5 2013-01-18 16:20:40

thinkanish
Member
Registered: 2012-08-12
Posts: 39

Re: Font rendering in opera

Hi, thanks for your reply, I even tried to uncomment tamil from locale (followed the article from arch wiki) but opera renders it as above..just the words are jumbled in tamil. Also, xfv and terminal dont display tamil font when i tried to read a text file containing tamil text. However, emacs was able to do it perfectly. When i previously used suse linux, opera rendered tamil fonts correctly. But now it cannot. Am i missing something?

Offline

Board footer

Powered by FluxBB