HTML2PDF
World's fastest, leanest open source parallel HTML-to-PDF engine for serious server workloads.
파일 탐색기
최종 버전 다운로드 (.zip)- box_tree.rs
- color.rs
- dom.rs
- font.rs
- html.rs
- image.rs
- layout.rs
- lib.rs
- paint.rs
- pdf.rs
- script.rs
- subset.rs
- invoice.html
- long-table.html
- page-breaks.html
- unicode.html
- combined_invoice.json
- edge-cases_long-table.json
- edge-cases_page-breaks.json
- edge-cases_unicode.json
- features_background-image.json
- features_borders.json
- features_box-model.json
- features_calc.json
- features_colors.json
- features_custom-properties.json
- features_fixed-per-page.json
- features_flex-item.json
- features_flex-wrap.json
- features_flexbox.json
- features_floats.json
- features_font-face.json
- features_font-family.json
- features_generated-content.json
- features_gradients.json
- features_grid-2d.json
- features_grid-areas.json
- features_grid-rows.json
- features_grid.json
- features_images.json
- features_inline-block.json
- features_inline-images.json
- features_line-height.json
- features_links.json
- features_lists.json
- features_paged-media.json
- features_pct-sizing.json
- features_positioning.json
- features_rich-cells.json
- features_rowspan.json
- features_rtl.json
- features_sizing.json
- features_tables.json
- features_text-decoration.json
- features_text-polish.json
- features_typography.json
- features_z-index.json
- background-image.html
- borders.html
- box-model.html
- calc.html
- colors.html
- custom-properties.html
- fixed-per-page.html
- flex-item.html
- flex-wrap.html
- flexbox.html
- floats.html
- font-face.html
- font-family.html
- generated-content.html
- gradients.html
- grid-2d.html
- grid-areas.html
- grid-rows.html
- grid.html
- images.html
- inline-block.html
- inline-images.html
- line-height.html
- links.html
- lists.html
- paged-media.html
- pct-sizing.html
- positioning.html
- rich-cells.html
- rowspan.html
- rtl.html
- sizing.html
- tables.html
- text-decoration.html
- text-polish.html
- typography.html
- z-index.html
- parity_tests.rs
- Cargo.toml
- main.rs
- Cargo.toml
- main.rs
- Cargo.toml
- 0001-display-list-rendering-architecture.md
- 0002-dom-based-pipeline.md
- 0003-font-embedding.md
- 0004-flow-box-tree.md
- 0005-cid-unicode-font-embedding.md
- 0006-bounded-pre-layout-javascript.md
- 0007-raster-images.md
- 0008-live-dom-innerhtml-spike.md
- 0009-live-dom-tree-mutation.md
- reg-2-9-1-chrome-page1.png
- reg-2-9-1-htmltopdf-page1.png
- COVERAGE.md
- vs-unidoc.png
- render-test-shapes.png
- concurrency-simple.html
- conversion-smoke.html
- invoice.html
- render-showcase.html
- reg-2-9-1.metadata.md
- api-convert.sh
- benchmark-concurrency.sh
- compare-parity.sh
- generate-references.sh
- inject-font.py
- render-fixtures.sh
- visual-diff.py
- visual-regression.sh
- .gitignore
- Cargo.lock
- Cargo.toml
- IMPLEMENTATION.md
- OVERVIEW.md
- PLAN.md
- README.md
- reg-2-9-1.html
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/SanzarRehman/HTML2PDF
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd HTML2PDF
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Rust
보통 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Rust (rustup) rustup으로 설치하면 cargo도 함께 설치됩니다.
cargo build --release
Rust 프로젝트를 컴파일합니다.
cargo run --release -p htmltopdf-cli -- examples/invoice.html out/invoice.pdf
빌드 후 바로 실행까지 진행합니다.
cargo run --release -p htmltopdf-cli -- --font Georgia examples/invoice.html out/invoice.pdf
빌드 후 바로 실행까지 진행합니다.
cargo run --release -p htmltopdf-cli -- --font /path/to/font.ttf input.html output.pdf
빌드 후 바로 실행까지 진행합니다.
cargo run --release -p htmltopdf-cli -- reg-2-9-1.html out/report.pdf
빌드 후 바로 실행까지 진행합니다.
cargo build가 에러 없이 끝나면 성공입니다. target/ 폴더에 실행 파일이 생성됩니다.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
