Fix Boxes and Font Corruption in an Edited PDF
Question details
The user needs to fix boxes containing X characters and damaged text after extensively editing a PDF.

- Product
- PDF editor
- Device & OS
- not provided
- Scenario
- A static PDF has been edited extensively, and the user wants the text to display correctly.
- Observed behavior
- Some text appears damaged or as boxes containing X characters, potentially because fonts were not handled correctly.
Locate the original source document and identify the fonts used in the affected text. If the source is unavailable, check whether you have access to a PDF editor with font inspection or preflight tools.
Rebuild the PDF from the original source document
Use this method when the source file is available; it is the most reliable way to recover the intended text and layout.
Open the original document in the application used to create it, such as WPS Writer or Microsoft Word.
Make the needed changes in the source document rather than editing the static PDF content. Check that the affected text uses fonts available on your device.
Use the application's Export to PDF or Save as PDF command. If font-embedding options are available, enable them.
Open the new PDF and inspect the affected pages. In a PDF viewer that supports it, open File > Properties > Fonts to check whether the fonts are embedded.

Inspect fonts with Adobe Acrobat Preflight
Try this when the source is unavailable or you need to diagnose the existing PDF.
Recreate a clean PDF with WPS Writer
Open a compatible source document in WPS Writer, make your changes there, and export a new PDF. Then check the output for correct text and font embedding.
- 1. Open the source document: Launch WPS Office and open the original DOC, DOCX, or other compatible document in WPS Writer.
- 2. Make the changes: Edit the text in Writer and check that the affected passages use fonts available on your device.
- 3. Export the PDF: Choose Export to PDF in WPS Writer and save the new file.
- 4. Review the output: Open the exported PDF and inspect the affected pages. Use a PDF viewer's font properties to check embedding if that information is available.

Frequently Asked Questions
Why does my edited PDF show boxes with X characters?
The boxes can appear when text or font information is damaged or when a required font is not handled correctly. Check File > Properties > Fonts in a PDF viewer that supports font inspection.
Can Preflight restore corrupted PDF text?
Acrobat Pro's Preflight can detect some font issues and may provide a fixup, but it cannot reliably reconstruct missing or corrupted text. Recreate the PDF from the source document when possible.
How can I check whether PDF fonts are embedded?
In Adobe Acrobat, open the PDF and choose File > Properties > Fonts. Embedded fonts are identified as embedded or embedded subsets.
What should I do if I no longer have the source document?
Inspect the PDF with Acrobat Pro's Preflight and try an applicable font fixup on a copy. If the text remains damaged, you may need to reconstruct the affected content manually.




