Re: [css-d] what font is being called?

2011-01-14 Thread Richard Mason

On Fri, 14 Jan 2011, Alan Gresley wrote

I am not a programmer and I wouldn't know the first thing about 
building a UA since I not even sure what web language or languages are 
involved in the process.


C++

--
Richard Mason
http://www.emdpi.com
__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] what font is being called?

2011-01-13 Thread Ulrike Eikermann
On 12 January 2011 01:53, Duncan Hill dun...@gmail.com wrote:
 On Tue, 11 Jan 2011 19:32:31 -, Rory Bernstein r...@rorybernstein.com
 wrote:

 Hello,

 When I have a series of fonts being called in a font-family rule, how do I
 know which one is the one being chosen?


 'FireFontFamily' [1] addon for the Firebug [2] extension with FireFox

 [1] https://addons.mozilla.org/en-US/firefox/addon/111672/
 [2] https://addons.mozilla.org/en-US/firefox/addon/1843/

 Duncan

Here is another Firefox Addon (Font Finder), which lets you click on
elements and tells you the font being rendered. Also it allows you
disable font families, which is useful when testing font stacks.

https://addons.mozilla.org/en-US/firefox/addon/4415/

Regards, Ulrike
__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] what font is being called?

2011-01-13 Thread Richard Mason

On Thu, 13 Jan 2011, Philippe Wittenbergh wrote


On Jan 13, 2011, at 12:48 PM, Richard Mason wrote:

Speaking of CSS specs I'm always surprised that the spec authors 
don't get called out for the nonsense they put in them. A 
specification should tell an author (a programmer) what is required. 
It should not tell them how to do it or explain computer fundamentals,


The CSS specs don't assume that Author = Programmer
Author is commonly understood as 'someone who writes a stylesheet'
(I bet that most people following css-d as not programmers)



I bet they're not either, but the CSS specifications are actually 
Software Requirement Specifications aimed at programmers rather than 
'your' author the style sheet producer. The specifications are written 
so that a programmer (software author) can write a browser that handles 
a 'sheet' written in a particular format and to a given set of rules.


A programmer can produce a browser that handles a style sheet when they 
have the formal specification, and don't need a User Manual (a book on 
CSS). On the other hand people who do have a User Manual can produce 
perfectly correct style sheets without ever reading the formal 
specifications.


--
Richard Mason
http://www.emdpi.com
__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] what font is being called?

2011-01-13 Thread Philip Taylor (Webmaster, Ret'd)



Ulrike Eikermann wrote:


Here is another Firefox Addon (Font Finder), which lets you click on
elements and tells you the font being rendered. Also it allows you
disable font families, which is useful when testing font stacks.

https://addons.mozilla.org/en-US/firefox/addon/4415/


What happens if font substition happens /within the element/.
Ulrike : for example, if I write

span style=font-family: ASCIIabcd天頂の囲碁1234/span

and the font ASCII has only the 256 glyphs of the standard ASCII
character set, the browser will be forced to use substitution for
the Japanese characters, yet these do not form an element in their
own right.

Philip Taylor
__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Re: [css-d] what font is being called?

2011-01-13 Thread Alan Gresley

On 13/01/2011 10:16 PM, Richard Mason wrote:

On Thu, 13 Jan 2011, Philippe Wittenbergh wrote



The CSS specs don't assume that Author = Programmer
Author is commonly understood as 'someone who writes a stylesheet'
(I bet that most people following css-d as not programmers)



I bet they're not either, but the CSS specifications are actually
Software Requirement Specifications aimed at programmers rather than
'your' author the style sheet producer. The specifications are written
so that a programmer (software author) can write a browser that handles
a 'sheet' written in a particular format and to a given set of rules.



http://www.w3.org/TR/CSS21/about.html#reading

  | This specification has been written with two types of readers in mind:
  | CSS authors and CSS implementors. We hope the specification will 
provide

  | authors with the tools they need to write efficient, attractive, and
  | accessible documents, without overexposing them to CSS's 
implementation

  | details. Implementors, however, should find all they need to build
  | conforming user agents. The specification begins with a general
  | presentation of CSS and becomes more and more technical and specific
  | towards the end.


BTW, I though this thread was about font.


--
Alan http://css-class.com/

Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo
__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] what font is being called?

