You are not logged in.

#1 2008-12-08 12:06:30

b0uncyfr0
Member
Registered: 2008-05-11
Posts: 140

Opera QT4 fonts are terrible..

Just installed qt4 opera from aur and got it loking ok with -style cleanlooks but the fonts are terrible. I disabled core x fonts but still nothing.Heres what i mean:

http://img372.imageshack.us/my.php?imag … ot1sf7.jpg

Comparing the toolbar font to the tabs, it seems they are not anti-aliased. Is there a way to fix this?

Last edited by b0uncyfr0 (2008-12-08 12:16:34)

Offline

#2 2008-12-08 15:20:23

huntxu
Member
Registered: 2008-12-07
Posts: 12

Re: Opera QT4 fonts are terrible..

you may try this:

[hunt@bubble ~]$ O_< cat .opera/styles/user/user.css 
html,body,*
{font-family:"WenQuanYi Zen Hei"!important;}

Remember to change the font's name if you prefer another one. As my default is "WenQuanYi Zen Hei".

Then in opera's menu tools->preferences->advanced->content->style option, choose the file above as your style sheet.

Last edited by huntxu (2008-12-08 15:22:56)

Offline

#3 2008-12-09 00:40:37

b0uncyfr0
Member
Registered: 2008-05-11
Posts: 140

Re: Opera QT4 fonts are terrible..

Sorry i really dont understand what you wrote..

Last edited by b0uncyfr0 (2008-12-09 00:45:18)

Offline

#4 2008-12-09 02:36:58

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: Opera QT4 fonts are terrible..

Offline

#5 2008-12-09 03:31:24

b0uncyfr0
Member
Registered: 2008-05-11
Posts: 140

Re: Opera QT4 fonts are terrible..

I have already set up the lcd fonts. All my applications look fine, except opera.

Offline

#6 2008-12-09 05:18:14

huntxu
Member
Registered: 2008-12-07
Posts: 12

Re: Opera QT4 fonts are terrible..

b0uncyfr0 wrote:

Sorry i really dont understand what you wrote..

My English is so poor that you cannot understand, or you are new to opera?

Just create this file "~/.opera/styles/user/user.css" if it doesn't exist.
And write these two lines below in it, change the font's name if you don't use WenQuanYi Zen Hei in the double quote:

html,body,*
{font-family:"WenQuanYi Zen Hei"!important;}

and then in opera's preferences dialog, advanced->content->style option...

Offline

#7 2008-12-09 10:53:47

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: Opera QT4 fonts are terrible..

Are ttf-ms-fonts installed? Try to uninstall them, relaunch opera and see what happens.


Mortuus in anima, curam gero cutis

Offline

#8 2008-12-09 12:05:37

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: Opera QT4 fonts are terrible..

http://operawiki.info/OperaUserCSS

The wiki mentions that  '~/.opera/styles/browser.css' should override the site author's settings . that doesn't work for me . I forced my settings using '/usr/share/opera/styles/browser.css' .

sample browser.css

a:link {
color: #0000ff; 
}
a:visited {
color: #FF00C0; 
}
@charset "utf-8";
html,body,* {
    font:Andika Basic !important ;
    font-family:Andika Basic, sans-serif !important ;
    font-family:Andika Basic, serif !important ;
    font-family:Andika Basic, monospace !important ;
    font-weight: bold !important ;
}

Warning : setting fonts to bold in web browsers is not preferable .

If you really like tweaking , you can specify diffrent fonts for diffrent classes . the CSS sheet would look like

