Other PDF Issues

How to Fix CIDFont Contains Bad Widths Error in PDF

Olivia MillerOlivia Miller Oct 28, 2026 869 views

Question details

The user needs to resolve an error message stating CIDFont contains bad widths when opening or interacting with specific PDF documents.

How to Fix the CIDFont Contains Bad Widths PDF Error
Product
PDF
Device & OS
not provided
Scenario
Opening, viewing, or attempting to edit a PDF file that was improperly exported or created by a third-party application.
Observed behavior
The PDF viewer displays a CIDFont contains bad widths error prompt. This is often linked to standard fonts like Arial or Calibri being improperly encoded or embedded during the document's initial creation.
Before you start

Ensure you have a reliable PDF editor installed on your device. Check if the error appears immediately upon opening the document or only when navigating to specific pages containing custom text elements.

Solution 1Recommended

Extract Pages to Rebuild the PDF Structure

Extracting pages forces the PDF software to rebuild the page content and font references, which usually corrects the bad width metadata automatically.

This method is highly effective because it bypasses the need for the original source file. When you extract pages into a new document, the PDF editor rewrites the internal structure, often fixing the corrupted font dictionaries associated with Arial or Calibri.

1
Open the PDF

Launch your preferred PDF editor and open the document displaying the CIDFont error.

2
Navigate to Page Extraction

Locate the Page Organization or Extract tool, usually found under the 'Page', 'Organize', or 'Tools' menu.

3
Extract All Pages

Select all the pages in the document and click 'Extract'. Choose the option to extract them as a single new PDF file.

4
Save the Corrected PDF

Save the newly extracted PDF document to your computer. Close the original file and open the new one to confirm the error is gone.

Extract Pages to Rebuild the PDF Structure
Extraction vs Exporting: Make sure you use the 'Extract' tool rather than 'Export' or 'Save As'. Exporting might try to decode the broken fonts and fail again, whereas extraction rebuilds the existing page containers.
Powerful PDF Editor

Resolve PDF Font Errors Easily with WPS Office

WPS Office features a robust built-in PDF editor that handles font embedding and page extraction flawlessly, preventing bad widths errors while offering full compatibility with all standard PDF workflows.

  1. 1. Open the PDF in WPS: Launch WPS Office and open your problematic PDF file.
  2. 2. Access Page Tools: Navigate to the 'Page' tab located in the top ribbon menu.
  3. 3. Extract the Pages: Click on 'Extract Pages', select all pages, and choose to extract them to a new document to rebuild the font data.
  4. 4. Save the New File: Save your newly generated, error-free PDF file to your local drive.
Easily extract and reorganize PDF pages to fix corrupted internal document structures.Highly compatible with Adobe Acrobat and standard PDF formats.Seamlessly embed fonts when exporting Word, Excel, and PowerPoint documents to PDF.Lightweight, fast, and free to use for everyday document management.
microsoft office alternative - wps office

Frequently Asked Questions

What does 'CIDFont contains bad widths' actually mean?

This error indicates that the software used to originally create the PDF incorrectly encoded the embedded fonts. The character widths defined in the document's internal font dictionary conflict with the actual text layout, causing the reader to display a warning.

Which fonts commonly trigger this PDF error?

Standard fonts like Arial (both Bold and Regular variations) and Calibri are frequently associated with this error when exported by older, non-standard, or web-based PDF creation tools that fail to embed font subset data properly.

Can I fix the font error without asking the sender for a new file?

Yes. Using the 'Extract Pages' feature in a capable PDF editor typically rebuilds the internal structure of the document. This process resolves the font width mismatch by rewriting the PDF containers, meaning you don't need the original Word or Excel source file.