Diff font is

classic Classic list List threaded Threaded
17 messages Options
Reply | Threaded
Open this post in threaded view
|

Diff font is

Arioch
http://imgur.com/B9e2c

Sometimes i see sach interspaced font when seeing some chinese or japanese or other hieroglyphic messages.

But why for Russian ? very hard to read!
Reply | Threaded
Open this post in threaded view
|

Re: Diff font is

Marius Dumitru Florea
That's really strange. Can you check with Firebug (or any DOM
inspection tool) what is the font applied (from computed style) to
that line?

Thanks,
Marius

On Wed, Jul 18, 2012 at 3:47 PM, Arioch <[hidden email]> wrote:

> http://imgur.com/B9e2c
>
> Sometimes i see sach interspaced font when seeing some chinese or japanese
> or other hieroglyphic messages.
>
> But why for Russian ? very hard to read!
>
> --
> View this message in context: http://xwiki.475771.n2.nabble.com/Diff-font-is-tp7580425.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Diff font is

Arioch
That only displays so in MSIE9, not in Opera 12.

However CSS inspection in MSIE is not not comfort.

Okay.
Trigger is : div.diff-container {font-family }

If i remove "courier" from there or put it after "monospace" - then MSIE renders more or less okay.

I'd like to note:

1) u use inherit values even on root element -  HTML/BODY does it have sense there ?
2) dunno about Chrome and Moz, but in Opera and MSIe use of inherit strikes out all other values. IT is hard to track which value is in effect :-/  Had to remove styles one after another.
3) inherit only supported since MSIE 8. You render out MSIE6 and MSIE 7. Would have to try tpo push for MSIE8 upgrade if install xwiki into intranet.
4) Both MSIE9 Devtools and Opera DragonFly shoes "monospace" without qoutes and Courier in quotes, regardless of case. So to me it suggests that "monospace" is standard CSS value and "Courier"/"courier" is not, probably meaning some proprietary font *name* and then browsers think how to override it (non standard vendor-specific behaviour). To support this idea:
4.0) as i remember, "Courier" was old raster 16-bit Windows font. Scaleable TTf font is called "Courier New"
4.1) If i set the value "courier new, monospace" that looks in MSIE9 exactly like "monospace" alone.
4.2) in Opera "courier new" is getting quotations exactly like "courier"
4.3) all CSS tutorials i googled enumerate 5 standard values and Courier is not 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 this idea.
     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.
Reply | Threaded
Open this post in threaded view
|

Re: Diff font is

Marius Dumitru Florea
On Thu, Jul 19, 2012 at 12:20 PM, Arioch <[hidden email]> wrote:

> That only displays so in MSIE9, not in Opera 12.
>
> However CSS inspection in MSIE is not not comfort.
>
> Okay.
> Trigger is : div.diff-container {font-family }
>
> If i remove "courier" from there or put it after "monospace" - then MSIE
> renders more or less okay.
>
> I'd like to note:
>

> 1) u use inherit values even on root element -  HTML/BODY does it have sense
> there ?

It's called CSS Reset, and it's a technique used all over the web.

> 2) dunno about Chrome and Moz, but in Opera and MSIe use of inherit strikes
> out all other values. IT is hard to track which value is in effect :-/  Had
> to remove styles one after another.

> 3) inherit only supported since MSIE 8. You render out MSIE6 and MSIE 7.

IE6 and 7 are not supported any more.

> Would have to try tpo push for MSIE8 upgrade if install xwiki into intranet.
> 4) Both MSIE9 Devtools and Opera DragonFly shoes "monospace" without qoutes
> and Courier in quotes, regardless of case. So to me it suggests that
> "monospace" is standard CSS value and "Courier"/"courier" is not, probably
> meaning some proprietary font *name* and then browsers think how to override
> it (non standard vendor-specific behaviour). To support this idea:

As per http://www.w3.org/TR/CSS21/fonts.html#algorithm the browser
should first try Courier and if it doesn't support it then it should
fall back on Monospace which is next on the font-family list. The fact
that IE9 stops at Courier font means that it is supported. The fact
that the text is badly displayed is IMO a IE9 bug.

