Hi,
I’ve found an issue with invisible(white on white background) fonts in shapes when font color is set to automatic. The issue however seems to occur only in specific cases. Here is a small demo with some examples:
ShapeFontColorExample.zip (29.3 KB)
From all four test cases, the issue only occurs in the document named “LoadedFirstTemplateDocument.docx” This particular document is different from the others. In this one the shape is defined in the underlying OOXML by using <w:drawing>
tag inside <mc:AlternateContent>
, when in all the other documents the shapes are defined by using <w:pict>
tag. Why a different(and apparently problematic) shape definition is created for that document?
I also printed AutoColor
properties for the texts inside shapes for all of the documents. In every case the property returns ARGB(255, 00, 00, 00)
, which translates to black, but clearly the font in “LoadedFirstTemplateDocument.docx” is not black. This was found on Aspose.Words for .NET version 22.8. On the most recent version(23.9) the issue also seems to occur in a code created document. On that version the code created document also contains the <w:drawing>
tag instead of <w:pict>
Could you please take a look?
Thanks