Other PDF Issues

How to Fix PDF Bad Widths and Font Errors in Citrix

Rana GarciaRana Garcia Nov 24, 2026 868 views

Question details

The user needs to resolve 'bad widths' and font rendering errors that occur when combining multiple PDF reports.

How to Fix PDF 'Bad Widths' and Font Errors in Citrix
Product
PDF Software
Device & OS
Citrix virtual desktop environment
Scenario
Merging multiple PDF reports containing custom fonts or complex images within a virtual desktop environment.
Observed behavior
The system throws a 'bad widths' error or fails to render custom fonts correctly during the PDF combination process.
Before you start

Before proceeding, ensure you have access to the original source documents and verify that your PDF software is updated to the latest version in your Citrix environment.

Solution 1Recommended

Re-embed Fonts via PDF Printer

Use a virtual PDF printer to flatten the document and properly embed any missing or corrupted custom fonts before attempting to merge the files.

The 'bad widths' error usually stems from corrupted font dictionaries or missing font data within the document. Printing the file to a new PDF forces the software to re-evaluate and embed the fonts cleanly.

1
Open the original source file

Locate and open the specific source document (such as Word or Excel) that generated the problematic PDF.

2
Select the Print option

Navigate to 'File' and click on 'Print'. In the printer selection dropdown, choose 'Adobe PDF', 'WPS PDF', or your default virtual PDF printer.

3
Print to a new PDF

Click the 'Print' button and save the newly generated, flattened PDF file to your local drive.

4
Merge the newly created files

Open your PDF merging tool and combine these newly generated PDF files to verify that the 'bad widths' error is resolved.

Re-embed Fonts via PDF Printer
Font Embedding Tip: Check your PDF printer properties before printing to ensure 'Embed all fonts' is selected under the font or quality settings.
Powerful PDF Toolkit

Merge PDFs Smoothly Without Font Errors Using WPS Office

WPS Office provides a robust built-in PDF toolkit that handles custom fonts and complex image rendering with ease. You can merge, edit, and print PDFs seamlessly without encountering frustrating formatting or width errors.

  1. 1. Open WPS PDF Tools: Launch WPS Office and navigate to the 'PDF' tab on the main home screen.
  2. 2. Select Merge PDF: Click on the 'Merge PDF' button located in the built-in PDF toolkit menu.
  3. 3. Add Your Files: Click 'Add Files' to import the PDF reports you want to combine, then arrange them in your desired order.
  4. 4. Merge and Save: Click the 'Merge' button to generate a newly combined PDF document with perfectly preserved fonts and layouts.
Flawless font rendering and embedding for custom textSeamless merging of multiple PDF reports into a single, clean documentFully compatible with standard Microsoft Office files and Adobe PDF formatsLightweight and optimized for smooth performance in virtual environments like Citrix
microsoft office alternative - wps office

Frequently Asked Questions

What causes a 'bad widths' error in a PDF?

This error occurs when the font dictionary within the PDF is corrupted or when custom fonts were not fully embedded during file creation, causing the PDF viewer to incorrectly calculate text spacing and character widths.

Why do font rendering errors happen specifically in Citrix environments?

Virtual desktop environments like Citrix may not have the specific custom fonts installed on the host server. If your PDFs rely on local system fonts instead of embedding them, the rendering engine will struggle to display the text accurately.

How do I ensure my custom fonts are embedded when creating a PDF?

When exporting or printing a document to PDF, open your software's export preferences or printer properties. Make sure the option to 'Embed all fonts' is checked before generating the file to ensure standalone compatibility.