Install this version:
emerge -a =dev-util/fontc-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-util/fontc-9999
Or alternatively:
emerge --autounmask-write -a =dev-util/fontc-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | ~amd64 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
RUST_MIN_VER=1.91
CRATES="
adler2@2.0.1
aho-corasick@1.1.4
android_system_properties@0.1.5
anes@0.1.6
ansi_term@0.12.1
anstream@1.0.0
anstyle-parse@1.0.0
anstyle-query@1.1.5
anstyle-wincon@3.0.11
anstyle@1.0.14
anyhow@1.0.102
arrayvec@0.7.6
autocfg@1.5.0
base64@0.22.1
bincode@1.3.3
bindgen@0.72.1
bitflags@2.11.1
borsh@1.6.1
bumpalo@3.20.2
bytemuck@1.25.0
bytemuck_derive@1.10.2
bytes@1.11.1
camino@1.2.2
cargo-platform@0.3.3
cargo_metadata@0.23.1
cast@0.3.0
cc@1.2.61
cexpr@0.6.0
cfg-if@1.0.4
cfg_aliases@0.2.1
chrono@0.4.44
ciborium-io@0.2.2
ciborium-ll@0.2.2
ciborium@0.2.2
clang-sys@1.8.1
clap@4.6.1
clap_builder@4.6.0
clap_derive@4.6.1
clap_lex@1.1.0
close_already@0.3.5
cmake@0.1.58
colorchoice@1.0.5
core-foundation-sys@0.8.7
crc32fast@1.5.0
criterion-plot@0.6.0
criterion@0.7.0
crossbeam-channel@0.5.15
crossbeam-deque@0.8.6
crossbeam-epoch@0.9.18
crossbeam-utils@0.8.21
crunchy@0.2.4
darling@0.20.11
darling_core@0.20.11
darling_macro@0.20.11
deranged@0.5.8
derive_builder@0.20.2
derive_builder_core@0.20.2
derive_builder_macro@0.20.2
diff@0.1.13
displaydoc@0.2.5
either@1.15.0
env_filter@1.0.1
env_logger@0.11.10
equivalent@1.0.2
errno@0.3.14
euclid@0.22.14
fastrand@2.4.1
filetime@0.2.27
find-msvc-tools@0.1.9
flate2@1.1.9
fnv@1.0.7
foldhash@0.1.5
font-types@0.11.3
futures-core@0.3.32
futures-macro@0.3.32
futures-task@0.3.32
futures-timer@3.0.3
futures-util@0.3.32
getrandom@0.2.17
getrandom@0.4.2
glob@0.3.3
google-fonts-sources@0.11.0
half@2.7.1
hashbrown@0.15.5
hashbrown@0.17.0
heck@0.5.0
hermit-abi@0.5.2
http@1.4.0
httparse@1.10.1
iana-time-zone-haiku@0.1.2
iana-time-zone@0.1.65
icu_collections@2.1.1
icu_locale_core@2.2.0
icu_properties@2.1.2
icu_properties_data@2.1.2
icu_provider@2.2.0
id-arena@2.3.0
ident_case@1.0.1
indexmap@2.14.0
is_terminal_polyfill@1.70.2
itertools@0.13.0
itoa@1.0.18
jiff-static@0.2.24
jiff@0.2.24
js-sys@0.3.95
kurbo@0.13.0
leb128fmt@0.1.0
libc@0.2.186
libloading@0.8.9
libredox@0.1.16
linux-raw-sys@0.12.1
litemap@0.8.2
lock_api@0.4.14
log@0.4.29
maud@0.27.0
maud_macros@0.27.0
memchr@2.8.0
minimal-lexical@0.2.1
miniz_oxide@0.8.9
more-asserts@0.3.1
mutually_exclusive_features@0.1.0
nom@7.1.3
norad@0.18.3
num-conv@0.2.1
num-traits@0.2.19
num_cpus@1.17.0
num_threads@0.1.7
once_cell@1.21.4
once_cell_polyfill@1.70.2
oorandom@11.1.5
ordered-float@5.3.0
parking_lot@0.12.5
parking_lot_core@0.9.12
percent-encoding@2.3.2
pin-project-lite@0.2.17
plain@0.2.3
plist@1.8.0
plotters-backend@0.3.7
plotters-svg@0.3.7
plotters@0.3.7
portable-atomic-util@0.2.7
portable-atomic@1.13.1
potential_utf@0.1.5
powerfmt@0.2.0
pretty_assertions@1.4.1
prettyplease@0.2.37
proc-macro-crate@3.5.0
proc-macro2-diagnostics@0.10.1
proc-macro2@1.0.106
quick-xml@0.38.4
quote@1.0.45
r-efi@6.0.0
rand@0.8.6
rand_core@0.6.4
rayon-core@1.13.0
rayon@1.12.0
read-fonts@0.39.2
redox_syscall@0.5.18
redox_syscall@0.7.4
regex-automata@0.4.14
regex-syntax@0.8.10
regex@1.12.3
relative-path@1.9.3
ring@0.17.14
rstest@0.26.1
rstest_macros@0.26.1
rustc-hash@2.1.2
rustc_version@0.4.1
rustix@1.1.4
rustls-pki-types@1.14.1
rustls-webpki@0.103.13
rustls@0.23.39
rustversion@1.0.22
ryu@1.0.23
same-file@1.0.6
scopeguard@1.2.0
semver@1.0.28
serde@1.0.228
serde_core@1.0.228
serde_derive@1.0.228
serde_json@1.0.149
serde_repr@0.1.20
serde_yaml@0.9.34+deprecated
shlex@1.3.0
simd-adler32@0.3.9
skrifa@0.42.1
slab@0.4.12
smallvec@1.15.1
smol_str@0.3.6
stable_deref_trait@1.2.1
strsim@0.11.1
subtle@2.6.1
syn@2.0.117
synstructure@0.13.2
tar@0.4.45
temp-env@0.3.6
tempfile@3.27.0
thiserror-impl@2.0.18
thiserror@2.0.18
threadpool@1.8.1
tidier@0.5.6
tidy-sys@0.8.5
time-core@0.1.8
time-macros@0.2.27
time@0.3.47
tinystr@0.8.3
tinytemplate@1.2.1
toml_datetime@1.1.1+spec-1.1.0
toml_edit@0.25.11+spec-1.1.0
toml_parser@1.1.2+spec-1.1.0
unicode-ident@1.0.24
unicode-xid@0.2.6
unsafe-libyaml@0.2.11
untrusted@0.9.0
ureq-proto@0.6.0
ureq@3.3.0
utf8-zero@0.8.1
utf8parse@0.2.2
vergen-gitcl@9.1.0
vergen-lib@9.1.0
vergen@9.1.0
version_check@0.9.5
walkdir@2.5.0
wasi@0.11.1+wasi-snapshot-preview1
wasip2@1.0.3+wasi-0.2.9
wasip3@0.4.0+wasi-0.3.0-rc-2026-01-06
wasm-bindgen-macro-support@0.2.118
wasm-bindgen-macro@0.2.118
wasm-bindgen-shared@0.2.118
wasm-bindgen@0.2.118
wasm-encoder@0.244.0
wasm-metadata@0.244.0
wasmparser@0.244.0
web-sys@0.3.95
webpki-roots@1.0.7
winapi-i686-pc-windows-gnu@0.4.0
winapi-util@0.1.11
winapi-x86_64-pc-windows-gnu@0.4.0
winapi@0.3.9
windows-core@0.62.2
windows-implement@0.60.2
windows-interface@0.59.3
windows-link@0.2.1
windows-result@0.4.1
windows-strings@0.5.1
windows-sys@0.52.0
windows-sys@0.61.2
windows-targets@0.52.6
windows_aarch64_gnullvm@0.52.6
windows_aarch64_msvc@0.52.6
windows_i686_gnu@0.52.6
windows_i686_gnullvm@0.52.6
windows_i686_msvc@0.52.6
windows_x86_64_gnu@0.52.6
windows_x86_64_gnullvm@0.52.6
windows_x86_64_msvc@0.52.6
winnow@1.0.2
wit-bindgen-core@0.51.0
wit-bindgen-rust-macro@0.51.0
wit-bindgen-rust@0.51.0
wit-bindgen@0.51.0
wit-bindgen@0.57.1
wit-component@0.244.0
wit-parser@0.244.0
write-fonts@0.48.1
writeable@0.6.3
xattr@1.6.1
yansi@1.0.1
yoke-derive@0.8.2
yoke@0.8.2
zerocopy-derive@0.8.48
zerocopy@0.8.48
zerofrom-derive@0.1.7
zerofrom@0.1.7
zeroize@1.8.2
zerotrie@0.2.4
zerovec-derive@0.11.3
zerovec@0.11.6
zmij@1.0.21
"
inherit cargo
if [[ -z ${PV%%*9999} ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/googlefonts/${PN}.git"
else
MY_PV="12f1fd1"
[[ -n ${PV%%*_p*} ]] && MY_PV="${PN}-v${PV}"
SRC_URI="
mirror://githubcl/googlefonts/${PN}/tar.gz/${MY_PV} -> ${P}.tar.gz
${CARGO_CRATE_URIS}
"
RESTRICT="primaryuri"
KEYWORDS="~amd64"
S="${WORKDIR}/${PN}-${MY_PV}"
fi
DESCRIPTION="A font compiler written in Rust"
HOMEPAGE="https://github.com/googlefonts/fontc"
LICENSE="Apache-2.0"
# Dependent crate licenses
LICENSE+=" BSD CDLA-Permissive-2.0 ISC MIT Unicode-3.0 ZLIB"
SLOT="0"
src_unpack() {
if [[ -z ${PV%%*9999} ]]; then
default
git-r3_src_unpack
cargo_live_src_unpack
else
cargo_src_unpack
fi
}
src_install() {
cargo_src_install --path fontc
cargo_src_install --path fontc_crater
cargo_src_install --path otl-normalizer
einstalldocs
newdoc fontc_crater/README.md fontc_crater.md
newdoc otl-normalizer/README.md otl-normalizer.md
}