2011-01-13 Thread Philippe Wittenbergh

On Jan 13, 2011, at 8:16 PM, Richard Mason wrote:

 I bet they're not either, but the CSS specifications are actually Software 
 Requirement Specifications aimed at programmers rather than 'your' author 
 the style sheet producer.

ahem:

http://www.w3.org/TR/CSS21/about.html#reading
[quote]
This specification has been written with two types of readers in mind: CSS 
authors and CSS implementors. …
[/quote]

Whenever CSS specs  docs refer to the people who build rendering engines, they 
talk about implementors

Philippe
---
Philippe Wittenbergh
http://l-c-n.com/





__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] what font is being called?

2011-01-13 Thread Rory Bernstein
 On 12 January 2011 01:53, Duncan Hill dun...@gmail.com wrote:
 On Tue, 11 Jan 2011 19:32:31 -, Rory Bernstein r...@rorybernstein.com
 wrote:
 
 Hello,
 
 When I have a series of fonts being called in a font-family rule, how do I
 know which one is the one being chosen?
 
 
 'FireFontFamily' [1] addon for the Firebug [2] extension with FireFox
 
 [1] https://addons.mozilla.org/en-US/firefox/addon/111672/
 [2] https://addons.mozilla.org/en-US/firefox/addon/1843/
 
 Duncan
 
 Here is another Firefox Addon (Font Finder), which lets you click on
 elements and tells you the font being rendered. Also it allows you
 disable font families, which is useful when testing font stacks.
 
 https://addons.mozilla.org/en-US/firefox/addon/4415/
 
 Regards, Ulrike


This is a great add-on, I just installed it, and it seems to be just what I was 
looking for. Thank you so much for the info.
Best,
Rory
__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] what font is being called?

2011-01-13 Thread Jukka K. Korpela

Philip Taylor (Webmaster, Ret'd) wrote:


Ulrike Eikermann wrote:


Here is another Firefox Addon (Font Finder), which lets you click on
elements and tells you the font being rendered. Also it allows you
disable font families, which is useful when testing font stacks.

https://addons.mozilla.org/en-US/firefox/addon/4415/


What happens if font substition happens /within the element/.


Font Finder reports the font as being a declared one (the one that applies 
according to cascading rules), even it is in fact not used and cannot be 
used.


By the way, if you install Font Finder without installing Firebug, then Font 
Finder superficially works but always reports the first font as being 
used, even if a font with that name does not exist in the system att. 
Apparently it relies on Firebug in finding out the cascade result.



Ulrike : for example, if I write

span style=font-family: ASCIIabcd天頂の囲碁1234/span

and the font ASCII has only the 256 glyphs of the standard ASCII
character set, the browser will be forced to use substitution for
the Japanese characters, yet these do not form an element in their
own right.


And even if you wrap them inside an inner span element, Font Finder 
reports ASCII as being in use for the inner element, even though the element 
contains no character representable in the font.


But if I copy and paste the text in WordPad, it tells me that the font 
actually used is (in this case) MS PGothic. This is not surprising, as that 
happens to be the default sans-serif font for Japanese characters in my 
Firefox.


--
Yucca, http://www.cs.tut.fi/~jkorpela/ 


__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Re: [css-d] what font is being called?

2011-01-13 Thread Philip Taylor (Webmaster, Ret'd)



Jukka K. Korpela wrote:

 And even if you wrap them inside an inner span element, Font Finder
 reports ASCII as being in use for the inner element, even though the
 element contains no character representable in the font.

Argh : a potentially useful tool, perhaps, but by no means a perfect one.
Philip Taylor
--
Not sent from my i-Pad, i-Phone, Blackberry, Blueberry, or any
such similar poseurs' toy, none of which would I be seen dead
with even if they came free with every packet of cornflakes.
__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] what font is being called?

2011-01-13 Thread Richard Mason

On Thu, 13 Jan 2011, Alan Gresley wrote


http://www.w3.org/TR/CSS21/about.html#reading

 | This specification has been written with two types of readers in mind:
 | CSS authors and CSS implementors. We hope the specification will 
provide

 | authors with the tools they need to write efficient, attractive, and
 | accessible documents, without overexposing them to CSS's 
implementation

 | details. Implementors, however, should find all they need to build
 | conforming user agents. The specification begins with a general
 | presentation of CSS and becomes more and more technical and specific
 | towards the end.


I said the specs were 'aimed' at programmers, not 'exclusive to'. Your 
quote confirms this:
Implementors, however, should find all they need to build conforming 
user agents.
So, a Software Requirement Specification also made available to CSS 
authors


--
Richard Mason
http://www.emdpi.com
__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] what font is being called?

