Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302176 - www-plugins/adobe-flash can't display text without corefonts
Summary: www-plugins/adobe-flash can't display text without corefonts
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Jim Ramsay (lack) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-25 14:34 UTC by Erik Ekman
Modified: 2010-06-15 12:59 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of eselect fontconfig list --global in broken state (eselect-fontconfig-list-global.nonworking,1004 bytes, text/plain)
2010-04-30 21:44 UTC, Henry Gebhardt
Details
Output of eselect fontconfig list --global in working state (eselect-fontconfig-list-global.good,1.01 KB, text/plain)
2010-04-30 21:45 UTC, Henry Gebhardt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Ekman 2010-01-25 14:34:17 UTC
+++ This bug was initially created as a clone of Bug #227217 +++

netscape-flash is not fully functional unless corefonts is installed.  Without corefonts, flash cannot display text, such as timers for youtube videos or myspace playlists.  Installing corefonts fixes the problem.

netscape-flash should depend on corefonts being installed.


Reproducible: Always

I had the same problem with adobe-flash-10.0.42.34 on amd64, had to install corefonts manually before text worked.
Comment 1 Erik Ekman 2010-01-25 14:35:38 UTC
I had freefont-ttf-20090104 installed but it did not help.
Comment 2 Erik Ekman 2010-01-25 14:53:20 UTC
# emerge --info
Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32.4 x86_64)
=================================================================
System uname: Linux-2.6.32.4-x86_64-Intel-R-_Core-TM-_i7_CPU_860_@_2.80GHz-with-gentoo-1.12.13
Timestamp of tree: Tue, 19 Jan 2010 01:45:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r2
dev-lang/python:     2.6.4
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -msse4 -mcx16 -msahf"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=core2 -msse4 -mcx16 -msahf"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.df.lth.se/pub/gentoo/"
LANG="en_US"
LDFLAGS="-Wl,-O1"
LINGUAS="en sv"
MAKEOPTS="-j10"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode evo fam firefox flac fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 jpeg ldap libnotify mad meanwhile mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vdpau vorbis x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="wacom keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en sv" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 3 Henry Gebhardt 2010-04-29 21:57:31 UTC
I guess it should be liberation-fonts or corefonts, see bug 317719.
Comment 4 Jim Ramsay (lack) (RETIRED) gentoo-dev 2010-04-30 12:29:56 UTC
Yes indeed, having freefont-ttf is an error in the ebuild, this should actually be media-fonts/liberation-fonts instead, since *that* is the opensource replacement for corefonts.

I have updated the ebuilds now to properly reflect this dependency.
Comment 5 Jim Ramsay (lack) (RETIRED) gentoo-dev 2010-04-30 13:36:17 UTC
On second thought, I should probably get a bit more info here, since I've tried
a number of times now and haven't been able to replicate this yet.  I've even
uninstalled liberation-fonts, freefonts-ttf, and corefont, but flash still shows
*something* for the youtube timer, etc.

Can you please unistall corefonts again to get back to the broken state, then
attach or comment with:
 - The output of 'eselect fontconfig list --global'
 - A list of all the media-font packages you have installed
 - What happens when you run 'fc-match Arial'
Comment 6 Henry Gebhardt 2010-04-30 21:43:40 UTC
(In reply to comment #5)
(...)
> but flash still shows *something* for the youtube timer, etc.

Yes, the timer is still shown. Here is (hopefully) a better example:

http://www.youtube.com/watch?v=Bdv1Um243Z8

This is how to see the problem: Try to see the different resolutions. When you hoover over the "360p", then a rectangular popup shows that lets you select the resolution. Without liberation-fonts, I can select the resolution, but I can't see what I selected until after I selected it.

In this video, a banner shows up after about 18-20 seconds, asking if you want to buy the song on iTunes. Can you read it? (Oh, you don't know what I am talking about... :-) It is black-transparent, and has a big musical symbol on the left, and some black boxes in the middle where it should say "iTunes", and stuff.)

Not every video shows this problem. The effect is much more pronounced when playing farmville on facebook.

> 
> Can you please unistall corefonts again to get back to the broken state, then
> attach or comment with:

Sure, I uninstalled liberation-fonts, I don't use corefonts. Also, I don't need to enable the font with eselect to make it working.

>  - The output of 'eselect fontconfig list --global'

Will attach.

>  - A list of all the media-font packages you have installed

$ eix -ICc media-fonts | cut -d' ' -f2
media-fonts/dejavu
media-fonts/encodings
media-fonts/font-adobe-100dpi
media-fonts/font-adobe-75dpi
media-fonts/font-adobe-utopia-100dpi
media-fonts/font-adobe-utopia-75dpi
media-fonts/font-adobe-utopia-type1
media-fonts/font-alias
media-fonts/font-arabic-misc
media-fonts/font-bh-100dpi
media-fonts/font-bh-75dpi
media-fonts/font-bh-lucidatypewriter-100dpi
media-fonts/font-bh-lucidatypewriter-75dpi
media-fonts/font-bh-ttf
media-fonts/font-bh-type1
media-fonts/font-bitstream-100dpi
media-fonts/font-bitstream-75dpi
media-fonts/font-bitstream-speedo
media-fonts/font-bitstream-type1
media-fonts/font-cronyx-cyrillic
media-fonts/font-cursor-misc
media-fonts/font-daewoo-misc
media-fonts/font-dec-misc
media-fonts/font-ibm-type1
media-fonts/font-isas-misc
media-fonts/font-jis-misc
media-fonts/font-micro-misc
media-fonts/font-misc-cyrillic
media-fonts/font-misc-ethiopic
media-fonts/font-misc-meltho
media-fonts/font-misc-misc
media-fonts/font-mutt-misc
media-fonts/font-schumacher-misc
media-fonts/font-screen-cyrillic
media-fonts/font-sony-misc
media-fonts/font-sun-misc
media-fonts/font-util
media-fonts/font-winitzki-cyrillic
media-fonts/font-xfree86-type1
media-fonts/freefont-ttf
media-fonts/ttf-bitstream-vera
media-fonts/urw-fonts
42


>  - What happens when you run 'fc-match Arial'

Without liberation-fonts (broken state):
$ fc-match Arial
helvR12-ISO8859-1.pcf.gz: "Helvetica" "Regular"

With liberation-fonts (working state):
$ fc-match Arial
LiberationSans-Regular.ttf: "Liberation Sans" "Regular"
Comment 7 Henry Gebhardt 2010-04-30 21:44:40 UTC
Created attachment 229845 [details]
Output of eselect fontconfig list --global in broken state
Comment 8 Henry Gebhardt 2010-04-30 21:45:14 UTC
Created attachment 229847 [details]
Output of eselect fontconfig list --global in working state
Comment 9 Jim Ramsay (lack) (RETIRED) gentoo-dev 2010-06-15 12:59:12 UTC
Thanks for all the information.  I'm not sure why your setup isn't falling back to DejaVu when you uninstall Liberation (Mine does), but I think it's sane to keep the flash ebuild as-is: either liberation or corefonts is required.

Thanks again for the report and the subsequent information!