Last modified: 2014-07-18 13:52:59 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T10898, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8898 - Install more fonts (especially for Unicode) (tracking)
Install more fonts (especially for Unicode) (tracking)
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: tracking
Depends on: 25140 31950
Blocks: tracking 21497 40760
  Show dependency treegraph
 
Reported: 2007-02-06 10:58 UTC by Denis Jacquerye
Modified: 2014-07-18 13:52 UTC (History)
16 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Denis Jacquerye 2007-02-06 10:58:12 UTC
At the moment the SVG rasterizer uses Arial or a font that looks like it. It
lacks many characters needed by many languages.

The rasterizer should use fonts that have a better Unicode coverage like DejaVu
fonts for Latin, Greek and Cyrillic based scripts, etc.

Many of these fonts are free and/or Open Source.

Example http://commons.wikimedia.org/wiki/Image:Digestive_system_diagram_ln.svg
should have words like Monɔkɔ, Nsɔ́ngɛ, etc, but the characters missing in Arial
are just not displayed.
Comment 1 Denis Jacquerye 2007-02-06 12:19:09 UTC
See also
Bug 3769 Fonts are off in rasterized SVG images on wikimedia sites
Bug 8666 SVG with CJK fonts doesn't render CJK text
Bug 5694 Greek character in .svg wrong rendered for replacement- .png
Comment 2 Denis Jacquerye 2007-02-06 12:19:49 UTC
and Bug 8797 Some greek characters don't render in SVG
Comment 3 Daniel Kinzler 2007-02-06 12:25:22 UTC
Bug 8895 may also be related (stretched font's don't work right)

Note that most of the problems do not exist with my local install of rsvg 2.16.0
(on unbuntu edgy)

