Hi,
I had a problem in MS Word that started off from the Equation Editor.
Somehow some of my definitions for font styles seemed to be reset and
I (apparently) mistakenly thought that I had set Palatino Linotype as
the font for _everything_, but actually I discovered that I only get
correct rendering if "Symbol" is set to the Symbol font. Otherwise
minus sign (or "en dash"), "identical to" and other characters come out
'wrong'.
You can play around with this if you're interested, but it's more by
way of background to my actual question.
I wondered why the "identical to" character (Unicode 2261 [HEX])
wasn't rendering correctly in Equation Editor with "Symbol" is set to
the Palatino Linotype font. I decided to investigate the rendering of
the font in the body of the document in a variety of fonts ...in fact,
_every_ installed font.
Therefore I created and ran the following macro:

Sub macro2()

For Each afont In FontNames
Selection.Font.Name = afont
Selection.InsertAfter "2261"
Selection.ToggleCharacterCode
Selection.InsertAfter " " & afont & vbCr
Selection.EndKey Unit:=wdStory
Next afont

End Sub

This should run fine for you provided your security settings are
apropriately configured.
It is not convenient to reproduce the output, as it spans several
pages, but I found that the results were not as expected.
For example, for what should have been Palatino Linotype, the
"identical to" character was rendered in Arial Unicode MS.

As I watched the Selection.Font as the code was stepped through, I
noticed that discrepancies arose between
Selection.Font.Name
Selection.Font.NameAscii
Selection.Font.NameBi
Selection.Font.NameFarEast
and
Selection.Font.Name.Other

Is this an application 'feature', a known MS bug, an unknown MS bug, or
is _my_ code buggy?

Thanks for your comments,
DIV

Versions:
Equation Editor: 3.1
Word: 11.8026.8028 SP2
XP: 5.1.2600 SP2

Re: Changing font for unicode characters by Jezebel

Jezebel
Thu Aug 10 03:44:48 CDT 2006

Neither a feature nor a bug. The symbol font has different glyphs to text
fonts. Use Word's Insert > Symbol to dee the difference. This mapping
pre-dates Unicode. The Equation Editor relies on the Symbol font mapping,
and doesn't use the equivalent symbols in the Unicode mapping -- although
obviously it could and no doubt in a new version will do so.




<davidverrelli@hotmail.com> wrote in message
news:1155198653.251716.240060@h48g2000cwc.googlegroups.com...
> Hi,
> I had a problem in MS Word that started off from the Equation Editor.
> Somehow some of my definitions for font styles seemed to be reset and
> I (apparently) mistakenly thought that I had set Palatino Linotype as
> the font for _everything_, but actually I discovered that I only get
> correct rendering if "Symbol" is set to the Symbol font. Otherwise
> minus sign (or "en dash"), "identical to" and other characters come out
> 'wrong'.
> You can play around with this if you're interested, but it's more by
> way of background to my actual question.
> I wondered why the "identical to" character (Unicode 2261 [HEX])
> wasn't rendering correctly in Equation Editor with "Symbol" is set to
> the Palatino Linotype font. I decided to investigate the rendering of
> the font in the body of the document in a variety of fonts ...in fact,
> _every_ installed font.
> Therefore I created and ran the following macro:
>
> Sub macro2()
>
> For Each afont In FontNames
> Selection.Font.Name = afont
> Selection.InsertAfter "2261"
> Selection.ToggleCharacterCode
> Selection.InsertAfter " " & afont & vbCr
> Selection.EndKey Unit:=wdStory
> Next afont
>
> End Sub
>
> This should run fine for you provided your security settings are
> apropriately configured.
> It is not convenient to reproduce the output, as it spans several
> pages, but I found that the results were not as expected.
> For example, for what should have been Palatino Linotype, the
> "identical to" character was rendered in Arial Unicode MS.
>
> As I watched the Selection.Font as the code was stepped through, I
> noticed that discrepancies arose between
> Selection.Font.Name
> Selection.Font.NameAscii
> Selection.Font.NameBi
> Selection.Font.NameFarEast
> and
> Selection.Font.Name.Other
>
> Is this an application 'feature', a known MS bug, an unknown MS bug, or
> is _my_ code buggy?
>
> Thanks for your comments,
> DIV
>
> Versions:
> Equation Editor: 3.1
> Word: 11.8026.8028 SP2
> XP: 5.1.2600 SP2
>