[Bug 21497] Change default font for EasyTimeline on ML projects to something that actually has glyphs for Malayalam characters

2011-10-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21497

Bawolff  changed:

   What|Removed |Added

 CC||amir.ahar...@mail.huji.ac.i
   ||l

--- Comment #25 from Bawolff  2011-10-25 14:01:18 UTC ---
btw, are we sure this is a font issue and not an easyTimeLine sucks issue?
(Similar to how easy timeline doesn't support BIDI at all - bug 4030). CC'ing
Amir on this bug since he's working on the bidi support in timeline, so he
might be interested in this (in the case this really is a lack of program
support issue not a font issue).

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21497] Change default font for EasyTimeline on ML projects to something that actually has glyphs for Malayalam characters

2011-02-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21497

Laurence 'GreenReaper' Parry  changed:

   What|Removed |Added

 CC||greenrea...@hotmail.com

--- Comment #24 from Laurence 'GreenReaper' Parry  
2011-02-21 06:09:10 UTC ---
For what it's worth, I always thought DejaVu Sans Condensed worked best for
EasyTimeline. Compact yet readable. But perhaps it works less well for such
languages.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21497] Change default font for EasyTimeline on ML projects to something that actually has glyphs for Malayalam characters

2011-02-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21497

--- Comment #23 from praveenp  2011-02-21 06:06:19 UTC ---
(In reply to comment #22)
> JeLuf, it is "ഉബുണ്ടു പുറത്തിറങ്ങുന്നതും പിന്തുണയും".

Taken from http://ml.wikipedia.org/wiki/Template:Ubuntu_Calendar

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21497] Change default font for EasyTimeline on ML projects to something that actually has glyphs for Malayalam characters

2011-02-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21497

--- Comment #22 from Junaid  2011-02-21 04:10:27 UTC ---
JeLuf, it is "ഉബുണ്ടു പുറത്തിറങ്ങുന്നതും പിന്തുണയും".

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21497] Change default font for EasyTimeline on ML projects to something that actually has glyphs for Malayalam characters

2011-02-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21497

--- Comment #21 from JeLuF  2011-02-20 06:58:47 UTC ---
Hi praveenp, can you please copy that sentence from the image here as text so
that I can use it for some tests?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21497] Change default font for EasyTimeline on ML projects to something that actually has glyphs for Malayalam characters

2011-02-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21497

praveenp  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |

--- Comment #20 from praveenp  2011-02-19 18:59:14 UTC ---
https://bugzilla.wikimedia.org/attachment.cgi?id=8174

Please check this attachment. No ligature are rendering properly, each part
displays independently. Is this anything related to
https://bugzilla.wikimedia.org/show_bug.cgi?id=25140 ?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21497] Change default font for EasyTimeline on ML projects to something that actually has glyphs for Malayalam characters

2011-02-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21497

praveenp  changed:

   What|Removed |Added

   Attachment #6776|0   |1
is obsolete||

--- Comment #19 from praveenp  2011-02-19 18:57:27 UTC ---
Created attachment 8174
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=8174
No liguatures rendering

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21497] Change default font for EasyTimeline on ML projects to something that actually has glyphs for Malayalam characters

2011-02-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21497

JeLuF  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #18 from JeLuF  2011-02-06 13:58:04 UTC ---
Your change has been completed.
Please reopen this ticket if anything went wrong.
The following configuration settings have been changed:
===
Index: CommonSettings.php
===
--- CommonSettings.php(revision 1573)
+++ CommonSettings.php(working copy)
@@ -808,8 +808,8 @@
 include($IP.'/extensions/timeline/Timeline.php');
 include($IP.'/extensions/wikihiero/wikihiero.php');

-if ( $wgDBname == "testwiki" ) {
-$wgTimelineSettings->fontFile = "FreeSansWMF.ttf";
+if ( $wgDBname == 'testwiki' || $wgDBname == 'mlwiki' ) {
+$wgTimelineSettings->fontFile = 'FreeSansWMF.ttf';
 }


@@ -1127,7 +1127,7 @@
 // Back-compat for Fedora boxes
 $wgTimelineSettings->ploticusCommand = '/usr/local/bin/pl';
 }
-$wgTimelineSettings->epochTimestamp = '20081209214953'; // fixed font setting
+$wgTimelineSettings->epochTimestamp = '20110206135500'; // fixed font setting
 putenv("GDFONTPATH=/usr/local/apache/common/fonts");

 $wgAllowRealName = false;
===
You can find the entire config file at
http://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21497] Change default font for EasyTimeline on ML projects to something that actually has glyphs for Malayalam characters

2011-02-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21497

--- Comment #17 from JeLuF  2011-02-06 13:34:49 UTC ---
I've tried to merge the Malayalam letters of FreeSerif into FreeSans, but the
result has problems with U+0D7E.

