Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
90
WordDocumentWriter buggy with special letter like üöä
posted

Hi,

We still use your 2016 vol 1 Version and we use your

 infragistics.Documents.Word.WordDocumentWriter

To write  Word Docxs. That works also fine, as long we don't have letters like ÖÜÄ.

For example we set the Font to bold  size 11 and FontName = "Arial".

In the doc later are all words in the right size and also bold.

The problem comes now with the font family self. words with no äöü just are "Arial".

Words with äöü wich we german sometimes of also often use like  "für"  = english "for"  is written in Arial except  in that case the ü that is written in calibri.

Is that Bug known by you? Is there a work around for it or was it fixed in some other later version like for example hopefully 2016 vol 2?

Thx a lot for the help in advanced

  • 7555
    Offline posted

    Hello Marc,

    Thank you for the update .This is not a bug, I am sure you are just setting the name property of the font, need to set NameHighAnsi property as well.

    Its because the Name property specifies the font to be used when displaying ascii characters between 0 and 127, the special character do not fall in this range. They are governed by the font specific in the NameHighAnsi property.

    So set it like this: font.NameHighAnsi = "Arial";

    let me know if you have any question.

    -Divya Jain