J
josh.projects
Hello all,
According to the VBA documentation, the TextRange.Font object stores
several different font names (Font.Name, Font.NameAscii,
Font.NameFarEast, Font.NameComplexScript, Font.NameOther). Is there a
simple way to find out which one of those fonts is actually used to
display a given chunk of text?
I suppose it might be possible by checking the Unicode character range
manually (for example, if the text contains Chinese/Japanese/Korean
characters, the font specified by NameFarEast is used), but I'm not
sure when NameComplexScript and NameOther would be used.
Thanks in advance.
According to the VBA documentation, the TextRange.Font object stores
several different font names (Font.Name, Font.NameAscii,
Font.NameFarEast, Font.NameComplexScript, Font.NameOther). Is there a
simple way to find out which one of those fonts is actually used to
display a given chunk of text?
I suppose it might be possible by checking the Unicode character range
manually (for example, if the text contains Chinese/Japanese/Korean
characters, the font specified by NameFarEast is used), but I'm not
sure when NameComplexScript and NameOther would be used.
Thanks in advance.