https://bugzilla.wikimedia.org/show_bug.cgi?id=20825

Bawolff <bawolff...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |shell
                 CC|                            |bawolff...@gmail.com
          Component|EasyTimeline                |Site requests
            Version|any                         |unspecified
         AssignedTo|erikzac...@infodisiac.com   |wikibugs-l@lists.wikimedia.
                   |                            |org
            Product|MediaWiki extensions        |Wikimedia
            Summary|EasyTimeline does not       |Change default font for
                   |support Chinese chars       |EasyTimeline on zh projects
                   |                            |to something that actually
                   |                            |has glyphs for Chinese
                   |                            |characters

--- Comment #1 from Bawolff <bawolff...@gmail.com> 2011-02-04 19:32:33 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 chinese font
installed for the svg renders(?)

See also bug 21497


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
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

Reply via email to