2011-01-13 Thread Alan Gresley

On 14/01/2011 10:48 AM, Richard Mason wrote:

On Thu, 13 Jan 2011, Alan Gresley wrote


http://www.w3.org/TR/CSS21/about.html#reading

| This specification has been written with two types of readers in mind:
| CSS authors and CSS implementors. We hope the specification will
provide
| authors with the tools they need to write efficient, attractive, and
| accessible documents, without overexposing them to CSS's implementation
| details. Implementors, however, should find all they need to build
| conforming user agents. The specification begins with a general
| presentation of CSS and becomes more and more technical and specific
| towards the end.


I said the specs were 'aimed' at programmers, not 'exclusive to'.



No, the spec is aimed equally to both authors and UA implementers.

I as an author became better at CSS by reading the specs. I as a CSS 
tester became better in testing the implementations by reading the 
specs. I as a CSS WG list contributor became better at giving feedback 
on the specs by reading the specs.


I am not a programmer and I wouldn't know the first thing about building 
a UA since I not even sure what web language or languages are involved 
in the process.



--
Alan http://css-class.com/

Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo
__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] what font is being called?

2011-01-12 Thread Bruno Fassino
On Wed, Jan 12, 2011 at 3:32 AM, Richard Mason whitne...@xtra.co.nz wrote:
 On Wed, 12 Jan 2011, Philippe Wittenbergh wrote

 If you want/need to know the aspect ratio of a font, this service can help
 (for fonts installed on your local drives):
 http://fontdeck.com/font-size-adjust.html
 or this page:
 http://brunildo.org/test/fontlist3.html

 Both wrong because the aspect ratio of a font is not fixed but varies with
 font size.
 At http://www.emdpi.com/cssfontsizeadjust.html I have a download with graphs
 of aspect ratio v font size (10px to 50px) for a number of fonts.


Yes, the computation of the aspect ratio gives results depending on
the size. But this does not mean that such computations are wrong.
Most of the oscillations observed starting from small sizes are caused
by the inevitable fact that fonts are rendered on a discrete grid with
very few pixels. I think that what is usually called 'aspect ratio'
(without size specification) is the ideal ratio, when the font is
rendered on a sufficiently fine grid. Indeed if you extend the
computation of your graphs to higher sizes the oscillations reduce. In
addition to the page mentioned by Philippe, I also have this ones [1],
[2], where you can produce graphs similar to yours (they require a
browser with correct support of em, Gecko 1.9 and also IE 9 seems
working fine. The oscillations smooth out if you go till something
like 1000px).
The oscillations observed at small font-sizes probably reduce the
usefulness of font-size-adjust at that sizes, but does not necessarily
mean that is useless or that it must be fed values depending on the
size (Moreover as technology improve and physical pixels density
increase, we will hopefully have to work in a range where the
oscillations of the above graphs are smaller).

Regards,
Bruno


[1] http://brunildo.org/test/x-height-compare.html
[2] http://brunildo.org/test/normal-lh-plot.html
-- 
Bruno Fassino http://www.brunildo.org/test
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] what font is being called?

2011-01-12 Thread Richard Mason

On Wed, 12 Jan 2011, Bruno Fassino wrote

Yes, the computation of the aspect ratio gives results depending on the 
size. But this does not mean that such computations are wrong.


I'm not sure I understand that sentence, but I think you would agree 
that it is desirable to state in information sources on this topic that 
x-height varies with font size, and a reason why as you have indicated. 
From there one could perhaps reasonably say that it isn't particularly 
important, and if the value can not be deduced the browser invents one 
but I certainly don't think that sources should invent values, like the 
CSS spec used to, and say they are fixed. People read these documents, 
take the false data as fact carved in stone, and then repeat it in books 
and articles that are read for years.


