DWG and DXF to PDF Converter

Supported 2D DWG/DXF → fitted raster A4 PDF. Incomplete drawings cannot export.

DrawingDXF tested · DWG partial · up to 20 MiB · runs in this tab

Fitted view

After you open a file, the engine draws the fitted 2D model space here — or the paper layout saved active in the file when it has no model space. The exported sheet is this view fitted to one A4 landscape page: a raster image, not a vector PDF and not a 1:1 plot.

How the converter works

  1. Choose a drawing. Pick a .dxf or .dwg file up to 20 MiB and press Open drawing. Parsing runs entirely in this browser tab; oversize files are rejected before anything is rendered.
  2. The engine draws the fitted scope. The canvas shows the fitted 2D model space; a drawing without model space falls back to the paper layout saved active in the file, and the parse report labels which scope is on screen. It also lists what was parsed: entity counts, layer names, and anything that had to be skipped.
  3. The export gate decides. Download raster PDF enables only when every entity of the active scope is drawn and no fonts, images or xrefs are missing. Otherwise the status line names the reason with per-type counts, and an unrecognised completeness report blocks the export too — fail closed, never a partial PDF.
  4. Download the sheet. A pass produces a raster image of the fitted view on a single A4 landscape sheet, scaled to fit with margins, and requests the .pdf download. It is not a vector PDF and not a 1:1 plot.

What converts — and what fails closed

What converts

  • 2D model-space linework, text, dimensions and hatches that this engine draws completely
  • DXF, the tested format, and DWG files the partial parser can open in full
  • One fitted A4 landscape raster sheet with fonts, images and xrefs resolved
  • Drawings that report a complete entity count with nothing missing

What fails closed

  • Engine-reported missing SHX/TTF fonts — the export names them instead of substituting
  • Unreadable images and unresolved xrefs
  • Undrawn entities — every drawable entity must be counted as drawn before export runs
  • Files over 20 MiB and files that fail to open
  • No universal DWG: versions and proxy objects differ, so errors are named, not papered over

Known limits

Guides

Why PDF export is blocked before a drawing is finished — what the export gate checks, and where the real repair happens.

All CadToPage guides

License and source

CadToPage is distributed under GPL-3.0-or-later. Download the CAD application source and build instructions. The dependency source manifest lists the pinned upstream source archives and their hashes. These materials cover this CAD application, not the operator's other sites.