Closed ghost closed 2 years ago
Those fonts are definitely there, https://github.com/mooman219/fontdue/tree/master/resources/fonts
You should ask the package maintainer for why they're not included in their build. Fontdue builds correctly on clone, I don't support 3rd party distributions of Fontdue.
I am in the process of packaging fontdue for fedora and the font are not include in the crate. Fedora use the source on crate.io and not the source on github.
I can attempt to resolve this by removing the tests from the crates.io publish
Why not just include the necessary fonts?
It negatively impacts everyone pulling from crates.io by inflating the package size by a couple orders of magnitude.
The package on crates.io does build correctly on cargo build
as is, but it seems the package manager is trying to run/build the tests? This is an error on the package manager's part, running the tests invokes various file operations and takes a considerable amount of time.
0.6.3
will probably behave better when imported into a package manager now, by omitting the tests on publish. I definitely believe you shouldn't be attempting to run tests though if you're the one maintaining the automatic package import infra.
https://download.copr.fedorainfracloud.org/results/remilauzier/zemeroth/fedora-rawhide-x86_64/03258983-rust-fontdue/builder-live.log.gz
= note: this error originates in the macro
include_bytes
(in Nightly builds, run with -Z macro-backtrace for more info)= note: this error originates in the macro
include_bytes
(in Nightly builds, run with -Z macro-backtrace for more info)= note: this error originates in the macro
include_bytes
(in Nightly builds, run with -Z macro-backtrace for more info)= note: this error originates in the macro
include_bytes
(in Nightly builds, run with -Z macro-backtrace for more info)= note: this error originates in the macro
include_bytes
(in Nightly builds, run with -Z macro-backtrace for more info)= note: this error originates in the macro
include_bytes
(in Nightly builds, run with -Z macro-backtrace for more info)= note: this error originates in the macro
include_bytes
(in Nightly builds, run with -Z macro-backtrace for more info)= note: this error originates in the macro
include_bytes
(in Nightly builds, run with -Z macro-backtrace for more info)error: could not compile
fontdue
due to 8 previous errors