Speaking of CSS specs I'm always surprised that the spec authors don't 
get called out for the nonsense they put in them. A specification should 
tell an author (a programmer) what is required. It should not tell them 
how to do it or explain computer fundamentals, unless there is a really 
special need to do so. You shouldn't expect to have to explain to a 
programmer how to do their job any more than you would ask a skilled 
carpenter to make a cabinet and then insist on telling them what a tape 
measure is and how to use it.


We have this in the CSS Fonts Module Level 3 3.7 Relative sizing: the 
‘font-size-adjust’ property
Authors can calculate the aspect value for a given font by comparing 
spans with the same content but different font-size-adjust properties. 
If the same font-size is used, the spans will match when the 
font-size-adjust value is accurate for the given font.
True? Possibly. But no competent programmer in their right mind would 
get values this way when the Operating System API's will give them the 
answer directly.


--
Richard Mason
http://www.emdpi.com
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Re: [css-d] what font is being called?

2011-01-12 Thread Philippe Wittenbergh

On Jan 13, 2011, at 12:48 PM, Richard Mason wrote:

 Speaking of CSS specs I'm always surprised that the spec authors don't get 
 called out for the nonsense they put in them. A specification should tell an 
 author (a programmer) what is required. It should not tell them how to do it 
 or explain computer fundamentals,

The CSS specs don't assume that Author = Programmer

Author is commonly understood as 'someone who writes a stylesheet'
(I bet that most people following css-d as not programmers)

Philippe
---
Philippe Wittenbergh
http://l-c-n.com/





__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] what font is being called?

2011-01-12 Thread Bruno Fassino
On Thu, Jan 13, 2011 at 4:48 AM, Richard Mason whitne...@xtra.co.nz wrote:

 I'm not sure I understand that sentence, but I think you would agree that it
 is desirable to state in information sources on this topic that x-height
 varies with font size, and a reason why as you have indicated. From there
 one could perhaps reasonably say that it isn't particularly important, and
 if the value can not be deduced the browser invents one but I certainly
 don't think that sources should invent values, like the CSS spec used to,
 and say they are fixed. People read these documents, take the false data as
 fact carved in stone, and then repeat it in books and articles that are read
 for years.

I don't think that in this particular case the CSS specs are giving so
false data. It's common to speak of x-height ratio as a font unique
ratio, see for example this definition [1], with its detail typically
with 1000 or 2048 units to the Em.
The oscillations that we see at small font sizes are a sort of
accident, caused by limitations imposed by a coarse grid, which may or
may not be important.

Regards,
Bruno


[1] http://typophile.com/node/12028

-- 
Bruno Fassino http://www.brunildo.org/test
__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] what font is being called?

2011-01-11 Thread Philip Taylor (Webmaster, Ret'd)



Rory Bernstein wrote:


When I have a series of fonts being called in a font-family rule, how do I know 
which one is the one being chosen?


You don't, unless JavaScript can tell you (see below).


On this page:
http://mcgivney.ehclients.com/locations/

The font should be the Titillium for the whole page, but of course it gets 
complicated when there are browsers that cannot show this font and it falls 
back to the next font in the stack, which is Tahoma, then Arial.

How do I know which one the browser is giving me?


Unless JavaScript can disclose the answer, I fear that you can't.


Are there any places on the above URL where it is NOT showing Titillium?


In some browser, under some operating system, when the moon is
in the ascendant and Jupiter aligns with Mars, almost certainly.
In my browser, under Win/XP;SP3, I still don't know, since
I don't know what Titillium looks like and I don't know if
I'd be able to visually differentiate between it and
a substitute.  I'll be very happy to send you a screenshot
(or a PDF) if you think that might help, but my honest
suggestion is stop worrying.  CSS is about suggestions,
not rules.

Philip Taylor
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] what font is being called?

2011-01-11 Thread David Laakso

On 1/11/11 2:32 PM, Rory Bernstein wrote:

Hello,

When I have a series of fonts being called in a font-family rule, how do I know 
which one is the one being chosen?

On this page:
http://mcgivney.ehclients.com/locations/

The font should be the Titillium for the whole page, but of course it gets 
complicated when there are browsers that cannot show this font and it falls 
back to the next font in the stack, which is Tahoma, then Arial.

How do I know which one the browser is giving me?

