HighDots Forums  

Re: font family alternative question

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Re: font family alternative question in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mark Tranchant
 
Posts: n/a

Default Re: font family alternative question - 07-16-2003 , 09:49 AM






Ray wrote:

Quote:
Hello

How can I do this to the heading h1?

if the browser found "Arial black"
font-weight: normal;
font-family: Arial Black;
else
font-weight: bold;
font-family: Arial;
Not sure how "correct" this is, but it works in Mozilla:

h1 {
font-weight: normal;
font-family: "Arial Black", "Arial Bold";
}

Don't know whether that can be applied to your Chinese font problem.

--
Mark.
http://www.tranchant.freeserve.co.uk/



Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default Re: font family alternative question - 07-17-2003 , 10:17 AM






Mark Tranchant <mtranch2 (AT) ford (DOT) com> wrote

Quote:
Not sure how "correct" this is, but it works in Mozilla:

h1 {
font-weight: normal;
font-family: "Arial Black", "Arial Bold";
}

Don't know whether that can be applied to your Chinese font problem.
Thank you Mark, it works because there is a "Arial Bold" font file in
mt Windows system, when I removed
both "Arial Black" and "Arial Bold", only leaving "Arial" in my font
folder, h1 is displayed as normal default
font.
There is Not Chinese "MS Song Bold" font, so it does not work for
Chinese.
The problem is using *bold "MS Song"* (not "MS Song Bold") generates
lots artifacts in the display. I
realise this is not a CSS problem, this is a browser technique
problem. I have heard "Smooth edges of
screen fonts" function in some of MS Windows version (Plus! add-on)
and it is default setting in Windows
XP (I don't have WinXP, so not sure this).
I will leave it, wait for new technologies for Chinese font render. I
think the "correct" way to bolden h1 or
any other tags is to set
font-weight: bold;
how it is displayed on screen is browser and users business.

That also explain why so many Chinese web sites use img or coloured
normal font for headings (which is
not very well accessible).

I did learn something, thank you.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.