On 07/02/2012 08:48 PM, Julian H. Stacey wrote:
Frederic Muller - DFI wrote:
On 07/02/2012 05:54 PM, Julian H. Stacey wrote:
Frederic Muller - DFI wrote:
Hello all
I would like to thank Stathis Iosifidis for doing the Greek version of the SFD countdown this year (and all this while preparing for his upcoming exams).
So if you're in Athens, Greece (UTC+3 as Greece is in daylight saving time) the countdown code will be:
<a href="http://www.softwarefreedomday.org"><img src="http://www.softwarefreedomday.org/countdown/banner1-UTC+3-el.png" border="0" width="165" height="95" alt="Γιορτάστε μαζί μας την SFD στις 15 Σεπτεμβρίου!"></a>
The Greek graphic size got accidentaly shrunk on both axis, this shows the problem: SFD count down - English banner, German time & Greek banner, Greek time <img src= "http://www.softwarefreedomday.org/countdown/banner1-UTC+2-en.png" border="0" width="165" height="95" alt= "SFD count dow "> <img src= "http://www.softwarefreedomday.org/countdown/banner1-UTC+3-el.png" border="0" width="165" height="95" alt= "ΓιοÏτάστε μαζί μας την SFD στις 15 ΣεπτεμβÏίου!">
The mangled alt:
My mailer (EXMH) displayed Greek, but after pulling the ascii mail into vi to edit the HTML test page. I then ran tidy -i -m, which converted high bit stuff, wrongly I guess ?
Best if a someone (Greek?) supplies HTML Greek escape sequences for the sample. EG for German, escape sequences: Ö = O umlaut = O + 2 dots on top.
Cheers, Julian
Hi!
I am not sure what are you needs, but the greek graphics are 5 pixel bigger in both directions. So the English and Greek code will also differ in the width and height parameter, unless you omit them (in which case the banner size will not be reserved, and grow only once the graphic is loaded).
Does that help?
Fred
I had assumed they'd all be same size. So I used same size from Greek exported back to English (to save me looking for previous URL in mail list archive)
The Greek sample is broken in 2 respect:
Wrong size You'r probably not seeing white pixels on border cos your including page or browser defaults to white background ?
Yes I am seeing it, which is why I modified the size parameters in the code for Greek. Unfortunately the person helping with this is in exam period at the moment. I'll take a look at the source file and try to fix the issue tomorrow (traveling right now).
I see this problem using Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 Set a non white default & you'll see it.
Web page source is not good if it asserts a known wrong size xv will tell you correct pixel size to embed in samples.
8 bit Embedding 8th bit high in a web page source is bad, it can break with many filter tools that may edit the page source that contains the SFD advert.
I usually use websites that provide conversion tools for that, but then we will have to update the wiki page. Indeed a good point and we should apply this rule for the other languages too.
Cheers, Julian
_______________________________________________ SFD-discuss mailing list SFD-discuss@sf-day.org http://mail.sf-day.org/lists/listinfo/sfd-discuss