@charset "utf-8";
html {
    font:Andika Basic !important ;
    font-family:Andika Basic, sans-serif !important ;
    font-family:Andika Basic, serif !important ;
    font-family:Andika Basic, monospace !important ;
    font-weight: bold !important ;
}
body {
    font:Andika Basic !important ;
    font-family:Andika Basic, sans-serif !important ;
    font-family:Andika Basic, serif !important ;
    font-family:Andika Basic, monospace !important ;
    font-weight: bold !important ;
}
p {
    font:Andika Basic !important ;
    font-family:Andika Basic, sans-serif !important ;
    font-family:Andika Basic, serif !important ;
    font-family:Andika Basic, monospace !important ;
    font-weight: bold !important ;
}
td {
    font:Andika Basic !important ;
    font-family:Andika Basic, sans-serif !important ;
    font-family:Andika Basic, serif !important ;
    font-family:Andika Basic, monospace !important ;
    font-weight: bold !important ;
}
tr {
    font:Andika Basic !important ;
    font-family:Andika Basic, sans-serif !important ;
    font-family:Andika Basic, serif !important ;
    font-family:Andika Basic, monospace !important ;
    font-weight: bold !important ;
}
dt {
    font:Andika Basic !important ;
    font-family:Andika Basic, sans-serif !important ;
    font-family:Andika Basic, serif !important ;
    font-family:Andika Basic, monospace !important ;
    font-weight: bold !important ;
}
dd {
    font:Andika Basic !important ;
    font-family:Andika Basic, sans-serif !important ;
    font-family:Andika Basic, serif !important ;
    font-family:Andika Basic, monospace !important ;
    font-weight: bold !important ;
}
span {
    font:Andika Basic !important ;
    font-family:Andika Basic, sans-serif !important ;
    font-family:Andika Basic, serif !important ;
    font-family:Andika Basic, monospace !important ;
    font-weight: bold !important ;
}
li {
    font:Andika Basic !important ;
    font-family:Andika Basic, sans-serif !important ;
    font-family:Andika Basic, serif !important ;
    font-family:Andika Basic, monospace !important ;
    font-weight: bold !important ;
}
ul {
    font:Andika Basic !important ;
    font-family:Andika Basic, sans-serif !important ;
    font-family:Andika Basic, serif !important ;
    font-family:Andika Basic, monospace !important ;
    font-weight: bold !important ;
}
div {
    font:Andika Basic !important ;
    font-family:Andika Basic, sans-serif !important ;
    font-family:Andika Basic, serif !important ;
    font-family:Andika Basic, monospace !important ;
    font-weight: bold !important ;
}
A {
    font:Andika Basic !important ;
    font-family:Andika Basic, sans-serif !important ;
    font-family:Andika Basic, serif !important ;
    font-family:Andika Basic, monospace !important ;
    font-weight: bold !important ;
}
h1 {
    font:Andika Basic !important ;
    font-family:Andika Basic, sans-serif !important ;
    font-family:Andika Basic, serif !important ;
    font-family:Andika Basic, monospace !important ;
    font-weight: bold !important ;
}
h2 {
    font:Andika Basic !important ;
    font-family:Andika Basic, sans-serif !important ;
    font-family:Andika Basic, serif !important ;
    font-family:Andika Basic, monospace !important ;
    font-weight: bold !important ;
}
h3 {
    font:Andika Basic !important ;
    font-family:Andika Basic, sans-serif !important ;
    font-family:Andika Basic, serif !important ;
    font-family:Andika Basic, monospace !important ;
    font-weight: bold !important ;
}
h4 {
    font:Andika Basic !important ;
    font-family:Andika Basic, sans-serif !important ;
    font-family:Andika Basic, serif !important ;
    font-family:Andika Basic, monospace !important ;
    font-weight: bold !important ;
}
h5 {
    font:Andika Basic !important ;
    font-family:Andika Basic, sans-serif !important ;
    font-family:Andika Basic, serif !important ;
    font-family:Andika Basic, monospace !important ;
    font-weight: bold !important ;
}
h6 {
    font:Andika Basic !important ;
    font-family:Andika Basic, sans-serif !important ;
    font-family:Andika Basic, serif !important ;
    font-family:Andika Basic, monospace !important ;
    font-weight: bold !important ;
}
h7 {
    font:Andika Basic !important ;
    font-family:Andika Basic, sans-serif !important ;
    font-family:Andika Basic, serif !important ;
    font-family:Andika Basic, monospace !important ;
    font-weight: bold !important ;
}

English is not my native language .

Offline

#9 2008-12-09 12:16:43

b0uncyfr0
Member
Registered: 2008-05-11
Posts: 140

Re: Opera QT4 fonts are terrible..

huntxu i tried user.css but nothing happened...and btw im new to opera..

patroclo7..yes i had those fonts installed.. i removed them and still nothing after starting opera up..

Does anyone even have this problem? The font is not the problem. Any font i choose is not being anti-aliased and looks very crappy. I just want to patch it up.

Offline

#10 2008-12-09 12:26:17

dav7
Member
From: Australia
Registered: 2008-02-08
Posts: 674

Re: Opera QT4 fonts are terrible..

All your fonts are antialiased, some just more than others. It might be KDE duking it out with Opera's renderer - poke around in both Opera's, KDE's and GNOME's font settings, and see if trying to match up the font settings changes anything.

-dav7


Windows was made for looking at success from a distance through a wall of oversimplicity. Linux removes the wall, so you can just walk up to success and make it your own.
--
Reinventing the wheel is fun. You get to redefine pi.

Offline

#11 2008-12-09 13:35:41

b0uncyfr0
Member
Registered: 2008-05-11
Posts: 140

Re: Opera QT4 fonts are terrible..

I played around with some settings but it hasnt improved. Maybe its just me. I havent seen any posts about opera qt4 fonts being unreadable.

Offline

#12 2008-12-09 13:45:16

dav7
Member
From: Australia
Registered: 2008-02-08
Posts: 674

Re: Opera QT4 fonts are terrible..

