Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 528408 - www-plugins/pipelight-0.2.7.3 with app-emulation/wine-1.7.29 does not see media-fonts/corefonts-1-r6 or media-fonts-croscorefonts-1.21.0
Summary: www-plugins/pipelight-0.2.7.3 with app-emulation/wine-1.7.29 does not see med...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: https://bugs.launchpad.net/pipelight/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-05 22:31 UTC by Dennis Schridde
Modified: 2014-11-06 07:41 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2014-11-05 22:31:01 UTC
I have two variants of corefonts installed:
$ eix -c corefonts
[I] media-fonts/corefonts (1-r6@01/11/14): Microsoft's TrueType core fonts
[I] media-fonts/croscorefonts (1.21.0@02/11/14): Open licensed fonts metrically compatible with MS corefonts
Found 2 matches.

But Wine does not appear to see them:
$ wine /usr/share/pipelight/winecheck.exe
[…]
Checking fonts ...
Missing Arial
Missing Verdana
Fonts: FAILURE
[…]

The croscorefonts are enabled in fontconfig:
$ eselect fontconfig list
Available fontconfig .conf files (* is enabled):
  [1]   09-texlive.conf
  [2]   10-autohint.conf *
  [3]   10-no-sub-pixel.conf
  [4]   10-scale-bitmap-fonts.conf *
  [5]   10-sub-pixel-bgr.conf
  [6]   10-sub-pixel-rgb.conf
  [7]   10-sub-pixel-vbgr.conf
  [8]   10-sub-pixel-vrgb.conf
  [9]   10-unhinted.conf
  [10]  11-lcdfilter-default.conf
  [11]  11-lcdfilter-legacy.conf
  [12]  11-lcdfilter-light.conf
  [13]  20-unhint-small-dejavu-sans.conf
  [14]  20-unhint-small-dejavu-sans-mono.conf
  [15]  20-unhint-small-dejavu-serif.conf
  [16]  20-unhint-small-vera.conf *
  [17]  25-ttf-arphic-ukai-render.conf
  [18]  25-ttf-arphic-uming-bitmaps.conf
  [19]  25-ttf-arphic-uming-render.conf
  [20]  25-unhint-nonlatin.conf
  [21]  30-metric-aliases.conf *
  [22]  30-urw-aliases.conf *
  [23]  35-ttf-arphic-ukai-aliases.conf
  [24]  35-ttf-arphic-uming-aliases.conf
  [25]  40-nonlatin.conf *
  [26]  41-ttf-arphic-ukai.conf
  [27]  41-ttf-arphic-uming.conf
  [28]  45-latin.conf *
  [29]  49-sansserif.conf *
  [30]  50-user.conf *
  [31]  51-local.conf *
  [32]  52-infinality.conf *
  [33]  57-dejavu-sans.conf
  [34]  57-dejavu-sans-mono.conf
  [35]  57-dejavu-serif.conf
  [36]  60-latin.conf *
  [37]  60-liberation.conf
  [38]  61-stix.conf
  [39]  62-croscore-arimo.conf *
  [40]  62-croscore-cousine.conf *
  [41]  62-croscore-symbolneu.conf *
  [42]  62-croscore-tinos.conf *
  [43]  64-ttf-arphic-uming.conf
  [44]  65-fonts-persian.conf *
  [45]  65-khmer.conf
  [46]  65-nonlatin.conf *
  [47]  66-lohit-assamese.conf
  [48]  66-lohit-bengali.conf
  [49]  66-lohit-gujarati.conf
  [50]  66-lohit-hindi.conf
  [51]  66-lohit-kannada.conf
  [52]  66-lohit-kashmiri@devanagari.conf
  [53]  66-lohit-konkani.conf
  [54]  66-lohit-maithili.conf
  [55]  66-lohit-marathi.conf
  [56]  66-lohit-oriya.conf
  [57]  66-lohit-punjabi.conf
  [58]  66-lohit-sindhi@devanagari.conf
  [59]  66-lohit-tamil.conf
  [60]  66-lohit-telugu.conf
  [61]  67-lohit-malayalam.conf
  [62]  67-lohit-nepali.conf
  [63]  69-unifont.conf *
  [64]  70-no-bitmaps.conf *
  [65]  70-yes-bitmaps.conf
  [66]  75-ttf-arphic-ukai-select.conf
  [67]  80-delicious.conf *
  [68]  90-synthetic.conf *
  [69]  90-ttf-arphic-ukai-embolden.conf
  [70]  90-ttf-arphic-uming-embolden.conf
  [71]  99pdftoopvp.conf

