Bawolff <> changed:

           What    |Removed                     |Added
           Keywords|                            |shell
          Component|EasyTimeline                |Site requests
            Version|any                         |unspecified
         AssignedTo|   |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:
------- 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

Reply via email to