Word Online doesn't recognize font when text begins with non ascii char

Florent Tonneau 1 Reputation point
2022-11-28T11:36:00.843+00:00

Hi !

I have been struggling with this Word online weird behavior and hope you will have any insights for me to fix this:

The font of my office document break at some point in my document in the Word online viewer/editor.
It's happening when a new line begin with a special character (as of french specials like à è é É À ...)
Even though the font is set to any common installed font (Aria i.e.) the text font is broken and use the default font (Segue UI) starting the special char.

It happens when the document is being loaded with the text already written. Didn't achieve to reproduce in Word Desktop.

264764-screenshot-from-2022-11-25-17-08-09.png

File structure:

When looking at docx file, document.xml contains the two paragraphs with the same style linked. And the style definition describes the wanted font in ascii and hAnsi ranges.

I found that it occurs any time the special character is the first alpha-ish char of the Run and break the font of the entire Run.

  • document.xml part:

264784-screenshot-from-2022-11-25-17-34-00.png

  • styles.xml part:

264707-screenshot-from-2022-11-25-17-34-18.png

  • theme.xml part:

264785-screenshot-from-2022-11-25-17-34-52.png

From the Word online webapp, we can see in debugger that the font family is well defined on the first paragraph but not on the second. So the second takes the default font from its parents inheritance.

So what happens to Word Online that can't read properly the text font ? Any idea of a fix / workaround ?

Microsoft Office Online Server
Microsoft Office Online Server
Microsoft on-premises server product that runs Office Online. Previously known as Office Web Apps Server.
615 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Emi Zhang-MSFT 23,811 Reputation points Microsoft Vendor
    2022-11-29T09:59:45.103+00:00

    Hi,
    I suggest you give a feedback to Microsoft about this behavior:
    https://support.microsoft.com/en-us/office/how-do-i-give-feedback-on-microsoft-office-2b102d44-b43f-4dd2-9ff4-23cf144cfb11
    Microsoft values your opinion. Your feedback goes directly to our engineers and helps us shape the future of Microsoft products and services for all our users.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments