while converting pdf which is having text with shadow into html, the text appears correctly but the shadow does not appear in aspose.net
Can you please share your sample PDF document along with the sample code snippet that you are using? We will test the scenario in our environment and address it accordingly.
Hi @asad.ali,
Please find the attach PDF and code:
lorem-ipsum-dropshadow 1.pdf (143.9 KB)
string htmlFileName = rootFolderName + ".html";
Document pdfDocument = new Document(pdfStream);
Random random = new Random();
DocumentInfo documentInfo = pdfDocument.Info;
// Create a new Document
var htmlOptions = new HtmlSaveOptions
{
ConvertMarkedContentToLayers = true,
FixedLayout = true,
SpecialFolderForAllImages = Path.Combine(FolderPath, "Images"),
RasterImagesSavingMode = RasterImagesSavingModes.AsEmbeddedPartsOfPngPageBackground,
FontSavingMode = FontSavingModes.SaveInAllFormats,
AntialiasingProcessing = AntialiasingProcessingType.TryCorrectResultHtml,
//SaveShadowedTextsAsTransparentTexts=true,
//SaveTransparentTexts=true
};
string Output = Path.Combine(FolderPath, htmlFileName);
pdfDocument.Save(Output, htmlOptions);
Also please find below document in which pdf has shadow effact for ‘Sed ut perspiciatis unde omnis’ text but converted html is not showing shadow effact:
sample pdf with html output.docx (1.0 MB)
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): PDFNET-55942
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
The ticket is under the phase of the investigation. However, its analysis is not yet complete. We will inform you once we have some news in this regard. Please spare us some time.