> 4.0) as i remember, "Courier" was old raster 16-bit Windows font. Scaleable
> TTf font is called "Courier New"

> 4.1) If i set the value "courier new, monospace" that looks in MSIE9 exactly
> like "monospace" alone.

Probably because IE9 doesn't support "courier new".

I guess the fix is in your case to just remove the Courier font from
the value of the font-family CSS property.

Hope this helps,
Marius

> 4.2) in Opera "courier new" is getting quotations exactly like "courier"
> 4.3) all CSS tutorials i googled enumerate 5 standard values and Courier is
> not 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 this
> idea.
>      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.
>
>
> --
> View this message in context: http://xwiki.475771.n2.nabble.com/Diff-font-is-tp7580425p7580437.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Diff font is

Sergiu Dumitriu-2
On 07/30/2012 11:13 AM, Marius Dumitru Florea wrote:

> On Thu, Jul 19, 2012 at 12:20 PM, Arioch <[hidden email]> wrote:
>> That only displays so in MSIE9, not in Opera 12.
>>
>> However CSS inspection in MSIE is not not comfort.
>>
>> Okay.
>> Trigger is : div.diff-container {font-family }
>>
>> If i remove "courier" from there or put it after "monospace" - then MSIE
>> renders more or less okay.
>>
>> I'd like to note:
>>
>
>> 1) u use inherit values even on root element -  HTML/BODY does it have sense
>> there ?
>
> It's called CSS Reset, and it's a technique used all over the web.
>
>> 2) dunno about Chrome and Moz, but in Opera and MSIe use of inherit strikes
>> out all other values. IT is hard to track which value is in effect :-/  Had
>> to remove styles one after another.
>
>> 3) inherit only supported since MSIE 8. You render out MSIE6 and MSIE 7.
>
> IE6 and 7 are not supported any more.
>
>> Would have to try tpo push for MSIE8 upgrade if install xwiki into intranet.
>> 4) Both MSIE9 Devtools and Opera DragonFly shoes "monospace" without qoutes
>> and Courier in quotes, regardless of case. So to me it suggests that
>> "monospace" is standard CSS value and "Courier"/"courier" is not, probably
>> meaning some proprietary font *name* and then browsers think how to override
>> it (non standard vendor-specific behaviour). To support this idea:
>
> As per http://www.w3.org/TR/CSS21/fonts.html#algorithm the browser
> should first try Courier and if it doesn't support it then it should
> fall back on Monospace which is next on the font-family list. The fact
> that IE9 stops at Courier font means that it is supported. The fact
> that the text is badly displayed is IMO a IE9 bug.
>
>> 4.0) as i remember, "Courier" was old raster 16-bit Windows font. Scaleable
>> TTf font is called "Courier New"
>
>> 4.1) If i set the value "courier new, monospace" that looks in MSIE9 exactly
>> like "monospace" alone.
>
> Probably because IE9 doesn't support "courier new".

Font names with spaces in them should be placed in quotes. Try:

font-family: "Courier New", monospace;

> I guess the fix is in your case to just remove the Courier font from
> the value of the font-family CSS property.
>
> Hope this helps,
> Marius
>
>> 4.2) in Opera "courier new" is getting quotations exactly like "courier"
>> 4.3) all CSS tutorials i googled enumerate 5 standard values and Courier is
>> not 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 this
>> idea.
>>       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.


--
Sergiu Dumitriu
http://purl.org/net/sergiu/


_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Diff font is

Arioch
In reply to this post by Marius Dumitru Florea
Marius Dumitru Florea [via XWiki] <[hidden email]> писал(а) в своём письме Mon, 30 Jul 2012 19:13:51 +0400:

> 1) u use inherit values even on root element -  HTML/BODY does it have sense 
> there ?

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-css-reset/

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 qoutes 
>> and Courier in quotes, regardless of case. So to me it suggests that 
>> "monospace" is standard CSS value and "Courier"/"courier" is not, probably 
>> meaning some proprietary font *name* and then browsers think how to override 
>> it (non standard vendor-specific behaviour). To support this idea: 

