W3C home > Mailing lists > Public > www-style@w3.org > December 2011

[css3-fonts] what is the right font "family-name"?

From: <tao.yu@nokia.com>
Date: Mon, 12 Dec 2011 21:10:34 +0000
To: <www-style@w3.org>
Message-ID: <E16DF081AD235D4EA7FF5FE0370F2085AAB767@008-AM1MPN1-004.mgdnok.nokia.com>
Hi,

I have a question for "font-family" property.  For some fonts, I don't know what  the right "family-name" should be used in CSS.  For example, font "Arial Bold".  On Win7, it has font name "Arial Fett" ("Fett" is a German word).  If I use "Arial Fett" in the CSS file like (font-family: "Arial Fett";),  it does not work.  But if I use "Arial Bold" (font-family: "Arial Bold";), then it works ok.  So my question are: 1) which "family-name" should be used?  2) how do I find out the right "family-name" for a standard .ttf  font (example, timesbd.ttf)?

Thanks,
-Tao
Received on Monday, 12 December 2011 21:11:14 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:47 GMT