[Fontconfig] fc-cache succeeds, but fc-list still gives empty result on Wine
Alan W. Irwin
irwin at beluga.phys.uvic.ca
Mon Sep 19 13:41:14 PDT 2011
I have recently had a fair amount of success (e.g., ephcom-2.0.2)
testing software packages I have developed on Linux to make sure they
also work on the MinGW/MSYS/Wine Windows platform.
However, I have run into a snag with such a Wine (1.3.26) build test
for libLASi. That library depends on the pango/cairo stack of
libraries including font-config and builds without obvious issues
under Wine using the all-in-one Windows package
http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.22/gtk+-bundle_2.22.1-20101227_win32.zip
for GTK+ 2.22.1 recommended at http://www.gtk.org/download/win32.php.
The fontconfig version in that bundle is "fontconfig version 2.8.0"
according to "fc-list --version".
However, the issue is libLASi test applications built by the same
build under Wine fail to run under Wine because they cannot find any
TrueType fonts. That font finding problem appears to be confirmed by
fc-list which produces absolutely empty results from wine. So I ran
fc-cache --really-force --verbose z:/usr/share/fonts
from the Wine (SYS-bash) environment since /usr/share/fonts (the Linux
equivalent of that Wine directory) are where many TrueType fonts are
located on my system. That gave very promising results with many
fonts found and cached in the Wine C:/users/wine/Temp/fontconfig/cache
directory. BUT fc-list continues to give completely empty results and
the libLASi test applications continue to fail because no fonts are
found.
Anybody here have a clue why fc-list gives empty results under these
circumstances where fc-cache appears to be succeeding?
My Linux system is 64-bit while the wine system is 32-bit (as is
version of GTK+ I downloaded). I assumed since Debian stored the fonts
in architecture-independent /usr/share/fonts that 64-bit versus 32-bit
issues would not matter here, but is that assumption incorrect?
Any advice as to the best way to access Linux-installed fonts from the
Wine platform using the Windows version of fontconfig would be most
appreciated.
Alan
__________________________
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________
Linux-powered Science
__________________________
More information about the Fontconfig
mailing list