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

Free Support Forum - aspose.com

Text is not Rendered while add Arabic Text in PDF using Noto Sans Arabic Font in Java

Aspose pdf 21.10 for java does not handle all Arabic chars e.g:

var font = FontRepository.findFont("Noto Sans Arabic");

var textState = new TextState();

var text = "ق - ن - ف";


var textFragment = new TextFragment(text);

var document = new Document();
var page = document.getPages().add();

Output HelloWorld_out.pdf instead of “ق - ن - ف” contains " - - ", but some other Arabic chars works fine - please check above example with “أسعار”.

This occurs with Noto Sans Arabic https://fonts.google.com/noto/specimen/Noto+Sans+Arabic which handle all Arabic chars (including “ق - ن - ف”)

Moreover font.doesFontContainAllCharacters(text) returns true


We 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 PDFNET-50931. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Hello Tahir,

It has been quite a while since you replicated the issue. Can you let me know when it would be fixed? Our customers are waiting for it as they are not able to generate proper PDF files.

Best regards,



Currently, your issue is pending for analysis and is in the queue. Once we complete the analysis of your issue, we will then be able to provide you an estimate.