I can select both fonts in the KDE System Settings (e.g.)

$ emerge --info wine
Portage 2.2.14 (python 3.4.2-final-0, default/linux/amd64/13.0/desktop/kde/systemd, gcc-4.8.3, glibc-2.19-r1, 3.17.2-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.17.2-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-gentoo-2.2
KiB Mem:     6107256 total,   1546088 free
KiB Swap:    7813116 total,   7745280 free
Timestamp of tree: Wed, 05 Nov 2014 18:15:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p30
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r2
dev-lang/python:          2.7.8, 3.3.5-r1, 3.4.2
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.3
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.3-r2
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.17-r1 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo kde sage-on-gentoo local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=athlon64-sse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.1/conf /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-pipe -O2 -march=athlon64-sse3"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --nospinner"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildsyspkg compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://distfiles.gentoo.org"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j3"
PKGDIR="/var/cache/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/cache/portage/gentoo"
PORTDIR_OVERLAY="/var/cache/portage/overlays/kde /var/lib/layman/sage-on-gentoo /var/cache/portage/local"
SYNC="rsync://gentoo.kynes.de:800/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cdda cddb cdio cdr cjk cli cracklib crypt cups cxx dbus declarative dri dts dvb dvd dvdr egl emboss encode exif fam fax ffmpeg firefox flac fortran gdbm gif glamor gles gles2 gmp gpm gstreamer gtk ibus iconv ipv6 jpeg jpeg2k kde kipi latex lcms ldap libnotify libsecret lz4 lzma lzo mad mmx mmxext mng modemmanager modules mp3 mp4 mpeg mplayer multilib mysql ncurses networkmanager nls nptl ogg openal opencl openexr opengl openmp opus pam pango pch pcre pdf phonon plasma png policykit ppds pulseaudio qt3support qt4 readline samba scanner sdl semantic-desktop session speex spell sse sse2 sse3 ssl startup-notification subversion svg systemd tcpd theora threads tiff truetype udev udisks unicode upnp upower usb v4l vaapi vdpau vorbis vpx wayland webp x264 x265 xattr xcb xcomposite xinerama xml xscreensaver xv xvid xz zeroconf zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="stage words flow sheets" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="btrfs systemd" ELIBC="glibc" ENLIGHTENMENT_MODULES="*" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en en_GB ar fa" LIRC_DEVICES="devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

app-emulation/wine-1.7.29 was built with the following:
USE="X alsa cups fontconfig gecko gstreamer jpeg lcms ldap mono mp3 ncurses netapi nls openal opencl opengl osmesa perl pipelight png prelink pulseaudio realtime run-exes samba scanner ssl threads truetype udisks v4l xcomposite xinerama xml -capi -custom-cflags -dos -gphoto2 -gsm -odbc -oss (-selinux) -test" ABI_X86="32 64 -x32" LINGUAS="ar de en fa -bg -ca -cs -da -el -en_US -eo -es -fi -fr -he -hi -hr -hu -it -ja -ko -lt -ml -nb_NO -nl -or -pa -pl -pt_BR -pt_PT -rm -ro -ru -sk -sl -sr_RS@cyrillic -sr_RS@latin -sv -te -th -tr -uk -wa -zh_CN -zh_TW"
Comment 1 Rafał Mużyło 2014-11-06 04:14:57 UTC
I strongly suspect this is INVALID - probably a matter of order.
Check HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts - if the font files are listed there, it's not a bug.
Comment 2 Dennis Schridde 2014-11-06 07:26:23 UTC
Seems you are right, the font is listed in ~/.wine-pipelight/system.reg:

[Software\\Microsoft\\Windows\\CurrentVersion\\Fonts] 1415225544
[…]
"Arial"="Z:\\usr\\share\\fonts\\corefonts\\arial.ttf"
[…]

[Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts] 1415225544
[…]
"Arial"="Z:\\usr\\share\\fonts\\corefonts\\arial.ttf"
[…]

The latter seems to be what winecheck.exe is checking [1]. So I guess that means it is a bug there?

[1] https://bitbucket.org/mmueller2012/pipelight/src/80829af078a1739b93aa4f4f075dee9fe527e9d7/src/winecheck/check.c?at=master#cl-336