> As per http://www.w3.org/TR/CSS21/fonts.html#algorithm the browser
> should first try Courier and if it doesn't support it then it should 
> fall back on Monospace which is next on the font-family list. The fact 
> that IE9 stops at Courier font means that it is supported. The fact 
> that 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 exactly 
>> like "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 from 
> the 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 is
> not 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 this
> idea.
>      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/
Reply | Threaded
Open this post in threaded view
|

Re: Diff font is

Arioch
In reply to this post by Sergiu Dumitriu-2
Sergiu Dumitriu-2 [via XWiki] <[hidden email]> писал(а) в своём письме Mon, 30 Jul 2012 19:22:58 +0400:
 

Font names with spaces in them should be placed in quotes. Try:

font-family: "Courier New", monospace;


I tried with single quotes (apostrophes), with double quotes and unquoted. no difference.

Both browsers in their CSS inspectors have their own ideas when to render quotes and when not.
Would i put them in CSS or not does not count for them.

And frankly, since value of "monospace" alias is already "Courier New" for MSIE, it could not cause difference even if parse error happened

The only thing needed was not to use 20+ years old bitmap font.
Opera has hardcoded this deviation from standard, MSIE followed standard instead and...

--
Написано в почтовом клиенте браузера Opera: http://www.opera.com/mail/
Reply | Threaded
Open this post in threaded view
|

Re: Diff font is

Marius Dumitru Florea
In reply to this post by Arioch
Do you have the same problem when viewing GitHub diffs in IE9. See
https://github.com/xwiki/xwiki-platform/commit/dd867b81740d1b79b60b0859ee33ab1d00c84e1d
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 <[hidden email]> wrote:

> Marius Dumitru Florea [via XWiki]
> <[hidden email]> писал(а) в своём письме 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-css-reset/
>
> 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
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Diff font is

Arioch
> Do you have the same problem when viewing GitHub diffs in IE9. See 
>https://github.com/xwiki/xwiki-platform/commit/dd867b81740d1b79b60b0859ee33ab1d00c84e1d
> for instance? The font-family is set to: 
> font-family: Consolas, "Liberation Mono", Courier, monospace; 

Well, there is no russian text there.

So even when i remove more modern fonts (BTW i wonder why there is not "Lucida Console" mentioned. From Win2000 to Vista it was recommended font for sources on Win) the picture remains okay.


Reply | Threaded
Open this post in threaded view
|

Re: Diff font is

Marius Dumitru Florea
I updated the font used to display the diff. See
https://github.com/xwiki/xwiki-platform/commit/dd63bb2b682edf0f01a4bf1b314953de9edfeabe
. Let me know if it's better.

Thanks,
Marius

On Tue, Jul 31, 2012 at 2:17 PM, Arioch <[hidden email]> wrote:

>> Do you have the same problem when viewing GitHub diffs in IE9. See
>>https://github.com/xwiki/xwiki-platform/commit/dd867b81740d1b79b60b0859ee33ab1d00c84e1d<https://github.com/xwiki/xwiki-platform/commit/dd867b81740d1b79b60b0859ee33ab1d00c84e1d>
>> for instance? The font-family is set to:
>> font-family: Consolas, "Liberation Mono", Courier, monospace;
>
> Well, there is no russian text there.
>
> So even when i remove more modern fonts (BTW i wonder why there is not
> "Lucida Console" mentioned. From Win2000 to Vista it was recommended font
> for sources on Win) the picture remains okay.
>
> http://shot.qip.ru/008DN7-1PXOGWuBy/
> http://shot.qip.ru/008DN7-1PXOGWuBx/
> http://shot.qip.ru/008DN7-2PXOGWuBz/
>
>
>
>
> --
> View this message in context: http://xwiki.475771.n2.nabble.com/Diff-font-is-tp7580425p7580636.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Diff font is

Arioch
Well, will there be next release - i would try.

As of now, XWiki cannot be cloned and built on Windows.
While i do not know Java, i wanted to try fixing Office import and export and checking the outcome.
But build environment on Windows just is not possible as of now. So i just registered patches without knowing if they work or not :-)

But frankly, that *should* be better, cause initially i on-the-go stripped "courier" from CSS and it was enough to work it out.

