makepad/apps/mppdf/Cargo.toml
Admin d25cce9ae6 mp*: the window-manager app family — quick-look, warm-instance pool, pty teardown, theme bridge
Squashed from work; the fine-grained history is under tag archive/work-2026-08-29:
- mp* wave: mpwm window manager + the mp app family, WM API, theme bridge, PDF engine fix
- mpwm polish wave: terminal key focus, focus-history close order, pop-back-to-origin, occupied-workspace cycling, demo
- mpwm: ghost-launch/menu-flash root cause, scroll z-gate, browser binds, path-free status, viewers delisted, Fab opens
- mpwm: Hyprland-exact close animation over a frozen snapshot
- mpwm: warm-instance pool, flat-luminance opens, flicker-free CEF resize
- work: land the sources the last commits reference
- mpwm: quick-look gap fixes; image cache eviction on preview unload
- tweaker: material thumbnails + vibecode popup + ctrl-space notes, undo/redo over the edit ledger, capture-semantics pi
- tweaker: tabbed side panel (Props/Shader/Tree) - shader tab with checkerboard material well + prompt, complete widget-
- mpwm+mpterm: text quick-look — pty teardown deadlock fix, in-place retarget verified, debug probes stripped
2026-08-29 09:26:26 +02:00

37 lines
1.3 KiB
TOML

# mppdf — a PDF viewer, part of the mp* app family (mpterm, mpwm, mpfiles,
# mpimage, mpvideo, mptask, mpsheets, route, mixer...).
#
# `mppdf <path>` opens a document as one continuous scroll of pages on a
# dark mp_theme background: PageDown/Space page through, Cmd +/- zoom,
# Cmd+0 fits the width, Cmd+1 shows 100%, Cmd+scroll zooms around the
# cursor, Cmd+Shift+T shows a thumbnail strip, Escape/Q quits.
# `--preview <path>` sizes the window as a popup — that is mpfiles' Quick
# Look.
#
# Nothing here parses or draws PDF: the parser is libs/pdf_parse and the
# renderer is the `PdfView`/`PdfPageView` pair in widgets/src/pdf_view.rs
# (feature `pdf`), which walks the page's content-stream ops straight into
# DrawVector geometry and DrawText runs — no rasterization anywhere. This
# crate is the viewer around them: an off-thread loader that streams parsed
# pages in as they come, the zoom/fit/navigation maths, the thumbnail
# strip, and the chrome.
[package]
name = "mppdf"
version = "0.1.0"
edition = "2021"
default-run = "mppdf"
[lib]
name = "mppdf"
path = "src/lib.rs"
[[bin]]
name = "mppdf"
path = "src/main.rs"
[dependencies]
makepad-widgets = { path = "../../widgets", features = ["pdf"] }
makepad-pdf-parse = { path = "../../libs/pdf_parse" }
mp-theme = { path = "../../libs/mp_theme" }
mp-wm-api = { path = "../../libs/mp_wm_api" }