mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-18 18:01:18 -05:00
Retain the complete reviewed change, including prior integration resolutions, on current upstream. #736: deliver Thai UI fonts in desktop and web releases Use the merged craft-fonts input containing Noto Sans Thai across release, FreeBSD and Nix builds. Retain the small Thai face in the wasm subset and reject required release inputs that lack it. Exercise the reported Thai folder name through all UI families and include original font licence texts in Windows installers as well as portable packages. Refs #736; completes delivery of the fallback added in #750. Validation: UI tests, UI-only strict Clippy, 28 wasm checks, HEIF checks, assets, layers, parity and formatting pass. All 21 unrelated workspace failures reproduce with upstream Rust sources and the old font input; existing Rust 1.95 metadata/engine Clippy findings remain unchanged.
65 lines
4.3 KiB
Plaintext
65 lines
4.3 KiB
Plaintext
LightCraft
|
|
Copyright (c) 2026 ArtCraft Team and the LightCraft contributors.
|
|
Licensed under the MIT License or the Apache License, Version 2.0, at your option
|
|
(LICENSE-MIT, LICENSE-APACHE).
|
|
|
|
The ArtCraft name, wordmark and logos in docs/brand/ are trademarks of the ArtCraft Team. They are
|
|
not open source and are not covered by the license above; their terms are in
|
|
docs/brand/LICENSE-brand.txt.
|
|
|
|
Third-party material
|
|
|
|
This product bundles third-party material under its own licenses, listed below. The per-file
|
|
list (author, source, license) is in assets/ATTRIBUTION.md.
|
|
|
|
Inter (assets/fonts/Inter-*.ttf) — SIL Open Font License 1.1. See assets/fonts/OFL-Inter.txt.
|
|
Showcase photographs by Ansel Adams, Dorothea Lange and NASA (docs/images/) — public domain. See assets/ATTRIBUTION.md.
|
|
|
|
crates/raw/src/spectral_table.rs (lightcraft-raw) holds camera colour matrices derived from the
|
|
camera spectral sensitivities, training reflectances and model alias list of rawtoaces-data
|
|
(https://github.com/AcademySoftwareFoundation/rawtoaces-data, v1.1.0), an Academy Software
|
|
Foundation project licensed under the Apache License 2.0, and from the CIE 1931 colour-matching
|
|
functions it ships (CIE, CC-BY-4.0). The matrices were fitted by the LightCraft contributors
|
|
(2026) with tools/spectral_camera_table.py. See assets/ATTRIBUTION.md.
|
|
|
|
crates/inpaint (lightcraft-inpaint) ports the inpainting (PatchMatch completion) and Poisson membrane
|
|
fill code of PhotoCraft (https://github.com/storytold/photocraft, crates/algo/src/inpaint.rs and
|
|
poisson.rs), Copyright the PhotoCraft contributors, licensed under the MIT License or the Apache
|
|
License 2.0, at your option. The port was modified by the LightCraft contributors (2026); each
|
|
ported file says so.
|
|
|
|
crates/segment (lightcraft-segment) ports the SAM 3 model code of Hugging Face Transformers
|
|
(https://github.com/huggingface/transformers, src/transformers/models/sam3 and sam3_tracker),
|
|
Copyright The HuggingFace Team and Meta Platforms, Inc., licensed under the Apache License 2.0.
|
|
The port was modified by the LightCraft contributors (2026): translated from Python/PyTorch to
|
|
Rust on candle and restructured; each ported file says so. Because of this, crates/segment is
|
|
licensed under the Apache License 2.0 only (LICENSE-APACHE), not under the MIT option.
|
|
|
|
The SAM 3 weights are not part of LightCraft and are never distributed with it. A user downloads
|
|
the facebook/sam3 checkpoint only when they choose to (in the app, or by hand), under Meta's SAM
|
|
License (https://github.com/facebookresearch/sam3/blob/main/LICENSE), a separate, non-OSI
|
|
licence. See docs/ai-masks.md.
|
|
|
|
AI denoise weights are not part of LightCraft and are never distributed with it.
|
|
The default build offers user-supplied models only. The optional rawnind-model
|
|
feature offers a separately downloaded RawNIND UtNet2 Bayer checkpoint under
|
|
GPL-3.0 (https://www.gnu.org/licenses/gpl-3.0.html), after the user accepts its terms.
|
|
Commercial use is subject to those terms, including applicable source, licence and
|
|
notice obligations on redistribution. Enabling that offer in releases remains a
|
|
maintainer decision. The ONNX reader and CPU/GPU executor are our Rust implementation;
|
|
no darktable, RawSpeed, LibRaw or other GPL decoder/runtime code is included.
|
|
|
|
Builds made with craft-fonts (the optional CRAFT_FONTS_DIR build input; all official releases)
|
|
also embed the fonts listed in https://github.com/storytold/craft-fonts/blob/main/ATTRIBUTION.md
|
|
(BIZ UDPGothic, BIZ UDMincho, Shippori Mincho, Noto Sans CJK SC, Noto Sans Arabic and Noto Sans
|
|
Thai), under the SIL Open Font License 1.1. The web build embeds BIZ UDPGothic Regular and Noto
|
|
Sans Thai Regular, and loads Noto Sans CJK SC separately. Release packages include each font's
|
|
licence as OFL-<family>.txt; Windows installers include their texts in FONT-LICENCES.txt.
|
|
|
|
Place names for reverse geocoding (Photo > Fill Location from GPS) are not part of LightCraft and
|
|
are never distributed with it. On the user's request (Photo > Download Place Names) the app
|
|
downloads cities15000.zip, admin1CodesASCII.txt and countryInfo.txt from GeoNames
|
|
(https://download.geonames.org/export/dump/) into the settings folder. GeoNames data is licensed
|
|
under Creative Commons Attribution 4.0 (https://creativecommons.org/licenses/by/4.0/);
|
|
attribution: "GeoNames, geonames.org". The lookup code (crates/geocode) is our own.
|