I don't like the serif font for timelines, the letters are ugly to me at this
small font size.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21497] Change default font for EasyTimeline on ML projects to something that actually has glyphs for Malayalam characters

2011-02-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21497

--- Comment #16 from Bawolff  2011-02-05 23:02:42 UTC ---
>I'm tempted to have the font a per-timeline option, with FreeSans as default

Hmm, that would make sense. I'm not sure why i didn't do that originally, or if
there was a reason that i didn't do that originally (since the commit adding
the font option was such a long time ago, and my memory doesn't really stretch
that far back).

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21497] Change default font for EasyTimeline on ML projects to something that actually has glyphs for Malayalam characters

2011-02-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21497

--- Comment #15 from JeLuF  2011-02-05 22:55:47 UTC ---
(In reply to comment #13)
> I believe that is caused by the new unicode 5 way of encoding a certain
> character as one code point (U+0D7E) instead of two code points separated by a
> ZWJ (U+D33 U+D4D U+200D). Presumably the older font doesn't support it. See 
> bug
> 25623

The font I've used was from Ubuntu. Version 20060501cvs-12.

With FreeSerif from freefont-ttf-20100919 it works fine.

Unfortunately, FreeSans from that release still doesn't include Malayalam.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21497] Change default font for EasyTimeline on ML projects to something that actually has glyphs for Malayalam characters

2011-02-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21497

--- Comment #14 from JeLuF  2011-02-05 22:22:48 UTC ---
I'm tempted to have the font a per-timeline option, with FreeSans as default:

Index: Timeline.php
===
--- Timeline.php(revision 72554)
+++ Timeline.php(working copy)
@@ -48,8 +48,13 @@
return true;
 }

-function renderTimeline( $timelinesrc ){
+function renderTimeline( $timelinesrc, $attr ){
global $wgUploadDirectory, $wgUploadPath, $IP, $wgTimelineSettings,
$wgArticlePath, $wgTmpDirectory, $wgRenderHashAppend;
+
+   if ( isset( $attr[font] ) ) {
+   $wgTimelineSettings->fontFile = preg_replace(
'/[^a-zA-Z0-9_-]/', '', $attr[font] ) . '.ttf';
+   }
+
$hash = md5( $timelinesrc );
if ($wgRenderHashAppend != "")
$hash = md5( $hash . $wgRenderHashAppend );


===

  .


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21497] Change default font for EasyTimeline on ML projects to something that actually has glyphs for Malayalam characters

2011-02-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21497

--- Comment #13 from Bawolff  2011-02-05 21:24:59 UTC ---
I believe that is caused by the new unicode 5 way of encoding a certain
character as one code point (U+0D7E) instead of two code points separated by a
ZWJ (U+D33 U+D4D U+200D). Presumably the older font doesn't support it. See bug
25623

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21497] Change default font for EasyTimeline on ML projects to something that actually has glyphs for Malayalam characters

2011-02-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21497

JeLuF  changed:

   What|Removed |Added

 CC||je...@gmx.de

--- Comment #12 from JeLuF  2011-02-05 21:16:49 UTC ---
FreeSerif looks better, but it's not perfect.
http://test.wikipedia.org/wiki/User:JeLuF/21497
Look for the label of the red dot in the legend.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21497] Change default font for EasyTimeline on ML projects to something that actually has glyphs for Malayalam characters

2011-02-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21497

Bawolff  changed:

   What|Removed |Added

   Keywords||shell
  Component|EasyTimeline|Site requests
Version|any |unspecified
 AssignedTo|erikzac...@infodisiac.com   |wikibugs-l@lists.wikimedia.
   ||org
Product|MediaWiki extensions|Wikimedia
Summary|Malayalam characters not|Change default font for
   |visible |EasyTimeline on ML projects
   ||to something that actually
   ||has glyphs for Malayalam
   ||characters

--- Comment #11 from Bawolff  2011-02-04 19:39:57 UTC ---
As of r62018, easy time line supports specifying alternate fonts in
LocalSettings.php. Changing to a shell request.

The relevant setting is something like:
$wgTimelineSettings->fontFile = "fontFile.ttf"

probably would also want to update:
$wgTimelineSettings->epochTimestamp = '20081209214953';
to something more recent (Currently specified as above in CommonSettins.php)

fontFile.ttf must be in the path specified by $GDFONTPATH environment variable.
(Which i believe for wikimedia is /usr/local/apache/common/fonts .)

As for which fontFile, presumably we already have at least one malayalam font
installed for the svg renders(?), but probably not in the right directory
needed for easyTimeline.

See also bug 20825


It might also be interesting idea to change the default font for all wikis to
be DejaVu Sans, since that supports significantly more characters than FreeSans
(the current default) afaik, however that might break pre-existing timelines on
enwikipedia if they depend on letters to be specific sizes. Should be done with
care in any case.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l