Groups > Browsers > Opera Browser for Linux > Re: Opera 9 - Unusally low line-height (compared to Firefox 2.0.0)




Opera 9 - Unusally low line-height (compared to Firefox
2.0.0)

Opera 9 - Unusally low line-height (compared to Firefox 2.0.0)
20 Mar 2008 11:50:16 GMT
I noticed ("Opera/9.25 (X11; FreeBSD 6 i386; U; en)" and Opera
9.x on CentOS 5) on some of the sites, such as ...

  http://www.dyxum.com/

  http://www.imaging-resource.com/


... the font has unusally small line height (empty vertical space
between two lines) compared to Firefox 2.0.0 (using same font, size
does not matter).  As a result the main (or middle) column is all
vertically scrunched up (in "Author mode", using page font &
style
sheet).

Note that the all-smashed-up text I see only on the main|front page.

Is the problem with site CSS, Opera, or elsewhere?


  - parv

-- 
Post Reply
Re: Opera 9 - Unusally low line-height (compared to Firefox 2.0.0)
Thu, 20 Mar 2008 13:39:37 -040
On Thu, 20 Mar 2008 07:50:16 -0400, parv <parv_@yahoowhereelse.com>
wrote:

> I noticed ("Opera/9.25 (X11; FreeBSD 6 i386; U; en)" and Opera
>   http://www.dyxum.com/
>   http://www.imaging-resource.com/
> ... the font has unusally small line height (empty vertical space

Not happening here.  Make sure you have the core x fonts disabled ...
$ cat /etc/opera6rc.fixed
; Settings in this file are not overridable by users
[User Prefs]
Enable Core X Fonts=0

Loading http://www.imaging-resource.com/ with "opera --debugfont"
shows
it's selecting Arial, Times New Roman, and Verdana fonts, which have
to be installed on linux, usually by copying them from a windows installation.

Btw, I'm using opera 9.50, build 1875, on Mandriva linux 2008.0, i686,
with Qt library 3.3.8, and gcc 4.2.2 installed using the
opera-9.50-20080318.6-shared-qt.i386.rpm package.

Regards, Dave Hodgins

-- 
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
Post Reply
Re: Opera 9 - Unusally low line-height (compared to Firefox 2.0.0)
23 Mar 2008 08:47:06 GMT
in message <op.t8bsobo8a3w0dxdave@hodgins.homeip.net>,
wrote David W. Hodgins ...

> On Thu, 20 Mar 2008 07:50:16 -0400, parv <parv_@yahoowhereelse.com>
wrote:
>
>> I noticed ("Opera/9.25 (X11; FreeBSD 6 i386; U; en)" and
Opera
>>   http://www.dyxum.com/
>>   http://www.imaging-resource.com/
>> ... the font has unusally small line height (empty vertical space
>
> Not happening here.

Yes, font size of 14 pixel does not cause it.  Font larger than that
causes opera to smash things down.  I normally use size of 22 px.

Note that Firefox 2.0.0 does not have a problem scaling the line
height along with font size, regardless of what page CSS says.


> Make sure you have the core x fonts disabled ...
> $ cat /etc/opera6rc.fixed
> ; Settings in this file are not overridable by users
> [User Prefs]
> Enable Core X Fonts=0

Initially, the option was set to 1.  After setting to 0 did not make
any difference, I reverted it.


> Loading http://www.imaging-resource.com/ with "opera
--debugfont"
> shows it's selecting Arial, Times New Roman, and Verdana fonts,
> which have to be installed on linux, usually by copying them from
> a windows installation.

Regardless of the value of "Enable core X fonts", --debugfont showed
Verdana font being used for text of interest.  (Microsoft's free core
web fonts-thing has been installed here.)

In the end, this solved my problem for fonts at any size ...

  @media screen
  {
    *
    {
      line-height: 1.5 !important;
    }
  }


  - parv

-- 
Post Reply
about | contact