2012/7/31 Marius Dumitru Florea [via XWiki] <[hidden email]>
I updated the font used to display the diff. See
https://github.com/xwiki/xwiki-platform/commit/dd63bb2b682edf0f01a4bf1b314953de9edfeabe
. Let me know if it's better.

Thanks,
Marius

On Tue, Jul 31, 2012 at 2:17 PM, Arioch <[hidden email]> wrote:

>> Do you have the same problem when viewing GitHub diffs in IE9. See
>>https://github.com/xwiki/xwiki-platform/commit/dd867b81740d1b79b60b0859ee33ab1d00c84e1d<https://github.com/xwiki/xwiki-platform/commit/dd867b81740d1b79b60b0859ee33ab1d00c84e1d>
>> for instance? The font-family is set to:

>> font-family: Consolas, "Liberation Mono", Courier, monospace;
>
> Well, there is no russian text there.
>
> So even when i remove more modern fonts (BTW i wonder why there is not
> "Lucida Console" mentioned. From Win2000 to Vista it was recommended font
> for sources on Win) the picture remains okay.
>
> http://shot.qip.ru/008DN7-1PXOGWuBy/
> http://shot.qip.ru/008DN7-1PXOGWuBx/
> http://shot.qip.ru/008DN7-2PXOGWuBz/
>
>
>
>
> --
> View this message in context: http://xwiki.475771.n2.nabble.com/Diff-font-is-tp7580425p7580636.html

> Sent from the XWiki- Users mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users



If you reply to this email, your message will be added to the discussion below:
http://xwiki.475771.n2.nabble.com/Diff-font-is-tp7580425p7580638.html
To unsubscribe from Diff font is, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: Diff font is

vmassol
Administrator
You can build on windows if you wish. Just use Cygwin which supports long paths AFAIK.

-Vincent
Envoyé de mon iPad

Le Jul 31, 2012 à 16:24, Arioch <[hidden email]> a écrit :

> Well, will there be next release - i would try.
>
> As of now, XWiki cannot be cloned and built on Windows.
> While i do not know Java, i wanted to try fixing Office import and export
> and checking the outcome.
> But build environment on Windows just is not possible as of now. So i just
> registered patches without knowing if they work or not :-)
>
> But frankly, that *should* be better, cause initially i on-the-go stripped
> "courier" from CSS and it was enough to work it out.
>
> 2012/7/31 Marius Dumitru Florea [via XWiki] <
> [hidden email]>
>
>> I updated the font used to display the diff. See
>>
>> https://github.com/xwiki/xwiki-platform/commit/dd63bb2b682edf0f01a4bf1b314953de9edfeabe
>> . Let me know if it's better.
>>
>> Thanks,
>> Marius
>>
>> On Tue, Jul 31, 2012 at 2:17 PM, Arioch <[hidden email]<http://user/SendEmail.jtp?type=node&node=7580638&i=0>>
>> wrote:
>>
>>>> Do you have the same problem when viewing GitHub diffs in IE9. See
>>>>
>> https://github.com/xwiki/xwiki-platform/commit/dd867b81740d1b79b60b0859ee33ab1d00c84e1d
>> <
>> https://github.com/xwiki/xwiki-platform/commit/dd867b81740d1b79b60b0859ee33ab1d00c84e1d>
>>
>>>> for instance? The font-family is set to:
>>>> font-family: Consolas, "Liberation Mono", Courier, monospace;
>>>
>>> Well, there is no russian text there.
>>>
>>> So even when i remove more modern fonts (BTW i wonder why there is not
>>> "Lucida Console" mentioned. From Win2000 to Vista it was recommended
>> font
>>> for sources on Win) the picture remains okay.
>>>
>>> http://shot.qip.ru/008DN7-1PXOGWuBy/
>>> http://shot.qip.ru/008DN7-1PXOGWuBx/
>>> http://shot.qip.ru/008DN7-2PXOGWuBz/
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>> http://xwiki.475771.n2.nabble.com/Diff-font-is-tp7580425p7580636.html
>>
>>> Sent from the XWiki- Users mailing list archive at Nabble.com.
>>> _______________________________________________
>>> users mailing list
>>> [hidden email] <http://user/SendEmail.jtp?type=node&node=7580638&i=1>
>>> http://lists.xwiki.org/mailman/listinfo/users
>> _______________________________________________
>> users mailing list
>> [hidden email] <http://user/SendEmail.jtp?type=node&node=7580638&i=2>
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the discussion
>> below:
>> http://xwiki.475771.n2.nabble.com/Diff-font-is-tp7580425p7580638.html
>> To unsubscribe from Diff font is, click here<
>> .
>> NAML<
http://xwiki.475771.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
>
>
> --
> View this message in context: http://xwiki.475771.n2.nabble.com/Diff-font-is-tp7580425p7580639.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Diff font is

