The unicode char 8239 (NARROW NO-BREAK SPACE' (U+202F)) is not correctly showed when converting to PDF (unknow white square showed instead).
Using Spire.Office for JAVA 4.10.5
PdfDocument pdf = new PdfDocument();
PdfPageBase page = pdf.getPages().add();
NumberFormat currencyFormater = NumberFormat.getCurrencyInstance(Locale.FRANCE);
String v = currencyFormater.format(100000);
PdfTrueTypeFont font = new PdfTrueTypeFont(new Font("Arial", Font. PLAIN, 14),true);
PdfSolidBrush brush = new PdfSolidBrush(new PdfRGBColor(Color.red));
page.getCanvas(). drawString(v, font, brush, 0, 100);
pdf.saveToFile("output.docx", FileFormat.DOCX);
Document document = new Document();
document.loadFromFile("input.docx");
document.saveToFile("output.pdf", FileFormat.PDF);
Document doc = new Document();
Section section = doc.addSection();
Paragraph paragraph = section.addParagraph();
NumberFormat currencyFormater = NumberFormat.getCurrencyInstance(Locale.FRANCE);
String v = currencyFormater.format(100000);
TextRange textRange = paragraph.appendText(v);
textRange.getCharacterFormat().setFontName("Arial");
textRange.getCharacterFormat().setFontSize(14);
textRange.getCharacterFormat().setTextColor(Color.black);
doc.saveToFile("result.pdf",FileFormat.PDF);