[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adobe Glyph List




> Concernant « Adobe Glyph List », Y&Y, Inc. écrit :
> « Adobe Glyph List
> « 
> « http://www.adobe.com/supportservice/devrelations/typeforum/glyphlist.txt

> contains some `pearls' like
> 002D;hyphen;HYPHEN-MINUS
> 2245;congruent;APPROXIMATELY EQUAL TO
> 2248;approxequal;ALMOST EQUAL TO

>  this leads to the conclusion that unicode names are rarely
> appropriate, and should be used with much care...

Do you prefer the Mathematica font mappings?

/opt/math3/SystemFiles/FrontEnd/TextResources/UnicodeCharacters.tr:

0x002D  \[RawDash]              ($&hyphen$)                     Alias
0x00AD  \[Hyphen]               ()                              Letter
0x2013  \[Dash]                 ($-$    $&ndash$)               Letter
0x2014  \[LongDash]             ($--$   $&mdash$)               Letter
0x2245  \[TildeFullEqual]       ($~==$  $&cong$   $\cong$)      Infix   390     None    5       5
0x2248  \[TildeTilde]           ($~~$   $&thkap$  $\approx$)    Infix   390     None    5       5

Note that there doesn't seem to be any allocation for \[Minus],
while \[Hyphen] is given a separate slot.

/opt/math3/SystemFiles/FrontEnd/TextResources/UnicodeFontMapping.tr:	

'-'             N       2	0x2d            # \[RawDash]
0x00AD          N       1       0x2d            # \[Hyphen]
0x2245          N       2       0x40            # \[TildeFullEqual]
0x2248          N       2       0xbb            # \[TildeTilde]

If you look into the reverse mapping, you'll see that \[RawDash]
and \[Hyphen] are resolved differently: hyphen is 0x2d in font 1
(= Times-Roman) whereas minus is 0x2d in font 2 (= Math1).

Cheers, Ulrik.