Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Sun Jun 11, 2023 2:06 pm

Hi,
We have a lot of font changes in pdf files produced from docx files only with textual changes.

Untitled1.png


When we open docx files we see same fonts, after pdf conversion with SpireDoc for Java 11.5.5:
Code: Select all
    private OutputStream convertToPdf(InputStream fileContent)
    {
        Document document = new Document(fileContent);
        ByteArrayOutputStream fileOut = new ByteArrayOutputStream();
        document.saveToStream(fileOut, FileFormat.PDF);
        return fileOut;
    }


Untitled.png


Thanks,
Andrei Chorin

andrei.chorin
 
Posts: 68
Joined: Sun Jan 08, 2023 2:36 pm

Mon Jun 12, 2023 2:47 am

Hi Andrei ,

Thanks for your feedback.
After testing the two sample documents provided by you, we found that some of the fonts were changed during the conversion process. We have recorded this issue in our issue tracking system with the ticket number SPIREDOC-9520. Our development team will investigate and fix this issue, and we will notify you as soon as the issue is resolved.

We apologize for any inconvenience this may have caused and thank you for your cooperation and patience while we work to resolve this matter.

If you have any further questions or concerns, please do not hesitate to contact us.

Best regards,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Tue Jul 11, 2023 2:40 am

Hi,

Thanks for your patience.
Glad to inform you that we just released Spire.Doc_11.7.0 for Java, which has fixed your issue SPIREDOC-9520, please download from the following links and have a test.
Website: https://www.e-iceblue.com/Download/doc-for-java.html
Maven:
Code: Select all
<repositories>
    <repository>
        <id>com.e-iceblue</id>
        <name>e-iceblue</name>
        <url>https://repo.e-iceblue.com/nexus/content/groups/public/</url>
    </repository>
</repositories>
<dependencies>
    <dependency>
        <groupId>e-iceblue</groupId>
        <artifactId>spire.doc</artifactId>
        <version>11.7.0</version>
    </dependency>
</dependencies>

If there are any other issues, just feel free to contact us.

Best regards,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Return to Spire.Doc