The chat "Emoji style: Color" option renders the merged emoji in color (COLR/CPAL Twemoji) instead of the monochrome NotoEmoji subset. This needs FreeType, which the default stb_truetype rasterizer can't do for color glyphs. - Vendor imgui_freetype (matches the bundled 1.92 ImFontLoader API) and embed a 1.4 MB COLRv0 Twemoji font (no libpng/harfbuzz needed). - CMake gains an optional FreeType path: native Linux/macOS use the system FreeType via find_package; the mingw-w64 cross-compile has none, so build.sh --win-release now cross-builds a minimal static FreeType (scripts/build-freetype-mingw.sh) and passes it in. Absent FreeType => graceful monochrome fallback, so no build breaks. - Typography selects the FreeType loader + the color font (LoadColor) when color emoji is on, else the stb loader + mono subset; toggling reloads the atlas. Both the DX11 and OpenGL backends already support the 1.92 RGBA dynamic atlas, so color glyphs render. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
61 lines
1.5 KiB
Plaintext
61 lines
1.5 KiB
Plaintext
# Build trees per platform (build/linux/, build/windows/, build/mac/)
|
|
build/*
|
|
|
|
# Release distributable artifacts (release/linux/, release/windows/, release/mac/)
|
|
release/
|
|
|
|
# Prebuilt binaries (ignore contents, keep dirs via .gitkeep)
|
|
prebuilt-binaries/dragonxd-linux/*
|
|
!prebuilt-binaries/dragonxd-linux/.gitkeep
|
|
prebuilt-binaries/dragonxd-win/*
|
|
!prebuilt-binaries/dragonxd-win/.gitkeep
|
|
prebuilt-binaries/dragonxd-mac/*
|
|
!prebuilt-binaries/dragonxd-mac/.gitkeep
|
|
prebuilt-binaries/xmrig-hac/*
|
|
!prebuilt-binaries/xmrig-hac/.gitkeep
|
|
|
|
|
|
# External sources / toolchains (created by scripts/setup.sh)
|
|
external/
|
|
|
|
# Internal docs
|
|
doc/
|
|
|
|
# Downloaded libsodium (built by scripts/fetch-libsodium.sh)
|
|
libs/libsodium-mac/
|
|
libs/libsodium-win/
|
|
libs/libsodium/
|
|
libs/libsodium-*.tar.gz
|
|
|
|
# dev artifacts
|
|
imgui.ini
|
|
*.bak
|
|
*.bak*
|
|
*.params
|
|
asmap.dat
|
|
/external/xmrig-hac
|
|
/memory
|
|
/todo.md
|
|
/.github/
|
|
/ObsidianDragon-agent/
|
|
|
|
# macOS
|
|
.DS_Store
|
|
# Local-only archive of superseded lite-wallet design/planning docs (untracked)
|
|
docs/_archive/
|
|
|
|
# ed25519 release-signing keys — the secret key must NEVER be committed
|
|
*.ed25519.key
|
|
*.ed25519.pub.b64
|
|
|
|
|
|
# Lite-backend deps are fetched (or `cargo vendor`-ed locally for offline); not committed.
|
|
third_party/silentdragonxlite/lib/vendor/
|
|
|
|
# Generated by configure_file from res/ObsidianDragon.manifest.in (do not track)
|
|
res/ObsidianDragon.manifest
|
|
|
|
# Cross-built mingw FreeType (color emoji) — regenerated by scripts/build-freetype-mingw.sh
|
|
third_party/freetype-mingw/
|
|
third_party/.freetype-mingw-build/
|