ad9d14c011
Docs: vong 8 - edit chuan moi PDF (CID/CFF/OCR/format tung chu/UX), E2E build 40 PASS 10/10 + 2 bai hoi quy
main
adminandClaude Fable 52026-08-10 19:24:37 +07:00
090e3871af
Fix: doi FORMAT thuan (boi den -> B/I, chu giu nguyen) bi commit coi la 'khong thay doi' va nuot mat op - dieu kien changed tinh ca override
adminandClaude Fable 52026-08-10 19:12:23 +07:00
57b8b84f7d
Dot 2: CFF/Type1C tran boc thanh OTF (cffwrap parser toi thieu: CharStrings/Encoding/charset/FontMatrix; hmtx tu /Widths, asc/desc tu FontDescriptor); tounicode thu widths/DW/ascent/descent; goi CJK tuy chon (fetch-fonts-cjk.ps1 + ff-app-cjk lazy theo noi dung)
adminandClaude Fable 52026-08-10 16:55:06 +07:00
fd90a124dc
CI: fetch-qpdf dung GITHUB_TOKEN + fallback ban pin v12.2.0 - het fail oan vi API rate limit tu runner
adminandClaude Fable 52026-08-10 16:50:05 +07:00
74f161a627
Dot 1 "edit chuan moi PDF": CID/Identity-H font, format TUNG CHU, edit OCR, bu metrics, splash, Open-with
adminandClaude Fable 52026-08-10 16:44:06 +07:00
a3b00da10d
Docs: vong 7b - dong goi bo Noto theo app, khong thoa hiep font he thong; E2E build 36: go ky tu ngoai subset -> 0 glyph he thong, luu file nhung NotoSans tu bo dong goi
adminandClaude Fable 52026-08-10 12:25:26 +07:00
f10cb7df2b
DONG GOI bo font Noto theo app: khong thoa hiep font he thong o bat ky tang nao
adminandClaude Fable 52026-08-10 12:12:26 +07:00
f6c1bc2070
Docs: vong 7 - o sua dung font nhung PDF (fontfix OS/2 + cmap fmt4 + ToUnicode), kiem chung build 35 tren file dich + CV Canva; ghi nhan file CV trong project bi ghi de hong (Producer Canva, xref gay) - ban goc lanh o Downloads
adminandClaude Fable 52026-08-10 11:55:21 +07:00
f77092bff2
fontfix: va subset PDF cho FontFace - them OS/2 + cmap (3,1) format 4 tu /ToUnicode
adminandClaude Fable 52026-08-10 11:32:17 +07:00
f2ebf2deff
O sua dung FONT NHUNG cua PDF (FontFace): het "mat in dam" do may thieu font
adminandClaude Fable 52026-08-10 11:02:27 +07:00
c885567b26
Fix de chu DOC khi luu: vong no pad_y=8 nuot nham DONG KE TREN khoi reflow
adminandClaude Fable 52026-08-10 10:33:54 +07:00
d812f72dc7
Fix cuon lech khi vua vao che do sua nhieu trang: slot active giu min-height
adminandClaude Fable 52026-08-10 10:17:48 +07:00
21314281a8
Vong 6: edit mode NHIEU TRANG + nut Huy thay doi + fix de chu khi luu dong lan style
adminandClaude Fable 52026-08-10 09:52:01 +07:00
f0b4de9af1
Edit mode: zoom + chuyển trang + dòng lẫn nhiều style (thường/đậm/mono)
adminandClaude Fable 52026-08-10 09:03:32 +07:00
0bb1a12ac1
Docs: va build 27-28 theo phan hoi user (co chu am do matrix.d co dau, ao giac text bien mat do anh render-an, tan du dau nga - pad doc 8pt)
adminandClaude Fable 52026-08-08 18:48:32 +07:00
f78ed08d10
Fix 2 loi UX sua-trong-form tren file Canva: (1) sau commit tra lai anh goc ngay + hint 'Dang ap dung...' thay vi hien anh-render-an (chu cu da xoa) nhieu giay gay cam giac chu bien mat; (2) vong no indices reflow noi pad DOC 8pt - dau tieng Viet (nga cua E~) ve bang op rieng co tam ngoai bbox+2pt nen sot lai dau lo lung sau sua
adminandClaude Fable 52026-08-08 18:37:27 +07:00
390fb82dd6
Fix cỡ chữ ÂM với file toạ độ lật (Canva): pdfium-render lấy vertical scale = matrix.d CÓ DẤU — chuẩn hoá .abs() tại mọi điểm đọc cỡ trong engine (list/geo/anchor/inplace/capture). Cỡ âm làm UI kẹp ô sửa về 6px (sai vị trí/style) và reflow đo bề rộng âm → không bẻ dòng, chữ mới văng khỏi trang (cổng pass vì ít pixel) → 'text biến mất'. Kèm 2 test fixture form MA TRẬN LẬT (cỡ dương ~24, reflow đặt chữ đúng vùng cũ)
adminandClaude Fable 52026-08-08 18:15:23 +07:00
a009568b9b
Docs: iteration 4b da lam - phau thuat stream form (lopdf), kiem chung E2E tren CV Canva that
adminandClaude Fable 52026-08-08 08:07:46 +07:00
c1756ffee3
formsurgery: fallback bytes tho khi stream khong nen (decompressed_content cua lopdf bao loi thieu /Filter voi stream khong nen)
adminandClaude Fable 52026-08-08 07:56:08 +07:00
26701b9242
PHẪU THUẬT stream form: sửa/xoá text TRONG Form XObject không cần mở gói
adminandClaude Fable 52026-08-08 07:46:39 +07:00
d7398a6bb0
README: mo ta dung thuc te iteration 4 (mo goi form + cong an toan so render)
adminandClaude Fable 52026-08-08 03:33:23 +07:00
5c53c1f987
Cong an toan cho mo goi form: so render truoc/sau (page_render_mismatch), lech >0.5% pixel -> huy + chan sua voi thong diep ro. E2E tren CV Canva that phat hien generator PDFium lossy (font subset trung ten bi gop lam mat glyph, anh inline bi bo, z-order xao tron) - khong ship flatten mu quang; ke hoach iteration sau (phau thuat stream bang lopdf) ghi trong docs.
adminandClaude Fable 52026-08-08 03:22:41 +07:00
93d49a67df
CI: cai Tesseract OCR (eng + vie traineddata) cho buoc test - test OCR can binary that
adminandClaude Fable 52026-08-08 02:58:11 +07:00
b38655a011
Test form/sign: khong de FOFREEXIT_QPDF_PATH neu da co (CI set san), mac dinh qpdf/ o root workspace - bo gia tri /usr/bin hard-code tu may dev Linux cu
adminandClaude Fable 52026-08-08 02:52:43 +07:00
b251e677a1
CI: set FOFREEXIT_QPDF_PATH cho buoc test (test form/qpdf chay voi cwd = thu muc crate nen khong tu thay qpdf/ o root repo)
adminandClaude Fable 52026-08-08 02:46:23 +07:00
b457c86d4f
Fix tang coverage cua SetText: chi ap dung cho font NHUNG - voi font khong nhung, PDFium moi tra bytes cua font he thong thay the (phu du glyph Viet) lam engine tuong set_text an toan, nhung font object WinAnsi trong PDF khong ma hoa duoc -> ra ky tu rac. Bug tiem an tu iteration 2, lo ra khi CI dung DLL bblanchon moi (may dev cu DLL cu khong tra data cho font khong nhung).
adminandClaude Fable 52026-08-08 02:40:51 +07:00
8c6a819aa8
Fix assert test reflow form: cum tu tim kiem vat qua cho be dong - so khop tren ban chuan hoa khoang trang (chuc nang reflow da chay dung, extract ra 6 dong)
adminandClaude Fable 52026-08-08 02:32:21 +07:00
d4b09e0ed8
Form XObject vòng 4 — kiến trúc cuối: MỞ GÓI form ra cấp trang trước khi sửa
adminandClaude Fable 52026-08-08 02:26:30 +07:00
1b3cf15664
Form XObject vong 3: danh thuc trang sau khi rut con khoi form (GenerateContent chi ghi lai khi co object cap trang dirty; ProcessForm khong chay voi op thuan trong form) - nhan identity matrix vao form to tien. Ghi chu doc log CI: chi failure dau tien la loi that (poison mutex lan sang test sau).
adminandClaude Fable 52026-08-08 02:07:00 +07:00
fd731255ac
Form XObject vòng 2: rút object khỏi form thật sự — sửa trong form mới được LƯU
adminandClaude Fable 52026-08-08 02:00:10 +07:00
e66252681c
Sửa được text nằm trong Form XObject (file Canva/Illustrator) + CI chạy test
adminandClaude Fable 52026-08-08 01:41:21 +07:00
68883b9e75
Gốc rễ lỗi font ô sửa: field IPC lệch tên camelCase/snake_case + kéo-thả mở file
adminandClaude Fable 52026-08-08 00:50:22 +07:00
de1ba2cc63
Khối sửa chuẩn Foxit: tách đoạn theo format, nền trong suốt, bullet, giữ in đậm
adminandClaude Fable 52026-08-07 18:18:30 +07:00
a72bfae176
Ô sửa inline trùng khít chữ gốc (đúng font/cỡ/vị trí — WYSIWYG như Foxit)
adminandClaude Fable 52026-08-07 17:45:33 +07:00
d67338a14a
Bỏ qua thư mục dist/ (bản build portable tải về từ GitHub Release)
adminandClaude Fable 52026-08-07 17:45:33 +07:00
820a8c6e2b
CI: luôn publish GitHub Release (kể cả khi build tự động do push), không chỉ khi chạy thủ công
Claude2026-07-16 16:58:57 +00:00
1171101166
Fix font/size preservation and startup freeze
Claude2026-07-16 16:43:41 +00:00
58cba1f415
Sửa 3 lỗi edit inline vòng 2 (file thật Word-export): hết □ thay dấu cách, dòng không vỡ khi thêm ký tự, ô sửa WYSIWYG đúng cỡ từng dòng
adminandClaude Fable 52026-07-16 16:15:04 +00:00
c8f22b091f
Sửa edit inline với PDF Word-export: khung theo dòng, sửa cả đoạn giữ xuống dòng, hết chồng chữ
adminandClaude Fable 52026-07-16 10:49:59 +00:00
77ed917913
Đúp chuột vào chữ từ viewer thường → vào thẳng chế độ sửa (chuẩn Foxit Editor)
adminandClaude Fable 52026-07-16 04:18:16 +00:00
a67f22df1e
Thêm CI: build Windows portable tự động (GitHub Actions)
adminandClaude Fable 52026-07-16 03:03:58 +00:00
c2076c0da6
Thêm linux-schema.json (Tauri tự sinh khi build trên Linux, cùng bộ với desktop/windows schema)
adminandClaude Fable 52026-07-14 16:59:39 +00:00
1285a8d6ae
Phase 4 Iteration 2: sửa text GIỮ NGUYÊN FONT (chuẩn Foxit) + UX edit mượt
adminandClaude Fable 52026-07-14 16:58:22 +00:00