hmm... I'm not too sure then.... although I just realized something: some fonts look horrible in Linux, some don't. Try changing your font.

-dav7


Windows was made for looking at success from a distance through a wall of oversimplicity. Linux removes the wall, so you can just walk up to success and make it your own.
--
Reinventing the wheel is fun. You get to redefine pi.

Offline

#13 2008-12-10 00:23:52

b0uncyfr0
Member
Registered: 2008-05-11
Posts: 140

Re: Opera QT4 fonts are terrible..

no use..someone tell me what fonts theyre using on Preferences-Webpages..

Offline

#14 2008-12-10 00:51:25

Ferhiord
Member
From: Moscow, Russia
Registered: 2007-08-14
Posts: 39

Re: Opera QT4 fonts are terrible..

% cat ~/.opera/opera6.ini | grep -i core
Enable Core X Fonts=0


Sorry, if my English is not very well.

Offline

#15 2008-12-10 13:10:42

b0uncyfr0
Member
Registered: 2008-05-11
Posts: 140

Re: Opera QT4 fonts are terrible..

Tried that..nothing changed except AUR page.

Offline

#16 2008-12-10 13:37:05

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: Opera QT4 fonts are terrible..

I had exactly the same problem. In my opinion opera has serious issues with font rendering. I have a lot of commercial fonts which work very well in linux. Only exception is opera.
On one page opera can render part of the text properly and the rest is not.
http://bbs.archlinux.org
will have body text rendered correctly
but headers: Home | Forums | Wiki | Bugs | AUR | Downloads
not rendered at all.

I uninstalled Opera. This is first alpha version, so maybe fonts will be fixed later.

Offline

#17 2008-12-10 14:09:54

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: Opera QT4 fonts are terrible..

Strange... for me its the other way round.
Opera is the only browser that shows all pages with nice fonts. Firefox looks crap.

Also using the alpha btw...

Last edited by Rasi (2008-12-10 14:10:12)


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#18 2008-12-11 01:32:46

b0uncyfr0
Member
Registered: 2008-05-11
Posts: 140

Re: Opera QT4 fonts are terrible..

Very strange..and to make it worse when i upgraded to qt4 opera..flash10 alpha doesnt work anymore.

Might have to use konqueror for the time being..but its soo slowww

Offline

#19 2008-12-11 20:42:09

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: Opera QT4 fonts are terrible..

b0uncyfr0 wrote:

Very strange..and to make it worse when i upgraded to qt4 opera..flash10 alpha doesnt work anymore.

Might have to use konqueror for the time being..but its soo slowww

I wanted to add this earlier :
I think opera uses fontconfig by default .

Do you have the file '~/.fonts.conf' ?
Do you use the same settings in XFT and in fontconfig ?


English is not my native language .

Offline

#20 2008-12-11 21:57:05

b0uncyfr0
Member
Registered: 2008-05-11
Posts: 140

Re: Opera QT4 fonts are terrible..

Yep .font.conf is there

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="font" >
  <edit mode="assign" name="rgba" >
   <const>rgb</const>
  </edit>
</match>
<match target="font" >
  <edit mode="assign" name="hinting" >
   <bool>true</bool>
  </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>


Cant remember what xft is..

Offline

#21 2008-12-12 00:41:50

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: Opera QT4 fonts are terrible..

And you have 'Enable Xft Fonts' set to true in opera:config ?
That's my last guess .


English is not my native language .

Offline

#22 2008-12-12 00:48:52

b0uncyfr0
Member
Registered: 2008-05-11
Posts: 140

Re: Opera QT4 fonts are terrible..

yes xft in opera is enabled..

Offline

#23 2008-12-23 08:16:33

b0uncyfr0
Member
Registered: 2008-05-11
Posts: 140

Re: Opera QT4 fonts are terrible..

For anyone still having problems with qt4 opera. I have switched to 9.63 in extra. The fonts are looking much much better, the flash plugin is working again as well and java seems to be working with this release.

Do not use opera qt4 because your on kde4. It aint worth it.

Offline

#24 2008-12-27 02:11:05

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: Opera QT4 fonts are terrible..

Fonts still look like bad (for me) in Opera:
operafirefoxfontses6.png

Last edited by Wintervenom (2008-12-27 02:14:02)

Offline

#25 2009-03-29 14:37:34

kyotocafe
Member
From: Japan
Registered: 2009-01-28
Posts: 19

Re: Opera QT4 fonts are terrible..

I have to say that the tip of editing the opera config file mentioned by Ferhiord earlier:

% cat ~/.opera/opera6.ini | grep -i core
Enable Core X Fonts=0

worked as a charm for me. Before the fonts on certains sites, such as the arch linux main page and some more, were not looking good. Now they do.
Thanks.

Offline

Board footer

Powered by FluxBB