Aspose.Words SaveToImage fails to render a font in resulting .png

Last post 07-01-2011, 2:14 AM by aspose.notifier. 6 replies.
Sort Posts: Previous Next
  •  03-04-2010, 4:41 PM 225513

    Aspose.Words SaveToImage fails to render a font in resulting .png .NET

    Attachment: Present (inaccessible)
    When I run the code below to save the attached test document as a .png image, the resulting saved image does not display the font used in the document. The font is Bickham Script Pro Regular, and it is embedded in the document for your convenience. The problem also occurs when the font is installed on the system and not embedded.

    Aspose.Words assembly version: 6.6.0.0.

    Thanks,
    Edin Zulich

    using System;

    using Aspose.Words;
    using Aspose.Words.Rendering;


    namespace PngTest {

      class Program {

        static void Main(string[] args) {
          try {
            Document doc = new Document("input.docx");

            doc.SaveToImage(0, 1, "testImage.png", null);

          } catch (Exception e) {
            Console.Error.WriteLine("Error: " + e.Message);
          }
        }

      }
    }

     
  •  03-05-2010, 1:53 AM 225571 in reply to 225513

    Re: Aspose.Words SaveToImage fails to render a font in resulting .png

    Hi

     

    Thanks for your request. Unfortunately, Aspose.Words does not support embedded fonts upon rendering. Fonts used in the document should be installed on your PC. Your request has been linked to the appropriate issue. You will be notified as soon as it is resolved.

     

    Also, could you please attach fonts, which causes the problem here for testing? I will check them on my side and provide you more information.

     

    Best regards.


    Alexey Noskov
    Developer/Technical Support
    Aspose Auckland Team
     
  •  03-05-2010, 11:01 AM 225689 in reply to 225571

    Re: Aspose.Words SaveToImage fails to render a font in resulting .png

    Attachment: Present (inaccessible)
    Hi,

    Fonts attached. The problem was first noticed on a system where fonts were correctly installed, while processing a document that did not have the fonts attached (input.docx, attached as well).

    Thanks!
    Edin
     
  •  03-05-2010, 2:33 PM 225734 in reply to 225689

    Re: Aspose.Words SaveToImage fails to render a font in resulting .png

    Hi

     

    Thank you for additional information. I managed to reproduce the problem on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is resolved.

     

    Best regards.


    Alexey Noskov
    Developer/Technical Support
    Aspose Auckland Team
     
  •  06-28-2010, 8:09 PM 245963 in reply to 225689

    Re: Aspose.Words SaveToImage fails to render a font in resulting .png

    Hi Edin,

    The Bickham Script Pro doesn't contain one of the tables neccessary for correct processing of the font fon t(http://www.microsoft.com/typography/otspec/otff.htm#otttables). Unfortunately, we can do nothing with it and the issue will be closed as Won't fixed. 

    I apologize for inconvinience,
    Alex

     
  •  06-06-2011, 7:17 AM 308497 in reply to 225513

    Re: Aspose.Words SaveToImage fails to render a font in resulting .png

    A fix for the issue(s) you've reported (filed as 7626) will be released in the next release at the end of this month. You will be notified.


    This message was posted using Notification2Forum from Downloads module by aspose.notifier.
    (1)
     
  •  07-01-2011, 2:14 AM 313712 in reply to 225513

    Re: Aspose.Words SaveToImage fails to render a font in resulting .png

    The issues you have found earlier (filed as WORDSNET-2103) have been fixed in this .NET update and in this Java update.


    This message was posted using Notification2Forum from Downloads module by aspose.notifier.
    (21)
     
View as RSS news feed in XML