Perhaps a tracking bug for rsvg font issues would be handy
Comment 4 Denis Jacquerye 2007-02-06 12:36:43 UTC
(In reply to comment #3)
> Note that most of the problems do not exist with my local install of rsvg 2.16.0
> (on unbuntu edgy)

That's probably because you have the required fonts installed on you system.
Comment 5 Rob Church 2007-02-06 15:57:03 UTC
(In reply to comment #3)
> Perhaps a tracking bug for rsvg font issues would be handy

Filed as bug 8901.
Comment 6 arun 2007-03-31 21:31:00 UTC
There should atleast be a serif font like Times new roman if not all fonts. 
Its quite a nuisance when a map youve made has everything in Arial Roman,  
even if its in Arial Bold or Italics.
Comment 7 Tim Starling 2007-04-18 22:07:39 UTC
I have installed the following font packages from FC4:

bitstream-vera-fonts-1.10-5
fonts-bengali-1.10-2
fonts-chinese-2.15-2
fonts-gujarati-1.10-2
fonts-hindi-1.10-2
fonts-japanese-0.20050222-3
fonts-korean-1.0.11-4
fonts-punjabi-1.10-2
fonts-tamil-1.10-2

and a custom build of DejaVu fonts version 2.16.
Comment 8 Ravi Vyzasatya 2007-07-19 08:04:35 UTC
Please install Telugu fonts too.
Fonts are off from the svg images in telugu wikipedia ex. see http://te.wikipedia.org/wiki/Image:Distancedisplacement-te.svg
Comment 9 Pradeep Makineni 2007-08-06 04:53:17 UTC
You can get two telugu fonts from http://www.kavya-nandanam.com/Pothana2k.zip
And there is also Gautami font, comes with the default installation of the WinXP.
Comment 10 Tisza Gergő 2008-02-01 15:06:09 UTC
Liberation ( https://www.redhat.com/promo/fonts/ ) has been suggested on [[m:Talk:SVG fonts]] as a free package that contains fonts metrically equivalent to many common non-free fonts. Right now PNGs converted from SVGs that use standard Windows fonts look awful. This one for example uses Times New Roman: http://csomalin.csoma.elte.hu/~tgergo/bugs/commons_svg_conversion_problems.svg and the result is: http://csomalin.csoma.elte.hu/~tgergo/bugs/commons_svg_conversion_problems.png .
Comment 11 Denis Jacquerye 2008-02-01 15:27:14 UTC
Liberation Sans and Serif are great substitutions for Arial and Times New Roman as they match their metrics. It would be great to have the system configured to use them instead of Arial and Times New Roman if those aren't present or up to date with the latest version.

Gergő: there's a serious bug with the renderer used for commons_svg_conversion_problems.svg 
Comment 12 Kyungjoon Lee 2008-04-12 12:24:17 UTC
Liberation fonts do not match Arial or Times New Roman very well IMHO.

Nimbus Sans L and Nimbus Roman No9 L, however, match Helvetica (and thus Arial) and Times New Roman almost perfectly. The URW Nimbus fonts are already installed.
Comment 13 Denis Jacquerye 2008-04-13 10:51:10 UTC
(In reply to comment #12)
> Liberation fonts do not match Arial or Times New Roman very well IMHO.
> 
> Nimbus Sans L and Nimbus Roman No9 L, however, match Helvetica (and thus Arial)
> and Times New Roman almost perfectly. The URW Nimbus fonts are already
> installed.
> 

Liberation fonts might have different looks than Arial and Times New Roman but they have almost the exact same metric.
So a string in Arial will probably have the same length as Liberation Sans. Whereas Nimbus Sans has the same shapes as Helvetica but metrics, especially kerning or the space between characters, will be have more differences than with Liberation fonts.

Either way, Liberation fonts should be installed.
Comment 14 Tim Starling 2008-10-14 05:05:26 UTC
Fonts have been updated, all the language support virtual packages in Ubuntu 8.04 have been installed, Telugu included. Liberation fonts have been installed.
Comment 15 fvasconcellos 2008-10-22 11:24:42 UTC
This has seriously screwed up font rendering, probably because of a substitution issue—see [[m:Talk:SVG fonts]]. All SVGs uploaded after the installation and specifying Arial/Helvetica/Nimbus Sans L are now defaulting to Liberation, with pretty sketchy results (hinting in particular seems terrible, at least on my system). Liberation Sans may be metrically equivalent to Arial, but is in no way an adequate substitute; Nimbus Sans was much, much better from an aesthetic point of view, and there were never any appreciable kerning/metrics issues. 

The new packages were a great addition, but if there is any way for the Nimbus fonts to be the renderer's default Sans and Serif families, _please_ go back to that. Pretty please. Cherry on top.
Comment 16 Jayanta Nath 2009-06-06 10:31:12 UTC
There is another bug in the SVG to PNG conversion done by the WikiCommons software. Check File:Prokaryote cell diagram-bn.svg . I just translate in bengali language with a Font SolaimanLipi.ttf(welknown good looking Bengali font) in svg, but PNG out put shown Font with vrinda.ttf. Please check.
Is it possible to add SolaimanLipi.ttf to coversion list here http://meta.wikimedia.org/wiki/SVG_fonts
Comment 17 84user 2010-06-12 19:46:57 UTC
I find wikimedia renders thumbnails for SVGs when they contain DejaVu Sans and Liberation Sans fonts. A set of files with problems is linked from

http://commons.wikimedia.org/wiki/File:Ikaros_solar_sail_key_liberation_sans.svg


and I posted more details here: 

http://commons.wikimedia.org/wiki/Commons:Graphics_village_pump#Wikimedia_renders_Deja_and_Liberation_fonts_badly

Is it possible that wikimedia server software has out of date versions of those fonts? I recall one or both of those fonts had serious kerning or hinting problems on my PC and I recently installed newer versions to clear the problems.
Comment 18 Ondřej Hošek 2011-02-09 22:30:48 UTC
I'd like to request installation of the TeX Gyre fonts [1], which are rather popular amongst TeX users and contain clones of the prescribed PDF fonts (Helvetica, Times, Futura, Bookman, Chancery, Palatino, et al.) based on the URW fonts, but with some slightly less common accented characters. They are licensed under the comparably permissive GUST font license. [2]

[1] http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole
[2] http://www.gust.org.pl/projects/e-foundry/licenses

Thanks a lot in advance.
Comment 19 Mark A. Hershberger 2011-10-27 13:36:55 UTC
Turning this into a tracking bug so it is easier to keep track of individual font requests.
Comment 20 Daniel Zahn 2012-03-21 06:53:32 UTC
bump .. In October 2011 after a major upgrade the situation was then as follows. 
Please confirm if you are still missing something specific nowadays..

ii  console-setup                   1.34ubuntu15                      console font and keymap setup program
ii  console-terminus                4.30-2                            Fixed-width fonts for fast reading on the Li
ii  defoma                          0.11.10-4ubuntu1                  Debian Font Manager -- automatic font config
ii  fontconfig                      2.8.0-2ubuntu1                    generic font configuration library - support
ii  fontconfig-config               2.8.0-2ubuntu1                    generic font configuration library - configu
ii  gsfonts                         1:8.11+urwcyr1.0.7~pre44-4        Fonts for the Ghostscript interpreter(s)
ii  gsfonts-x11                     0.21                              Make Ghostscript fonts available to X11
ii  kbd                             1.15-1ubuntu3                     Linux console font and keytable utilities
ii  libfont-afm-perl                1.20-1                            Font::AFM - Interface to Adobe Font Metrics
ii  libfontconfig1                  2.8.0-2ubuntu1                    generic font configuration library - runtime
ii  libfontenc1                     1:1.0.5-1                         X11 font encoding library
ii  libfreetype6                    2.3.11-1ubuntu2.4                 FreeType 2 font engine, shared library files
ii  libt1-5                         5.1.2-3build1                     Type 1 font rasterizer library - runtime
ii  libxfont1                       1:1.4.1-1ubuntu0.1                X11 font rasterisation library
ii  libxft2                         2.1.14-1ubuntu1                   FreeType-based font drawing library for X
ii  lmodern                         2.004.1-3                         scalable PostScript and OpenType fonts based
ii  psfontmgr                       0.11.10-4ubuntu1                  PostScript font manager -- part of Defoma, D
ii  texlive-font-utils              2009-7ubuntu3                     TeX Live: TeX and Outline font utilities
ii  texlive-fonts-extra             2009-7ubuntu3                     TeX Live: Extra fonts
ii  texlive-fonts-extra-doc         2009-7ubuntu3                     TeX Live: Documentation files for texlive-fo
ii  texlive-fonts-recommended       2009-7                            TeX Live: Recommended fonts
ii  texlive-fonts-recommended-doc   2009-7                            TeX Live: Documentation files for texlive-fo
ii  ttf-dejavu-core                 2.30-2                            Vera font family derivate with additional ch
ii  x-ttcidfont-conf                32                                TrueType and CID fonts configuration for X
ii  xfonts-encodings                1:1.0.3-1                         Encodings for X.Org fonts
ii  xfonts-utils                    1:7.5+2                           X Window System font utility programs
Comment 21 Mark A. Hershberger 2012-03-21 16:44:07 UTC
Looks fixed to me.

If you find a problem, please open a *new* bug and point to an SVG with text that does not render correctly in the PNG thumb.
Comment 22 Philippe Verdy 2014-07-18 00:01:13 UTC
Adding the excellent Noto collection? (Sponsored by Google and Adobe, but completely free fonts, under Apache Licence 2.0).

http://www.google.com/get/noto/

No more tofu, that whole collection can be a default base collection working in stead of fallback fonts showing very little information.

The collection is high quality, fully hinted, with metrics adjusted for correct display in pages using ultiple scripts ? Some scripts are available in two styles.

Almost all world scripts are supported (most modern scripts, including Burmese for which good fonts are very scarse or bugged). All Indian scripts are covered, and most scripts for Eastern Asia.

Now it also supports the full CJK repertoire (with 4 linguistic variants, with 7 weights !). Full support of OpenType required features for each scripts)

Full support of Arabic script (both major styles).

There are only 2 missing modern scripts : Tibetan, Thaana for Divehi/Maldivian (but work is in progress, with some issues in OpenType tables to discuss and fix). Many historic scripts are covered. Most new scripts created in the last 50 years (for languages that were still not written, notably in Africa) are covered, including experimental ones (like Deseret).

The goal of the collection is the full repertoire of Unicode (almost all Unicode 7.0 is covered), including musical symbols, technical symbols, weather and games symbols, emojis (soon color emojis too)...
Comment 23 Andre Klapper 2014-07-18 10:16:33 UTC
This bug report was closed more than two years ago. 
If you have specific requests for specific fonts, please file a separate report for each font/language and explain the impact/usecases.
Comment 24 Philippe Verdy 2014-07-18 12:02:19 UTC
You're wrong, this bug is a tracking bug referenced directly by OPEN bugs (they are even listed at top of this page!!)

And it was specific to a "collection" of fonts made to be used together, and for all the documented scripts and languages.

I don't need to detail all of then, refer to the site which documents everything. I just was describing its content and licence instead of just posting a blank URL.
It is important for Wikiemdia, notably for many scripts that don't have decent free fonts (e.g. Burmese in Myanmar) in the current collection of free webfonts (that should remain open and cannot be "closed" when many scripts are still lacking the most basic support with donts that are really readable and with correct metrics).
Comment 25 Andre Klapper 2014-07-18 13:52:59 UTC
Again: This ticket is closed as fixed. If you want some font, file a new ticket.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links