LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   fonts are bold (http://www.linuxquestions.org/questions/linux-newbie-8/fonts-are-bold-640276/)

shahin123 05-06-2008 08:45 AM

fonts are bold
 
Hi,

I have some problem with fonts on the firefox,

I did install ms fonts on my debian box, when I open a site in internet explorer the fonts are the way they should be, when I open the same site in firefox the fonts are the same as internet explorer, but bold (to dark) how can change the bold fonts to a reguler one?

THanks,

Shahin

Simon Bridge 05-07-2008 02:00 AM

edit > preferences > content > fonts and colors

You should check to see if this is site-specific. eg. is that the effect for LQ?

Realize that firefox is XHTML 1.0 compliant and IE is (generally) not. So Firefox may be correctly rendering the sites according to the W3C guidelines just not according to MS/IE guidelines.

shahin123 05-07-2008 08:55 AM

Hi Thanks for your reply,

I did go to edit > preferences > content > fonts and colors and try to change the fonts from there but still the font are in bold, comper to IE, I did a littel cheking and find out that the html pages (for that site) are not meant to work corectly on the firefox, but our programer working on it, do you think this would solve the problem?

Thanks,

Shahin

Simon Bridge 05-07-2008 06:58 PM

Maybe - if the pages are W3C compliant, they will work with firefox. IF LQ looks OK in firefox, then there is definitely something wrong with the (x)html/css in the site. Also, compare www.hbclinux.net.nz between firefox, and IE.

I recall having to specify bold to make some fonts show up properly in IE.

You may be able to mitigate the effects in firefox by resizing the page text with ctrl+scroll-wheel. A smaller typeface may render less bold.

shahin123 05-08-2008 02:36 AM

Hi Simon,



could you please look at this link in IE and firefox, maybe then you can tel me where exactlly the problem located.


This link belong to National Museum of Ethnology in holland.

http://www.volkenkunde.nl/zis/main_k...n_lakwerk.html


Thanks,

Shahin

Simon Bridge 05-08-2008 04:37 AM

Lets get this right: you want me to debug someone's web page... I normally expect to be paid for that sort of thing! Oh well... nothing ventured:

Just me looking: Note - no IE gets anyplace close to my machine!

1. It needs javascript or nothing is displayed. This is very bad practise. The page needs to be readable with a non-java browser.
2. Even with javascript I see there is no text on the page at all.
3. There is no title defined.
4. Scrollbars are disabled
Looking at the source I see scrolling="no" on all frames. It makes extensive use of frames, which is discouraged by W3C.

5. The next link is to a page written in black on a black background
6. Finally found a page with text.

6.1. There are non-utf8 characters used for display
6.2. Yup - the text is boldface.
6.3. despite saying it is "English", there is no English text on the page
Looking at source: it uses iframes - very bad habit!
Need to look at the embedded pages and the CSS to get to the character stuff though.

What does W3C think?
7 issues with validation. Mostly unencoded ampersands stopping "vitrine" being properly accessed. And you put a frame border ="no" instead of "0".

Confirms - the issue is in the embedded page or css.

The embedded page is
[html]
<LINK REL=STYLESHEET TYPE="text/css" HREF="vitrine.css">
</head>

<body background="bg_blauw_text.gif" bgcolor="#300060" class="bl">
<h4>Voor het versieren... ...door elkaar.</h4><br>

</body>
</html>
[/html]
There are h4 tags around the entire text. According to the specification, h4 is boldface. I take it this is the errant bold text?

Note: The javascript can be replaced by CSS for the picture links. You don't need the iframes at all. You only want the frames so you can keep a picture at the top... you can use div elements for that. Though there is an advantage in terms of displaying seperate content pages.

That will cost you US$100.00 + tax. Where shall I send the invoice?

shahin123 05-13-2008 04:49 AM

Hi Simon Bridge,

Thanks alot for your info,

they call you for nothing GURU, sorry if I did asked my question in a wrong way, what I meant if you could just look at the link that a sent you, and as a Guru you are, maybe you can see something that a Linux newbie like me can not see it.

Any way you had very useful info for me, and I am going with this, to our web departement and demand a explanation.

And let's spend the US$100.00 on a cold nice bire, when we see each other :)

Thank you again,

Shahin


All times are GMT -5. The time now is 11:24 AM.