forked from 1b-agent/opencadstudio-upstream
- IMAGEEMBED: pack raster images into OLE2FRAME entities so a .dwg is self-contained; 'Embed Image' entry in the XREF attach menu; control/MCP op embed_image for external tools; dxf_name for OLE2FRAME queries. - Scene: populate_images_from_document now rebuilds OLE2FRAME and PDF underlay models too (they used to vanish after any XREF op). - Printing: add PRINTER_ENUM_NETWORK pass when listing printers; GDI spooler fallback (hayro raster at 300 DPI + StretchDIBits) for hosts whose PDF handler registers no print verb; DEVMODE orientation with a 90-degree raster rotation fallback for v4 drivers; fix the fit-scale precedence bug that printed blank pages. - PDF export dialogs on Windows use the async file dialog so the native overwrite confirmation no longer deadlocks the UI thread. - Plot dialog: persist the chosen printer (saved on selection) and the picked plot window across sessions; page setups with no device no longer reset the output device. - Community fonts: detect unresolvable .shx references on open and offer a download from the repository's fonts/ folder (contribution guide in fonts/README.md); custom font source URL setting for intranet font servers; downloaded fonts resolve from the per-user fonts directory.
OpenCADStudio Community Fonts
Thư mục này là kho font cộng đồng của OpenCADStudio. Khi mở một bản vẽ
DWG/DXF tham chiếu font (.shx) không có trên máy, ứng dụng sẽ hỏi người dùng
và tự động tải font từ thư mục này, thay vì vẽ chữ bằng font thay thế bị lệch/vỡ.
When a drawing references an .shx font that is missing on the machine,
OpenCADStudio offers to download it from this folder automatically instead of
rendering with a mismatched substitute font.
Cách đóng góp / How to contribute
- Fork repository, thêm font vào thư mục
fonts/ở thư mục gốc của repo (cùng cấp vớisrc/,crates/, …), rồi mở Pull Request. - Giữ nguyên tên file viết thường như bản vẽ tham chiếu, ví dụ
vnarial.shx,romans.shx,simplex.shx. Ứng dụng so khớp tên file không phân biệt hoa/thường. - Định dạng hỗ trợ:
.shx(AutoCAD compiled shape font). - Giấy phép / License: chỉ đóng góp font bạn có quyền phân phối lại — font do bạn tự vẽ, font nguồn mở, hoặc font thuộc public domain. Ghi nguồn + giấy phép vào cuối file này theo mẫu bên dưới. Only contribute fonts you have the right to redistribute, and record the source and license below.
Ứng dụng tải font về thư mục cài đặt người dùng
(%APPDATA%/OpenCADStudio/fonts trên Windows) và dùng lại cho các lần mở sau.
Danh mục font / Font catalog
| File | Nguồn / Source | Giấy phép / License |
|---|---|---|
| — | — | — |