Arioch
MSys Git is standard on Windows and is used by all Git-aware programs.

It's like i would ask you to install windows application just to check something, and the applicaiton thsat does not work in Wine, but requires some custom tailored emulator.

Frankly, for you it only takes pressing one button to run build and deploy script.
For me it takes learning a lot of layers of lot of programs that i don't have knowledge at all.

It is overkill.

I can learn C++ and Visual Studio and patch MSYS and push it all upstream.
I can run Knoppix or Linux in userspace
I can even delete Windows and spend few month learning all the tricks in Linux (after few weaks of choosing distro)

To check a one liner in CSS ?
Reply | Threaded
Open this post in threaded view
|

Re: Diff font is

Jérôme Velociter
On 08/01/2012 08:25 AM, Arioch wrote:

> MSys Git is standard on Windows and is used by all Git-aware programs.
>
> It's like i would ask you to install windows application just to check
> something, and the applicaiton thsat does not work in Wine, but requires
> some custom tailored emulator.
>
> Frankly, for you it only takes pressing one button to run build and deploy
> script.
> For me it takes learning a lot of layers of lot of programs that i don't
> have knowledge at all.
>
> It is overkill.
>
> I can learn C++ and Visual Studio and patch MSYS and push it all upstream.
> I can run Knoppix or Linux in userspace
> I can even delete Windows and spend few month learning all the tricks in
> Linux (after few weaks of choosing distro)
>
> To check a one liner in CSS ?

At what point did anybody infer you had to build to test this ?

You could as well just apply the change to instance diff.css file. It's
in ./resources/uicomponents/viewers/diff.css

Jerome

>
>
>
> --
> View this message in context: http://xwiki.475771.n2.nabble.com/Diff-font-is-tp7580425p7580650.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users


--
Peace,
—Jerome

_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Diff font is

Arioch
>> To check a one liner in CSS ? 

> At what point did anybody infer you had to build to test this ? 

Sure.
Pointing me to changeset in Git implies to checking out that snaphots.

> You could as well just apply the change to instance diff.css file.
> It's in ./resources/uicomponents/viewers/diff.css

Thanks for pointing into exact file of many deployed.
Would check it. Sionce XWiki does not have delta-upgrades, that would probably not affect later upgrading.
Reply | Threaded
Open this post in threaded view
|

Re: Diff font is

Arioch
In reply to this post by Jérôme Velociter

> You could as well just apply the change to instance diff.css file.
> It's in ./resources/uicomponents/viewers/diff.css

I applied Font Family change, but not others
4.1.3


The result seems ok in MSIE9 and Opera12 on Win7
I also run it under Win XP (it does not have Consolas font but rather has Lucida Console as then latest fashion) under MSIE7 and FFox 14 - it also looked correct. 
Reply | Threaded
Open this post in threaded view
|

Re: Diff font is

Arioch
In reply to this post by Jérôme Velociter


>> You could as well just apply the change to instance diff.css file.
> It's in ./resources/uicomponents/viewers/diff.css

I applied Font Family change, but not others
4.1.3


The result seems ok in MSIE9 and Opera12 on Win7
I also run it under Win XP (it does not have Consolas font but rather has Lucida Console as then latest fashion) under MSIE7 and FFox 14 - it also looked correct. 

OTOH i could not test this change with WebKit/Win nor with anything on Mac, Linux and other non-Win platforms