Repository navigation
Releases
RustPad v3.0.15 — Colorful Marker Highlights + ToUnicode CID PDF Fix
RustPad v3.0.15 — Colorful Marker Highlights + ToUnicode CID PDF Fix
100% Pure Rust · 0 crates.io dependencies · Offline-first · Windows (.exe) + Linux x86_64
✨ v3.0.14 — Colorful Marker Highlights
- Curated 8-swatch marker palette (Sunbeam Yellow, Mint Emerald, Sky Cyan, Coral Rose, Soft Lavender, Warm Peach, Spring Lime, Warm Stone)
- Split
Mark | ▾Word Ribbon control with live color bar + HighlightPicker popover; 5 instant 1-click swatches in the floating selection bar;Ctrl+Shift+H; word-under-caret clearing with Undo; PDF Highlight tool color sync - Lossless round-trip: 24-bit
<w:shd w:fill="RRGGBB"/>+ legacy<w:highlight>import, HTML5<mark>export, Midnight Dark Mode ink contrast preserved
🐛 v3.0.15 — Fixed Garbled PDF Text (ToUnicode CMap Decoding)
- Word-exported PDFs (subset CID fonts: Aptos / SymbolMT / SegoeUIEmoji,
/Identity-H) no longer render as scattered symbols (! " # $ % & ' ( ) * + …) - Parser now resolves per-page
/Fontresources and decodes CID hex strings via each font's/ToUnicodeCMap (beginbfchar+beginbfrange, ligatures, surrogate pairs) - Bonus:
'/"/TL/T*operators + UTF-16BE BOM metadata strings - Verified on a real Word-exported PDF: clean French text with accents, bullets, and emoji
Verification
cargo test --workspace: 61/61 passing ·cargo clippy: clean- Landing page upgraded to v3.0.15 (download links, hero, studio specimens)
Downloads
rustpad-v3.0.15-windows-x86_64.exe— Windows x64 (zero console window)rustpad-v3.0.15-linux-x86_64— Linux x86_64SHA256SUMS.txt— checksums
Authored by Nour Yahyaoui — RustPad Studio.
RustPad v3.0.13 — Pure Offline Core (Removed All AI Agent Integration)
RustPad v3.0.13 — Pure Offline Document, Inline Math & Forensic PDF Studio
Removed & Streamlined
- 100% AI-Free Offline Core (
-3,170+lines removed): Deletedcrates/power_tools/src/ai_agent.rs(-1,227lines) and removed all local/cloud AI HTTP & WinHTTP bridges,AiDockState, the right-side AI Agent Studio dock (Ctrl+J),AiRun*commands, floating selectionAI Polish, and therustpad aiCLI subcommand. - Streamlined Studio Launchpad & Toolbar: Replaced AI buttons on the Home Launchpad with 1-click
∑ Inline Math Library (Alt+=)access and focused the floating selection bar strictly on typography & review (B,I,U,Highlight,Ink,+Note). - Pure Win32 GUI Subsystem Preserved: Double-clicking
rustpad.exeopens strictly the native Win32 window with zero backgroundcmd.exewindow,0externalcrates.iodependencies, and0network sockets.
v3.0.12 — Pure Win32 GUI (No Console Window) & Linear Algebra / Probability Math Pack
What's New in RustPad v3.0.12
1. Pure Native Win32 GUI Launch (Zero Background cmd.exe Terminal Window)
- Compiled
rustpad.exewithwindows_subsystem = "windows"(IMAGE_SUBSYSTEM_WINDOWS_GUI) so double-clickingrustpad.exeopens strictly the RustPad Studio desktop window with zero persistentcmd.exeterminal window. - Running CLI subcommands from PowerShell or
cmd(rustpad --version,rustpad convert,rustpad sbom, etc.) automatically attaches viaAttachConsole(ATTACH_PARENT_PROCESS), and Windows print/OCR/curl helpers useCREATE_NO_WINDOW.
2. Step-by-Step Math Library Expansion (83 Ready-to-Insert Inline Templates)
- Added
LinearAlgebraandProbabilitycategories to the Inline Math Library (Ctrl+Shift+L/Alt+=//math): Dot Product, L1/L2/Frobenius Norms, Cosine Similarity,Ax = b, Matrix Product, Eigenvalues, SVD, QR/Cholesky, OLS, Orthogonal Projection, Cauchy–Schwarz, Kronecker/Hadamard, Bayes' Theorem, Conditional & Total Probability, Expectation, Variance, Pearson Correlation, Gaussian PDF, Z-Score & Confidence Interval, Binomial/Poisson PMF, MLE, and Chebyshev's Inequality.
v3.0.11 — Core Inline Math Function & Formula Library (/math & Ctrl+Shift+L)
RustPad v3.0.11 — Core Inline Math Function & Formula Library (Step 1 of Math & Code Micro-Roadmap)
- Searchable Inline Math Function & Formula Library (
Ctrl+Shift+L,Alt+=, Ribbon∑ Math,/math): Addsdoc_model::math_librarywith 61 ready-to-insert inline mathematical templates across Core Building Blocks, Algebra & Trigonometry, Calculus & Analysis, and Greek & Number Domains that insert as multi-spanTextSpanruns (SerifItalicvariables +<w:vertAlign>superscript/subscriptbounds) fitting naturally inside normal prose without breaking line height. - Clean Prose Continuation: Automatically resets
pending_typing_styleto surrounding prose after inserting a formula so continuing to type right after an exponent or subscript stays normal text. - TrueType Math Symbol Fallback (
FontBook::face_for_char): Automatically falls back toSansvector outlines whenSeriforMonoslots omit a non-ASCII mathematical glyph.
v3.0.1 — Rich-Span Typography, Inline Typing Styles & PDF AFM Calibration
RustPad Studio v3.0.1 — Typography, Inline Editing & PDF Layout Patch
Fixed Bugs (#60, #61, #62, #63)
- PDF Inline Spacing, Continuous Phrase Underlines & Zero Run Overlap (
crates/pdf_create,crates/pdf_engine,crates/power_tools):- Replaced coarse fixed-factor character width estimates and
.trim()space stripping with official per-codepoint Adobe Standard-14 AFM width tables (Helvetica,Helvetica-Bold,Times-Roman,Times-Bold,Courier). - Preserves inter-span leading/trailing spaces (
"hello everyone im "+"nour yahyaoui"+" a web developer from tunisia"), merges contiguous same-style runs per wrapped line for continuous underlines/highlights across multi-word phrases, and removes the* 1.08run-advance drift hack. - Recovers gap-calibrated spaces, underlines, and strikethroughs cleanly during
PDF -> Wordroundtrips.
- Replaced coarse fixed-factor character width estimates and
- Calibrated PDF Studio Viewer & 12-Slot TrueType Engine (
crates/rustpad_render,app/src/pdf_view.rs):- Added
Surface::draw_text_to_widthso embeddedDejaVuglyphs fit exact PDF Standard-14 run boxes without colliding into subsequent runs or overshooting underlines. - Expanded
FontSlotto all 12(Sans | Serif | Mono) × (Regular | Bold | Italic | BoldItalic)variants with 4×4 supersampled0.20oblique italic shear and non-zero-winding span-dilated synthetic bold.
- Added
- Word Studio Pending Typing Styles & Lossless Rich-Span Editing (
app/src/state.rs,app/src/word_view.rs,crates/doc_model):- Toggling
Bold,Italic,Underline,Strikethrough,Superscript,Subscript, font family, font size, ink color, or highlight at the caret with no selection now queuespending_typing_stylefor newly typed text instead of overwriting existing paragraph runs. Enter(Paragraph::split_at_char),Backspace, andDeletepreserve all richSpanStyleandRevisionMetaruns across splits and merges.- Rich-span line wrapping, overlong URL soft-wrapping, and
Center/Rightalignment measure exact per-span glyph advances.
- Toggling
RustPad v3.0.0 — Major Upgrade: Native Dark Mode, OOXML Intelligence, Smart Merge, Redaction & CLI Suite
RustPad v3.0.0 — Major Pure-Rust Engine Upgrade + Native Dark Mode
100% Pure Rust · 0 External crates.io Dependencies · 60–120Hz Native Desktop Studio (Windows .exe + Linux x86_64) + 19-Command Enterprise CLI
Highlights
- Native 3-Mode Dark Studio (
Ctrl+Shift+D):Daylight,Midnight, andHybridDarkDeskwith zero-mutation render-time ink/table adaptation (saved.docx/.pdffiles stay 100% standards-faithful), Windows 11 DWM & Linux X11_GTK_THEME_VARIANTnative dark titlebars, and~/.rustpad/theme.confpersistence. - Pillar A — OOXML Intelligence, Validation & Salvage Repair:
rustpad validate,rustpad repair(Local File Header salvage + truncated XML tag-stack healing + automatic desktop recovery on open), andCtrl+Shift+JDocument Intelligence, Security & Quality Inspector. - Pillar B — Advanced Document Editing:
word/footnotes.xml&word/endnotes.xmlcitations + Word/PDF rendering,<w:sectPr>section breaks,different_first_pageheaders/footers, hyperlinks, superscript/subscript, and<w:vanish/>hidden runs. - Pillar C — Multi-Layer Comparison & Smart 3-Way Merge: Character-level & structural diff (
rustpad compare,rustpad redline --char-level) and conflict-aware 2/3-way.docxmerge (rustpad merge). - Pillar D — Forensic Security & Privacy: Permanent
.docx/.pdfredaction (rustpad redact --pii), metadata/hidden-text/remote-template scrubber (rustpad clean-meta), and0600+fsyncatomic writes. - Pillars E & F — Productivity, Exports, Pure-Rust OCR & Batch CLI: Responsive HTML5 export with Light/Dark CSS tokens, duplicate-paragraph & broken-hyperlink diagnostics, pure-Rust offline bitmap OCR (
PNG/JPEG/BMP/PGM), batch directory processor (rustpad batch), and crash-proof 30–200+ MB zero-copy streaming.docxengine.
Links
- Portfolio Case Study: https://nour-yahyaoui.vercel.app/projects/rustpad
- Live Studio Website: https://rustpad-studio.vercel.app/
- Source Repository: https://github.com/Nour-yahyaoui/rustpad
- Contributing Guide: https://github.com/Nour-yahyaoui/rustpad?tab=contributing-ov-file
- Release Tag (v3.0.0): https://github.com/Nour-yahyaoui/rustpad/releases/tag/v3.0.0
Code Signing & Privacy Policy
- Free code signing on Windows provided by SignPath.io, certificate by SignPath Foundation.
- 100% Offline-First: RustPad makes zero automatic network calls, embeds zero telemetry/analytics SDKs, and sends text to an AI endpoint solely when explicitly invoked by the user.
- Author & Maintainer: Nour Yahyaoui (
https://nour-yahyaoui.vercel.app·https://github.com/Nour-yahyaoui)
RustPad v2.3.0 — Virtualized 100+ MB .docx Engine, Progressive Viewport Thumbnails & Zero-Copy CoW
RustPad v2.3.0 — Virtualized Large-Document & Multi-Screenshot Engine
Fixes #47 (30+ MB multi-page, high-resolution screenshot-heavy .docx crash, OOM memory explosion, and main-thread freeze) while keeping zero external crates.io dependencies and 60–120Hz native responsiveness.
Root Causes Eliminated & New Architecture
- Viewport-Only 64 MiB LRU Thumbnail Streaming (
app/src/word_view.rs,crates/rustpad_render): Replaced eager upfront decoding of every off-screen figure on frame 1 (which allocated1.6–3.3 GBof uncompressed RGBA buffers for 100+ 4K screenshots) withprobe_media_dimensions(O(1)24-byte header scan for exact aspect ratios) and progressivedecode_any_image_thumbnail_rgbadownsampling (<= 1440px, max 3 decodes/frame, bounded64 MiBLRU cache + corrupt-media tombstones). - Zero-Copy Reference-Counted Media (
SharedBytes/Arc<[u8]>) & Instant Time-Machine CoW (crates/doc_model,crates/power_tools): Opening a 30+ MB.docxpreviously ran double synchronousO(N)LZ77 compression (save_docx_bytes+zlib_compress) insideSnapshotVault::captureand deep-cloned raw media acrossUndoHistory.ImageBlocknow storesSharedBytes, deduplicates repeated archive assets on load, and captures in-memory Time-Machine & Undo snapshots in< 0.05 mswith zero media duplication. - Hardened PKZIP
1 GiBBudget &STOREDMedia Fast Path (crates/rustpad_zip): Raised archive ceilings from256 MiB/4,096entries /250:1ratio (which rejected >30 MB multi-page.docxarchives and dense XML) to1 GiB/32,768entries /2,000:1ratio, and skips redundant DEFLATE passes on pre-compressed PNG/JPEG/WebP media (~500x faster.docxsaves). - 64 MP /
32,768pxCodec Support, Layout-Table Images & Crash Containment (crates/docx_io,crates/rustpad_window,app/build.rs): Raised PNG/JPEG/BMP limits from8,192px/32 MPto32,768px/64 MPfor stitched Retina screenshots, surfaces<w:drawing>/<w:pict>figures inside<w:tbl>cells, caches paginated layout (Rc<Vec<Vec<LaidOutBlock>>>) withO(W)word-wrapping and sub-page block culling, provisions a 16 MiB Win32 stack (/STACK:16777216), and guards Win32wnd_proc+open_pathwithstd::panic::catch_unwind.
Direct Downloads (0 Dependencies · Portable Native Binaries)
- Windows 10/11 x64 (
Win32 GDI):rustpad-v2.3.0-windows-x86_64.exe/rustpad.exe - Linux x86_64 (
X11):rustpad-v2.3.0-linux-x86_64 - Checksums:
SHA256SUMS.txt
v2.2.0 — Effortless Table Studio, Native .docx Figures & Win32 Publisher Identity
RustPad v2.2.0 — Smooth 60–120Hz UX, Table & .docx Image Studio, and Win32 PE Identity
Highlights
- Effortless 8×8 Table Creation Studio (
#36,#38):- Interactive
8×8visual hover-and-click table dimension picker (Table ▾/Ctrl+Shift+Twith keyboard Arrow +Entersupport). - 5 1-Click Styled Presets: Pricing / Invoice, Project Tracker, Comparison Matrix, Pros & Cons, and Schedule / Agenda.
- Instant slash & Markdown pipe shorthands (
/table 4x5,/invoice,| Feature | Owner | ETA |+Enter) and Excel/Sheets TSV clipboard auto-tables (Ctrl+V). - Contextual
TABLEbar (+Row,-Row,+Col,-Col,Zebra,Theme,=Cols,Del Tbl) +Escto exit tables smoothly.
- Interactive
- Universal
.docxImage & Figure Studio (#39,#40):- Pure-Rust bounded decoders (
0crates.iodeps) for PNG (RGB/RGBA/Grayscale/PalettePLTE+tRNS+ Adam7), Baseline & Progressive JPEG (ITU-T.81 Huffman + IDCT + YCbCr/CMYK), and BMP / Win32CF_DIB(24/32-bpp). - Parses ECMA-376
<wp:inline>,<wp:anchor>floating figures,<mc:AlternateContent>, and legacy<w:pict><v:imagedata>with strict ZipSlip path normalization. - Insert via Ribbon
Image,Ctrl+Shift+I,/image, OS file drag-and-drop, orCtrl+Vscreenshot paste, with 60–120Hz aspect-locked corner drag-resize handles,25% / 50% / 75% / 100%presets, captions, and vector PDF/Subtype /ImageXObject export.
- Pure-Rust bounded decoders (
- Embedded Windows App Icon, Publisher Metadata & Security Manifest (
PR #44):- Spec-compliant multi-frame
rustpad.ico(16×16,32×32,48×48,64×6432-bpp DIB +256×256lossless PNG) embedded via zero-dependencyapp/build.rs(RT_GROUP_ICON+ runtimeLoadIconW/WM_SETICON). - Embedded Win32
VS_VERSION_INFOpublisher metadata (CompanyName = "Nour Yahyaoui - RustPad Studio",ProductName = "RustPad Desktop Studio",FileVersion = "2.2.0.0"). - Least-privilege
asInvokerUAC +PerMonitorV2HiDPI Windows 10/11 application manifest + local Authenticode helper (scripts/sign-windows.ps1).
- Spec-compliant multi-frame
Verify Release Checksums
Get-FileHash .\rustpad-v2.2.0-windows-x86_64.exe -Algorithm SHA256See SHA256SUMS.txt attached below and SECURITY.md for local/enterprise Authenticode signing (scripts/sign-windows.ps1).
RustPad v2.1.0 — Ultra-Smooth 60–120Hz Compositor & Flagship Human UX
RustPad v2.1.0 — Where Ultra-Smooth 60–120Hz Responsiveness & Human UX Are the #1 Feature
Highlights
- 60–120Hz Coalesced Native VSync & Fast Scanline Compositor (
#31): Win32WM_PAINTand X11MotionNotifyburst coalescing (16ms~60Hz tick), slice-acceleratedSurface::fill_rounded_rectinterior scanlines, O(1) horizontal clip culling inSurface::draw_text, and pure-Rust RFC 2083decode_png_rgba+ bilinearblit_rgba_scaledfor zero-allocation embedded.docxfigures. - Live Text Range Selection, Substring
TextSpanStyling & Floating Ivory Popover (#32): Zero-lag mouse-drag selection (WordLineHitBox), double-click word select,Shift+Click,Shift+Arrow/Home/End,Ctrl+Left/Rightword jumps,Ctrl+ASelect All,Paragraph::transform_rangemixed inline styling, and a Warm Ivory Floating Selection Mini-Toolbar (B,I,U,Highlight,Ink,+Note,AI Polish). - 60Hz Kinetic Spring Scroll, 1-Click Per-Clause Redlines & Focus Mode (
#33): Critically-dampedtarget_scroll_yspring scrolling across Word & PDF tabs, 1-click per-clauseAccept #N/Reject #Nin the Legal Redline Review Bar, liveCtrl+Fmatch auto-jump, andCtrl+Shift+FDistraction-Free Writer Focus Mode. - Interactive Smooth UX Sandbox (
#34): Mobile-first (320px+) interactive sheet sandbox live at https://rustpad-studio.vercel.app. - Offline Enterprise Foundation Preserved:
0crates.ioruntime dependencies, lossless OOXML passthrough, forensic PDF redaction sanitization, PDF/A-2b + SHA-256 seals, MDMpolicy.jsonAI DLP, and CycloneDX 1.5 SBOM.
RustPad v2.0.0 — Enterprise Offline Document & PDF Suite
RustPad v2.0.0 — Enterprise Offline Document & PDF Suite
RustPad v2.0.0 elevates RustPad into an enterprise-grade, 100% offline-capable native desktop document and PDF suite compiled into a single ~3.8 MB pure-Rust executable with 0 external crates.io runtime dependencies.
Major Enterprise Capabilities
- Lossless OpenXML (
.docx), Legal Track Changes & Review Comments (#23): Byte-for-byte archive passthrough (passthrough_parts), ECMA-376<w:ins>&<w:del>/<w:delText>live revision tracking (Ctrl+Shift+E), emerald/crimson redline rendering + gutter change bars,Accept All/Reject All, offline word-level contract comparison (rustpad redline), and threadedword/comments.xml(Ctrl+Shift+M). - Forensic PDF Redaction Sanitizer, PDF 1.5+
/ObjStmUnpacking, PDF/A-2b & SHA-256 Seals (#24): ISO 32000-1/Type /ObjStm+ PNG predictor unpacking, physical removal of redacted underlying glyph runs (rustpad sanitize), archival PDF/A-2b XMP packets, and/Type /RustPadSealSHA-256 tamper-evident sealing & CLI verification (rustpad sign --pdfa,rustpad verify). - Parser Security Ceilings & In-Tree SHA-256 (
#25): Pure-Rust RFC 6234sha256, bounded DEFLATE/Zlib zip-bomb ratio ceilings (200:1),ZipSlippath-traversal rejection, andMAX_XML_DEPTH = 128. - MDM
policy.jsonDLP Governance, Native WinHTTP Schannel TLS, Audit Chain & CycloneDX SBOM (#9,#26): Native Windowswinhttp.dllcorporate proxy & Enterprise Root CA TLS transport, system MDMEnterprisePolicyair-gapped AI lockout, SHA-256 hash-chainedAuditTrail, andrustpad sbomCycloneDX 1.5 JSON output. - Crash-Safe WAL, Shared Lockfiles, UIA/AT-SPI Accessibility & OS Printing (
#27,#28): SHA-256WalJournalframes,.~rustpad.lockguards,rustpad inspect --a11y,Ctrl+POS printing, and full open-source governance (SECURITY.md,ARCHITECTURE.md,CONTRIBUTING.md,docs/ENTERPRISE_POLICY.md).