Initial commit: FoFreeXit Phase 1 (Viewer) + Phase 2 (Annotate)

PDF viewer (render/search/text-select/thumbnails/outline) and annotation
engine (Highlight/Underline/Strikeout/Square/FreeText/Note) over PDFium +
lopdf, with Unicode font embedding for Vietnamese text and undo/redo.
This commit is contained in:
2026-06-17 22:34:06 +07:00
commit 274012f854
52 changed files with 28479 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
//! ff-cos — COS (Carousel Object System) layer.
//!
//! Tầng object thấp của PDF: Object/Dictionary/Array/Stream/Name/Ref/XRef.
//! Tương ứng "Cos layer" của Adobe và QPDF. Hiện là khung trống; sẽ được
//! xây dựng dần từ Phase 3 (ghi file vững) trở đi. Phase 1 chưa cần.
//!
//! Xem docs/04-architecture.md.
/// Phiên bản đặc tả PDF tối thiểu mà engine nhắm tới.
pub const TARGET_PDF_VERSION: &str = "1.7";