We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Extra page created when converting DOCX to PDF using .NET


When converting a DOCX to PDF, an extra page was created.

var doc = new Document(@".\test.docx");
doc.LayoutOptions.TextShaperFactory = Aspose.Words.Shaping.HarfBuzz.HarfBuzzTextShaperFactory.Instance;

I’ve attached the test files for your reference. You can notice a blank page 2 was created in the PDF.

test.zip (192.4 KB)

Could you please help me take a look?



Could you please ZIP and attach following fonts here for testing? We will investigate the issue and provide you more information on it.

  • ‘Frutiger LT Std 45 Light’
  • ‘CalibriGeneris Sans Com’
  • ‘Frutiger LT Std’


Thanks for your update.

Please find the attached font fils I’m using in my machine

font and arial test files.zip (4.6 MB)

Also I tried to change the fonts to a more commonly used Windows font Arial and could still reproduce the issue. I’ve attached the test files in the zip package as well.



We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-20355 . You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-20355) have been fixed in this Aspose.Words for .NET 20.6 update and this Aspose.Words for Java 20.6 update.