Package: libxul0d Version: 1.8.1.9-1 Severity: normal -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Mozilla-based browsers such as Epiphany don't seem to be able to use certain fonts, including "times new roman", "nimbus roman no9 l" and "nimbus mono l". I have attached a test case that should demonstrate the problem--open it, scroll down and check out the text flagged in red. Note that the font that the text is rendered in is the same as the default 'serif' fallback font. - -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (530, 'testing'), (520, 'unstable'), (510, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.22-fixdso (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages libxul0d depends on: ii libatk1.0-0 1.20.0-1 The ATK accessibility toolkit ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries ii libcairo2 1.4.10-1 The Cairo 2D vector graphics libra ii libfontconfig1 2.4.2-1.2 generic font configuration library ii libfreetype6 2.3.5-1+b1 FreeType 2 font engine, shared lib ii libgcc1 1:4.2.2-3 GCC support library ii libglib2.0-0 2.14.3-1 The GLib library of C routines ii libgtk2.0-0 2.12.1-1 The GTK+ graphical user interface ii libhunspell-1.1-0 1.1.9-1 spell checker and morphological an ii libjpeg62 6b-14 The Independent JPEG Group's JPEG ii libmozjs0d 1.8.1.9-1 The Mozilla SpiderMonkey JavaScrip ii libnspr4-0d 4.6.7-1 NetScape Portable Runtime Library ii libnss3-0d 3.11.7-1 Network Security Service libraries ii libpango1.0-0 1.18.3-1 Layout and rendering of internatio ii libpng12-0 1.2.15~beta5-3 PNG library - runtime ii libstdc++6 4.2.2-3 The GNU Standard C++ Library v3 ii libx11-6 2:1.0.3-7 X11 client-side library ii libxft2 2.1.12-2 FreeType-based font drawing librar ii libxinerama1 1:1.0.2-1 X11 Xinerama extension library ii libxrender1 1:0.9.4-1 X Rendering Extension client libra ii libxt6 1:1.0.5-3 X11 toolkit intrinsics library ii libxul-common 1.8.1.9-1 Gecko engine library - common file ii zlib1g 1:1.2.3.3.dfsg-6 compression library - runtime libxul0d recommends no packages. - -- no debconf information -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHSNNnshl/216gEHgRAqmwAKDj/HA1Y58td7X0KU4tpUW098aqNgCgwECX mZbSByfKJ1p16/RroJtVp8Y= =U+SC -----END PGP SIGNATURE-----Title: Mozilla font selection test
Mozilla font selection test
To make sure the test results are meaningful, make sure you have the following packages installed:
- msttcorefonts
- gsfonts
Then test that fontconfig is correctly matching font names:
$ fc-match 'helvetica' NimbusSanL-Regu.pfb: "Nimbus Sans L" "Regular" $ fc-match 'arial' Arial-Regular.ttf: "Arial" "Normal" $ fc-match 'nimbus sans l' NimbusSanL-Regu.pfb: "Nimbus Sans L" "Regular" $ fc-match 'times' NimbusRomNo9L-Regu.pfb: "Nimbus Roman No9 L" "Regular" $ fc-match 'times new roman' TimesNewRoman-Regular.ttf: "Times New Roman" "Normal" $ fc-match 'nimbus roman no9 l' NimbusRomNo9L-Regu.pfb: "Nimbus Roman No9 L" "Regular" $ fc-match courier NimbusMonL-Regu.pfb: "Nimbus Mono L" "Regular" $ fc-match 'courier new' CourierNew-Regular.ttf: "Courier New" "Normal" $ fc-match 'nimbus mono l' NimbusMonL-Regu.pfb: "Nimbus Mono L" "Regular"
sans-serif
Here is some sample text, using the default 'sans-serif' fallback. In all three cases, the correct font is chosen.
Here is some sample text, using Helvetica.
Here is some sample text, using Arial.
Here is some sample text, using Nimbus Sans L.
serif
Here is some sample text, using the default 'serif' fallback.
Here is some sample text, using Times.
Here is some sample text, using Times New Roman. Mozilla fails to match this font!
Here is some sample text, using Nimbus Roman No9 L. Mozilla fails to match this font!
monospace
Here is some sample text, using the default 'monospace' fallback.
Here is some sample text, using Courier.
Here is some sample text, using Courier New.
Here is some sample text, using Nimbus Mono L. Mozilla fails to match this font!