mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-28 14:19:22 -08:00
Document CRAFT_I18N_DIR in the environment table (#8621)
development.md listed the other build inputs but not CRAFT_I18N_DIR. Co-authored-by: Fredrik Hallin <fredrik.hallin@guidelinegeo.com> Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 file changed
+1
@@ -154,6 +154,7 @@ copies retain their current preferences locations.
|
||||
| `PDFCRAFT_TITLEBAR` | Linux: `app` draws PdfCraft's own title bar (window buttons in the tab strip, in the order of GNOME's `button-layout`, and resize edges); `system` keeps the frame winit or the desktop draws; unset, PdfCraft draws its own when the Wayland compositor draws no frames (GNOME), and leaves it to the desktop otherwise (KDE, Sway, Hyprland, X11). Where PdfCraft draws it, Preferences ▸ Use system title bar switches back to winit's frame without a restart; `system` also hides that option |
|
||||
| `PDFCRAFT_BUILD_LABEL` | Build time: a label for a local or patched build (letters, digits, inner dots), shown after the version in `--version`, About and the log (`0.7.1 (titlebar)`). `packaging/linux/package.sh` also puts it in the file names and the .rpm/.deb release (`1.titlebar`), which upgrades over the release of the same version |
|
||||
| `CRAFT_FONTS_DIR` | Build time: a [craft-fonts](https://github.com/storytold/craft-fonts) checkout to embed (Japanese fonts) |
|
||||
| `CRAFT_I18N_DIR` | Build time: a [craft-i18n](https://github.com/storytold/craft-i18n) checkout, at the commit in `craft-i18n.rev`, whose catalogs the build embeds. Unset, the build is English only; `CRAFT_I18N_REQUIRED=1` makes that an error (see [localization](localization.md)) |
|
||||
| `PDFCRAFT_SYSTEM_FONTS` | `0` disables installed-font fallback for both interface text and non-embedded CJK page text in the desktop viewer, Combine thumbnails and accessibility figure previews (`cargo xtask screenshots` sets it). Document fallback is display-only: exports, printing, OCR and automation retain the bundled-font path. |
|
||||
| `FONTCONFIG_FILE` | On Linux/Unix, the Fontconfig configuration file used to discover installed UI fallback fonts (default: `/etc/fonts/fonts.conf`); relative filenames are resolved under `FONTCONFIG_PATH` |
|
||||
| `FONTCONFIG_PATH` | Directory for a relative `FONTCONFIG_FILE` (default: `/etc/fonts`; the first entry of a search path is used) |
|
||||
|
||||
Reference in new issue
Block a user