Do you have the same problem when viewing GitHub diffs in IE9. See
for instance? The font-family is set to:
font-family: Consolas, "Liberation Mono", Courier, monospace;
Thanks,
Marius
On Mon, Jul 30, 2012 at 10:27 PM, Arioch <AriochThe(a)gmail.com> wrote:
Marius Dumitru Florea [via XWiki]
<ml-node+s475771n7580614h61(a)n2.nabble.com> писал(а) в своём письме Mon, 30
Jul 2012 19:13:51 +0400:
1) u use
inherit values even on root element - HTML/BODY does it have
sensethere ?
It's called CSS Reset, and it's a technique used all over the web.
I googled for term and found
http://sixrevisions.com/css/css-tips/css-tip-1-resetting-your-styles-with-c…
This concept is opposite to inheritance, it is massive overriding of
inherited values rather than re-using them.
It also sits in th basement, between browser built-in defaults and real
styles.
While "inherit" value seems to be be all through CSS from mos basic to
most narrow selectors.
> 4) Both MSIE9 Devtools and Opera DragonFly
shoes "monospace" without
> qoutesand Courier in quotes, regardless of case. So to me it suggests
> that"monospace" is standard CSS value and
"Courier"/"courier" is not,
> probablymeaning some proprietary font *name* and then browsers think
> how to overrideit (non standard vendor-specific behaviour). To support
> this idea:
As per
http://www.w3.org/TR/CSS21/fonts.html#algorithm the browsershould
first try Courier and if it doesn't support it then it shouldfall back
on Monospace which is next on the font-family list. The factthat IE9
stops at Courier font means that it is supported. The factthat the text
is badly displayed is IMO a IE9 bug.
No, it is not a bug. It is exactly what Courier font is.
Raster font obsoleted back in 1992.
In today world of vector fonts, bitmap files that were not updated since
1992 might be pardoned for looking less than fancy.
> 4.1) If i set the value "courier new,
monospace" that looks in MSIE9
> exactlylike "monospace" alone.
Probably because IE9 doesn't support
"courier new".
How can it not support the font foudn in system, while supporting all
other fonts ?
I already given an explanation - MSIE sets Courier New as a default font
for "monospace" alias.
So if you select that name by font or by alias does not make difference.
That's how Opera would react on "Consolas, monospace", for it sets
"Consolas" for default value to "monospace" alias.
I guess the fix is in your case to just remove
the Courier font fromthe
value of the font-family CSS property.
I guess font's name-calling is just to be removed from CSS.
That was sub-standard legacy-compatibility measure when there was no
support for CSS standard aliaes like "monospace".
But since you're ditching MSIE7 as "too old" one, i''m pretty sure
you can
rely that all current browsers do support standard aliases, and use the
fonts user feels are best.
For Linux there were Microsoft CoureirNew, URW, Vera, DejaVu, Liberation
and what not
Original 1955-designed Courier font with most popular implementation
obsoleted 20 years ago is hardly a good choice
i wanted to check Chrome and Mozilla, but cannot find russian text on
xwiki.org
and
http://playground.xwiki.org/ only allows anonymous reading, not editing
(sic! after i login it diallows me even read sandbox!)
4.2) in Opera "courier new" is getting
quotations exactly like "courier"
which means Opera deviates form standard by prohibiting Courier font
despite being ready in system.
But that deviation is what allows it render that style nicely.
4.3) all CSS tutorials i googled enumerate 5
standard values and Courier
isnot among them.
http://www.w3schools.com/cssref/pr_font_font-family.asp
http://en.wikipedia.org/wiki/Font_family_(HTML)#Generic_font_families
4.4) Opera always had flexible font re-mapping, 10 years ago it was very
needed without encodings support.
http://help.opera.com/Linux/9.52/en/fonts.html
The screenshots are
http://imgur.com/a/UE4h5 - i feel they support
thisidea. The comparision of liens at
http://imgur.com/a/55Xrq also
suggests it.4.5) i asked a question would see
http://dev.opera.com/articles/view/fonts-for-web-design-a-primer/#comments
Same effect i see on
http://www.indeep76.com/Style/Example007/fonts.html
Funny thing, on
http://y3x.ru/sandbox/css/font-family/ it is the opposite
picture. MSIE works with Courier+monospace nicely and Opera fails.
--
Написано в почтовом клиенте браузера Opera:
http://www.opera.com/mail/
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Diff-font-is-tp7580425p7580619.html
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users