How to change default font in word

broken image
broken image

Is there any (reasonably simple) way to accomplish this automatically? Surely Microsoft Word knows which characters are found in Cambria and which are not. However, it is not exceedingly fun to write the above code for each and every character in (C(DejaVu) ∖ C(Cambria)) ∩ C(Doc) where C(DejaVu), C(Cambria), and C(Doc) is the set of all characters in DejaVu Sans Mono, Cambria, and my document, respectively. It is very easy to change the font of a given character, e.g. Every single character gets the font Cambria, and instead of displaying the characters not found in Cambria, the boxed question mark symbol is displayed. However, in Microsoft Word 2010, this apparently does not work. The second change of font would only change the font of those characters that can be displayed in Cambria. In Microsoft Word 2007, I could easily achieve this by Ctrl+A, set font to DejaVu Sans Mono, set font to Cambria. Hence, I would like all characters to be in Cambria except for those that cannot be displayed in this font - those characters I want displayed in DejaVu Sans Mono. However, I do know for a fact, that all characters used in the document are present in DejaVu Sans Mono. The text is chiefly typeset in Cambria, but some of the special characters are not found in this font. The situation is this: I have a technical text containing a lot of special characters, e.g. I am trying to use VBA in Microsoft Word to automatize highly repetative operations on large documents.