How to Fix CIDFont Contains Bad Widths Error in PDF
Question details
The user needs to resolve an error message stating CIDFont contains bad widths when opening or interacting with specific PDF documents.

- Product
- 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.
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.
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.
Launch your preferred PDF editor and open the document displaying the CIDFont error.
Locate the Page Organization or Extract tool, usually found under the 'Page', 'Organize', or 'Tools' menu.
Select all the pages in the document and click 'Extract'. Choose the option to extract them as a single new PDF file.
Save the newly extracted PDF document to your computer. Close the original file and open the new one to confirm the error is gone.

Request a Re-export with Embedded Fonts
If you cannot fix the file locally, ask the original sender to recreate the PDF using a modern PDF printer to ensure fonts are embedded correctly.
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. Open the PDF in WPS: Launch WPS Office and open your problematic PDF file.
- 2. Access Page Tools: Navigate to the 'Page' tab located in the top ribbon menu.
- 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. Save the New File: Save your newly generated, error-free PDF file to your local drive.

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.




