

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
14 messages in org.css-discuss.lists.css-d[css-d] font-family font sizes| From | Sent On | Attachments |
|---|---|---|
| David Sharp | Apr 24, 2007 3:07 am | |
| Simon White | Apr 24, 2007 3:30 am | |
| Philippe Wittenbergh | Apr 24, 2007 3:54 am | |
| David Sharp | Apr 24, 2007 10:50 pm | |
| Jukka K. Korpela | Apr 25, 2007 2:57 pm | |
| Philippe Wittenbergh | Apr 25, 2007 4:53 pm | |
| Jukka K. Korpela | May 17, 2007 2:44 pm | |
| Philippe Wittenbergh | May 17, 2007 7:03 pm | |
| Bruno Fassino | May 18, 2007 4:25 am | |
| Jukka K. Korpela | May 18, 2007 8:03 am | |
| Jukka K. Korpela | May 28, 2007 11:07 am | |
| Lori Lay | May 28, 2007 1:37 pm | |
| Jukka K. Korpela | May 28, 2007 1:54 pm | |
| Philippe Wittenbergh | May 28, 2007 5:19 pm |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | [css-d] font-family font sizes | Actions... |
|---|---|---|
| From: | Philippe Wittenbergh (...@) | |
| Date: | Apr 25, 2007 4:53:46 pm | |
| List: | org.css-discuss.lists.css-d | |
Jukka K. Korpela wrote:
On Tue, 24 Apr 2007, Philippe Wittenbergh wrote:
font-size-adjust is support by Gecko (Firefox) on Windows. Firefox 3.0/Gecko 1.9 will have support for it on all platforms. Unfortunately, no other browser support it at the time of writing.
That's interesting news. But presumably there won't be any support in IE in the foreseeable future.
And I don't quite get the idea. The property is supposed to help in situations like
font-family: Verdana, Arial, sans-serif;
so that I can handle the problem that Verdana looks larger than Arial of the same size, so if I set the size suitable for Verdana, it will be too large for Arial. But it is supposed to help so that the browser analyzes the properties (basically, x height) of the fonts listed, the adjusts the font size accordingly. How can this help? If my system has Verdana, it will be used, and the problem does not arise. If my system has no font under that name, how is the browser expected to know the properties of the font?
So it seems that this could only help when the primarily suggested font (and thus its font information) _is_ available but its use has been prevented. This is a possible scenario, but hardly a common one.
font-size-adjust works on the first specified font-family in the stylesheet.
You know that the value for Verdana is 0.58 [1]. You specify that. If you have 'Verdana', no problems arise, as you say. If 'Verdana' is not available, the size of the font that is actually used will be enlarged or reduced to match the aspect value of 'Verdana'.
Here is a test case. The first paragraph doesn't have a value for font-size-adjust specified; the second has. <http://dev.l-c-n.com/_temp/font-size-adjust.html> Remove/disable 'Verdana' on your system. It then looks like this on my system (OS X, Gecko latest trunk build): <http://dev.l-c-n.com/_b/font-size-adjust.png>
The only problem I have atm is finding the aspect value for a given font. The font contains that information, but I haven't found an utility to tell me that value, nor any resource for it - especially for fonts I don't have.
[1] <http://www.w3.org/TR/REC-CSS2/fonts.html#propdef-font-size-adjust> <http://www.w3.org/TR/css3-fonts/#font-size-props>
Philippe --- Philippe Wittenbergh <http://emps.l-c-n.com>







