Open agitter opened 2 years ago
Hi @agitter have u figured out a solution to this issue?
No, I still haven't found a solution. I am happy to help debug the problem if the maintainers have suggestions.
We currently build fontconfig on Windows using its Autoconf scripts with --disable-shared
as an argument, so only the static fontconfig.lib
is provided. From my 2018 commit message:
Only a static library can be built, because the build system can't figure out how to link with freetype dynamically.
We recently upgraded to the fontconfig 2.13.9x series, which adds a Meson build system, so it's possible that we could address this issue more easily now.
OK, the new Windows package currently in process should start providing a fontconfig-1.dll
, so hopefully the weasyprint stuff should start working pretty soon!
That's great! I'm happy to help test on Windows if that would be useful.
@agitter That would definitely be useful!
Issue: When I install
fontconfig
on Windows 10, no DLL is included. This causes an error with theweasyprint
package that hasfontconfig
as a dependency https://github.com/conda-forge/weasyprint-feedstock/issues/31.I ran
conda create -n fc-test -c conda-forge fontconfig
to install onlyfontconfig
and its dependencies. No DLL was installed in the new environment directory. I don't know the details of conda packaging, but I noticed the fileconda-meta/fontconfig-2.13.1-h1989441_1005.json
in the environment directory doesn't list any DLL:Environment (
conda list
):Details about
conda
and system (conda info
):