Hello
When converting some html to word in 22.5 release we had a warning with code WarningType.FONT_SUBSTITUTION and with message Font ‘Calibri’ has not been found. Using ‘Arial’ font instead. Reason: default font substitution.
Now, using the latest release in 23.5, we have the warning
WarningType.DATA_LOSS but the very same message Font ‘Calibri’ has not been found. Using ‘Arial’ font instead. Reason: default font substitution.
final Document document = new Document();
final DocumentBuilder builder = new DocumentBuilder(document);
builder.getDocument().getCompatibilityOptions().setDoNotExpandShiftReturn(true);
builder.getDocument().setWarningCallback(getWarningCallback());
builder.insertHtml(cleanHtml, false);
Is it a desired behavior or a regression ?
Thanks very much
Best Regards