Hi again, we are converting a Word Document to PDFA-1B and bold Text in numbered Paragraphs overlaps with non-bold Text.
This does not happen with PDF or PDFA-1A.
Please have a look 20171114_KI_Collar_267581.docx.zip (93.3 KB)
In this Sample the bold text overlaps with the subsequent non-bold Text. In other examples it overlaps with the preceding non-bold Text.
Best Regards…
Matthias
We use Aspose.PDF .net Version 17.4.0.0 and the following Code to perform the Conversion:
var pdfDocument = new Document(pdfStream);
byte[] pdfConversionLogBytes;
bool convert;
using (var pdfConversionLogOutputStream = new MemoryStream())
{
convert = pdfDocument.Convert(pdfConversionLogOutputStream, pdfFormat, ConvertErrorAction.Delete);
pdfConversionLogBytes = pdfConversionLogOutputStream.ToArray();
}
string pdfConversionLog;
using (var ms = new MemoryStream(pdfConversionLogBytes, false))
{
var xElement = XElement.Load(ms);
pdfConversionLog = xElement.ToString();
}
if (!string.IsNullOrEmpty(pdfConversionLog))
{
trace?.Info("Messages from conversion of 'PDF' to '{3}' (Aspose.Pdf.Document.Convert() returned: '{0}'):{1}{2}{1}",
convert, Environment.NewLine, pdfConversionLog, pdfFormat);
}
using (var pdfOutputStream = new MemoryStream())
{
pdfDocument.Save(pdfOutputStream);
return pdfOutputStream.ToArray();
}