Are there any places on the above URL where it is NOT showing Titillium?

Thanks!
Rory




Titillium has easily distinguishable glyphs that are easily distinguishable 
from Tahoma/Arial-- it sometimes helps to use +2 font-scaling if you have set 
the fonts smaller than default. @fontface is well supported [assuming you have 
set it correctly ] in IE 6/7/8 and among the current versions of compliant 
browsers, including IE9. @fontface is not supported in Camino -- but then you 
already new that -- nor, in earlier versions of browsers prior to the 
introduction of the CSS @fontface module.

Titillium
http://www.fontsquirrel.com/fonts/TitilliumText

Best,
~d


--
http://chelseacreekstudio.com/
http://chelseacreekstudio.com/fa/

__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] what font is being called?

2011-01-11 Thread David Laakso

On 1/11/11 3:10 PM, Rory Bernstein wrote:

On Jan 11, 2011, at 3:08 PM, David Laakso wrote:


On 1/11/11 2:32 PM, Rory Bernstein wrote:

Hello,

When I have a series of fonts being called in a font-family rule, how do I know 
which one is the one being chosen?

On this page:
http://mcgivney.ehclients.com/locations/

The font should be the Titillium for the whole page, but of course it gets 
complicated when there are browsers that cannot show this font and it falls 
back to the next font in the stack, which is Tahoma, then Arial.

How do I know which one the browser is giving me?

Are there any places on the above URL where it is NOT showing Titillium?

Thanks!
Rory



Titillium has easily distinguishable glyphs that are easily distinguishable 
from Tahoma/Arial-- it sometimes helps to use +2 font-scaling if you have set 
the fonts smaller than default. @fontface is well supported [assuming you have 
set it correctly ] in IE 6/7/8 and among the current versions of compliant 
browsers, including IE9. @fontface is not supported in Camino -- but then you 
already new that -- nor, in earlier versions of browsers prior to the 
introduction of the CSS @fontface module.

Titillium
http://www.fontsquirrel.com/fonts/TitilliumText

Best,
~d


David, can you tell me how to use +2 font scaling? What does that mean? Thanks 
for your reply, very  helpful as always.
Rory



It means make the type bigger so that you can see it and read it more 
easily [ and so that you can play god and break nearly every site on the 
Web when doing so:-) ].

Fron the keyboard:
PC
Press the ctrl key and bang the +[plus] key 2 or 3 times
Mac
Press the apple key and bang the +[plus] key 2 or 3 times
IE
Depends on version, IE6 is:
ViewText SizeLargest

Best,
~d






--
http://chelseacreekstudio.com/
http://chelseacreekstudio.com/fa/

__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] what font is being called?

2011-01-11 Thread Philippe Wittenbergh

On Jan 12, 2011, at 4:32 AM, Rory Bernstein wrote:

 On this page: 
 http://mcgivney.ehclients.com/locations/
 
 The font should be the Titillium for the whole page, but of course it gets 
 complicated when there are browsers that cannot show this font and it falls 
 back to the next font in the stack, which is Tahoma, then Arial. 
 
 How do I know which one the browser is giving me? 

Why do you worry so hard about the font the browser will actually see ? As 
Philip noted, Css is a bout suggestions…

The best you can do is provide adequate fall-back fonts; ideally, you'd use a 
fall-back font with similar metrics (esp aspect-ratio) – insuring a similar 
flow of text on the page. If you want/need to know the aspect ratio of a font, 
this service can help (for fonts installed on your local drives):
http://fontdeck.com/font-size-adjust.html
or this page:
http://brunildo.org/test/fontlist3.html

The second one needs Flash installed. Best, most accurate results with a Gecko 
1.9.0 or newer browser in both cases. Opera returns bogus results last I 
checked.

For fonts not installed locally, the font-squirel generator informs you of the 
aspect-ratio of the fonts when uploading:
http://www.fontsquirrel.com/fontface/generator

PS - Titillium displays quite poorly on windows XP computers with ClearType 
turned off.

Philippe
---
Philippe Wittenbergh
http://l-c-n.com/





__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] what font is being called?

2011-01-11 Thread Duncan Hill
On Tue, 11 Jan 2011 19:32:31 -, Rory Bernstein  
r...@rorybernstein.com wrote:



Hello,

