Two kinds of PDF that look the same on screen
A PDF is a container. The same drawing sheet can reach you as drawing instructions or as a photograph of paper, and at normal zoom the two look alike. The difference decides how much of the drawing a person or a program can read without retyping it, and how much of what is read can be trusted.
Native vector PDF
A vector PDF is usually written by the CAD system itself, through an export command or a PDF printer driver. Each visible line is a path: straight segments and curves with coordinates, a stroke width and a dash pattern. Dimension values, notes and title-block fields are text objects: characters in a font, at a position, with a size and a rotation. Zoom to any level and the lines stay sharp, because the viewer redraws them from the stored geometry.
Two details matter for anyone extracting data. PDF has no circle or arc primitive, so a hole outline arrives as cubic Bézier curves approximating the circle (often four of them, sometimes many short straight segments), and software has to recognize those curves as a circle. Nothing in the file says that a given text string belongs to a given dimension line either. The association that existed in the CAD drawing is usually gone, leaving lines and text that happen to sit near each other.
Scanned or raster PDF
A raster PDF holds an image: a grid of pixels for each page, from a scanner, a copier, a photograph or a print-as-image setting. There are no lines and no characters inside it, only dark and light pixels. Software has to find the characters (optical character recognition, OCR) and the lines (vectorization) before it can read anything, and both steps produce guesses with a chance of error.
Hybrid files: searchable scans and text exported as strokes
Two hybrids cause most of the confusion. A searchable scan is a raster image with an invisible OCR text layer placed over it. Its text can be selected and searched, but the characters came from recognition, not from the CAD system, and they can be wrong while the image underneath is right.
The opposite case is a vector PDF whose text was exported as geometry. Many CAD systems draw single-stroke drafting fonts as short line segments, so a dimension value arrives as strokes shaped like digits. The lines are exact, and there is no text layer to read. A third variant is a vector sheet with pasted images: a scanned title block, a raster detail view or a stamped revision box.
Text layers versus OCR
In a native text layer, “Ø12 ±0.05” is stored as characters. Reading it is a lookup: the value is exactly what the drafter's CAD system wrote, including the diameter symbol, the plus-minus sign and the decimal point. The value can still be wrong as engineering, because the drafter may have typed it wrong or overridden a dimension, but the act of reading adds no error.
OCR adds error at the characters engineering depends on most. These are the usual confusions on drawings:
- Decimal points lost or invented: 12.5 read as 125, or a speck of noise turning 125 into 12.5.
- The diameter symbol Ø read as 0 or O, so Ø8 becomes 08.
- ± read as +, which silently drops the lower half of a tolerance.
- 1, l and I; 0 and O; 5 and S; 8 and B, especially in part numbers and revision letters.
- Stacked tolerances and limit dimensions read as one line, or the upper and lower values swapped.
- Feature control frames read as loose text, with the compartment borders, symbols and datum letters lost or merged.
Drawing text makes some of this harder. Many drawings use single-stroke drafting lettering that general OCR engines were not trained on, and dimension text runs at angles along dimension lines. A value recognized from a scan is a candidate. Treat it as unproven until a person has compared it with the image. The guide to drawing interpretation errors covers the mistakes that survive this step.
Line weights and resolution
Drawing conventions use line width and line type to carry meaning: thick continuous lines for visible outlines, thin continuous lines for dimensions, extension lines and hatching, thin dashed lines for hidden edges and thin chain lines for centerlines. The ISO 128 series and ASME Y14.2 define these conventions. In a vector PDF the width is a stored number, although some exports write every line at the same hairline width and erase the distinction. In a raster file the width survives only as a count of pixels, so the scan resolution decides what is left.
The arithmetic is simple. At 300 dpi there are about 11.8 pixels per millimeter of paper. A 0.25 mm line is about 3 pixels wide, a 0.13 mm thin line about 1.5 pixels, and a decimal point, roughly as wide as the lettering's stroke, a few pixels. At 200 dpi the thin line is about one pixel wide, and scanner noise or compression can break it or erase it. A broken thin line is a lost dimension line, and a lost decimal point makes a value ten or more times too large.
| Property | Native vector PDF | Scanned or raster PDF |
|---|---|---|
| Line geometry | Exact coordinates of each segment and curve | Pixels; lines must be traced, with breaks and blurred edges |
| Line width | A stored value, unless the export flattened all widths | A pixel count that depends on resolution and scan threshold |
| Dimension and note text | Characters in a text layer, unless exported as strokes | OCR candidates that need checking against the image |
| Symbols (Ø, ±, °, GD&T) | Characters or glyphs, sometimes from special fonts | Frequently misread or dropped |
| Scale | Sheet coordinates; the view scale still comes from the title block | Unknown once paper has been copied or scaled; the sheet can be skewed |
| At high zoom | Stays sharp | Breaks into visible pixels |
Never measure the picture to get a value
Neither kind of file makes the drawn geometry a substitute for the stated dimension. Views can be drawn out of scale, a dimension's text may have been overridden in CAD, and printing or scanning changes the scale and can skew the sheet. The value written on the drawing defines the part, which is why many title blocks say “do not scale”. Measure the picture only to catch gross errors, never to supply a missing value.
What each one lets you extract reliably
From a native vector PDF
- Every text string exactly, with its position, size and rotation, so values, notes and title-block fields can be read without recognition error.
- Line and curve coordinates exactly, so views can be separated and shapes such as circles found in the geometry.
- Stroke widths and dash patterns, when the export kept them, to tell outlines from hidden, center and dimension lines.
What it does not give you is meaning: which text belongs to which feature, which view is which, what the hidden lines mean in 3D, and whether the drawing is complete. Those are interpretation, and they need explicit rules or a person who reads drawings. A value the drawing does not state is still missing in a perfect vector file; the guide to missing dimensions covers what to do then.
From a scanned or raster PDF
A person reads a good scan nearly as well as the original. Software can produce candidate text and candidate lines, and their quality falls with low resolution, skew, noise, lossy compression, handwriting, stamps and fold marks. Every value from a raster drawing that will drive geometry needs a human check against the image. A value the scan cannot show clearly needs the original sheet or a question to the drawing's owner.
How to tell which one you have
01 Search for a dimension value
Use the viewer's find command on a number you can see on the sheet, such as a hole diameter. If it is found and the highlight sits exactly on the printed characters, the sheet has a text layer. If nothing is found, the text is either pixels or strokes.
02 Zoom in hard
Zoom to 1,600 % or more on a small character and a thin line. Vector lines and text stay crisp. A raster page breaks into visible pixels, often with gray or colored fringes from compression. A highlight box that drifts off the characters at this zoom points to an OCR layer over a scan.
03 Check the fonts list
Open the document properties. A native PDF with real text lists the fonts used on the sheet. No fonts at all means there is no text layer. A scan with an OCR layer often lists a single generic font while the visible characters are pixels.
04 Read the producer field
The same properties usually name the application that wrote the file. A CAD system or its PDF driver suggests a native export. A scanner, copier or image application suggests a raster page.
05 Look for images on the page
Try to select a region, or use a viewer that lists page content. A scanned page usually behaves as one image covering the whole sheet. A vector page can still hold pasted images, so check each area that matters: the views, the dimensions and the title block.
Preparing drawings for conversion
Most conversion problems are decided before the file is sent. The checklist below applies whether a person, a conversion program or a reconstruction service will read the drawing, and whether the target is a 2D file or a solid (the comparison of PDF conversion and engineering reconstruction explains the difference).
- Export from the CAD system directly to PDF. Avoid printing to paper and scanning, printing through an image driver, and flatten or optimize settings that rasterize the page.
- Keep text as text. Choose the export option that writes fonts rather than strokes or outlines, and keep symbols such as Ø and ± as characters.
- Keep line weights. Use a plot style or export setting that writes the drawing's line widths, so outlines, hidden lines and centerlines stay distinct.
- Put one part on one sheet where possible, with the title block filled in: units, material, general tolerance note, projection symbol, revision and drawing number.
- Send the current revision and check the file against the released drawing. A clean export of an out-of-date revision is a clean wrong drawing.
- Keep every dimension the part needs on the sheet. Values that live only in the CAD model or a separate document are invisible to anyone reading the PDF.
- If only paper exists, scan so that thin lines stay several pixels wide (300 dpi is a common minimum for line drawings, and small text benefits from more), straight, in grayscale or black and white, without lossy compression. Keep the original sheet for checking.
- Record where each value came from. A value read from a text layer, a value recognized by OCR and a value someone answered are three different kinds of evidence.
What TruePart accepts today
TruePart's Technical Preview reads a native vector PDF with a text layer: one sheet, one part, millimeters, up to 10 MB. Scanned, raster or multi-sheet drawings stop with a reason. Currently supporting select part families: today that is one family, rectangular plates with a centered bore and a hole pattern. The PDF to STEP page shows the steps from that PDF to a solid.
Questions
Is a PDF with selectable text always a native CAD export?
No. Many scanned drawings carry an invisible OCR text layer, so their text can be selected and searched. Zoom in on a thin line: if it breaks into pixels, the page is a scan and the selectable text is a recognition result that needs checking.
What scan resolution should I use for an engineering drawing?
No single number suits every drawing. Work from the thinnest line and the smallest text: at 300 dpi a 0.13 mm line is about 1.5 pixels wide, so 300 dpi is a common minimum and drawings with small lettering benefit from more. Avoid lossy compression, scan straight, and keep the paper original.
Can a raster drawing be converted to a vector drawing?
Yes. Vectorization traces the pixels into lines and curves, and OCR turns the text into characters. The result is geometry and text recognized from pixels, not the original data, so every value that matters has to be checked against the image. Conversion cannot recover detail the scan lost.
Why does my vector PDF have no searchable text?
The CAD export probably wrote the text as strokes or outlines, which is common with single-stroke drafting fonts. Look for an export option that embeds fonts as text. Another cause is a print or optimize step that turned the page into an image.
Is a native DWG or DXF better than a PDF of the same drawing?
Usually it carries more: entities, layers and often dimensions that are still linked to geometry. It still has to be the released revision, and if your process names the PDF as the released document, check the native file against it.
Sources
- ISO 128 (series), Technical product documentation: General principles of representation · ISOLine types and line widths and the meaning each carries on a technical drawing.
- ASME Y14.2, Line Conventions and Lettering · ASMELine conventions and lettering on engineering drawings.
- ISO 32000-2, Document management: Portable document format, Part 2 (PDF 2.0) · ISOHow a PDF stores vector paths, text objects with fonts, and images; paths are built from straight segments and cubic Bézier curves.
- ASME Y14.5-2018, Dimensioning and Tolerancing · ASMEDimensioning conventions: the stated dimension and its tolerance define the feature.
What TruePart does today
- TodayTruePart's Technical Preview reads a native vector PDF with a text layer: one sheet, one part, millimeters, up to 10 MB.
- LimitScanned, raster or multi-sheet drawings stop with a reason.
- LimitCurrently supporting select part families: today that is one family, rectangular plates with a centered bore and a hole pattern.