When I have a series of fonts being called in a font-family rule, how do  
I know which one is the one being chosen?


On this page:
http://mcgivney.ehclients.com/locations/

The font should be the Titillium for the whole page, but of course it  
gets complicated when there are browsers that cannot show this font and  
it falls back to the next font in the stack, which is Tahoma, then Arial.


How do I know which one the browser is giving me?


'FireFontFamily' [1] addon for the Firebug [2] extension with FireFox

[1] https://addons.mozilla.org/en-US/firefox/addon/111672/
[2] https://addons.mozilla.org/en-US/firefox/addon/1843/

Duncan
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] what font is being called?

2011-01-11 Thread Richard Mason

On Wed, 12 Jan 2011, Philippe Wittenbergh wrote

If you want/need to know the aspect ratio of a font, this service can 
help (for fonts installed on your local drives):

http://fontdeck.com/font-size-adjust.html
or this page:
http://brunildo.org/test/fontlist3.html


Both wrong because the aspect ratio of a font is not fixed but varies 
with font size.
At http://www.emdpi.com/cssfontsizeadjust.html I have a download with 
graphs of aspect ratio v font size (10px to 50px) for a number of fonts.


--
Richard Mason
http://www.emdpi.com
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] what font is being called?

2011-01-11 Thread Philippe Wittenbergh

On Jan 12, 2011, at 11:32 AM, Richard Mason wrote:

 On Wed, 12 Jan 2011, Philippe Wittenbergh wrote
 
 If you want/need to know the aspect ratio of a font, this service can help 
 (for fonts installed on your local drives):
 http://fontdeck.com/font-size-adjust.html
 or this page:
 http://brunildo.org/test/fontlist3.html
 
 Both wrong because the aspect ratio of a font is not fixed but varies with 
 font size.
 At http://www.emdpi.com/cssfontsizeadjust.html I have a download with graphs 
 of aspect ratio v font size (10px to 50px) for a number of fonts.

Both services will give you an idea of how the aspect-ratio of the fallback 
font will relate to the first-choice font. That is the point. Without using 
font-size adjust, it doesn't matter much beyond that (and even with 
font-size-adjust, it doesn't really matter).

Philippe
---
Philippe Wittenbergh
http://l-c-n.com/





__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] what font is being called?

2011-01-11 Thread Rory Bernstein
 On Jan 12, 2011, at 11:32 AM, Richard Mason wrote:
 
 On Wed, 12 Jan 2011, Philippe Wittenbergh wrote
 
 If you want/need to know the aspect ratio of a font, this service can help 
 (for fonts installed on your local drives):
 http://fontdeck.com/font-size-adjust.html
 or this page:
 http://brunildo.org/test/fontlist3.html
 
 Both wrong because the aspect ratio of a font is not fixed but varies with 
 font size.
 At http://www.emdpi.com/cssfontsizeadjust.html I have a download with graphs 
 of aspect ratio v font size (10px to 50px) for a number of fonts.
 
 Both services will give you an idea of how the aspect-ratio of the fallback 
 font will relate to the first-choice font. That is the point. Without using 
 font-size adjust, it doesn't matter much beyond that (and even with 
 font-size-adjust, it doesn't really matter).
 
 Philippe
 ---
 Philippe Wittenbergh
 http://l-c-n.com/

Thank you everyone for all the info about fallback fonts, aspect-ratios and 
lots of stuff that overwhelms me! I will look into those firebug add-ons. I 
appreciate all the feedback about my font issue.
Rory

__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] what font is being called?

2011-01-11 Thread Richard Mason

On Wed, 12 Jan 2011, Philippe Wittenbergh wrote
Both services will give you an idea of how the aspect-ratio of the 
fallback font will relate to the first-choice font. That is the point. 
Without using font-size adjust, it doesn't matter much beyond that (and 
even with font-size-adjust, it doesn't really matter).


OK, so next time instead of:
If you want/need to know the aspect ratio of a font, this service can 
help


You could say:
If you want/need to know the aspect ratio of a font, both services can 
help you get the completely false idea of how the aspect-ratio of the 
fallback font will relate to the first-choice font, but it doesn't 
matter so I wouldn't bother anyway.


Interesting :-)

--
Richard Mason
http://www.emdpi.com
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/