MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Font display

  • To: mathgroup at smc.vnet.net
  • Subject: [mg27034] Re: [mg26982] Font display
  • From: John Fultz <jfultz at wolfram.com>
  • Date: Thu, 1 Feb 2001 03:00:22 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Yes, these Unicode slots (which map to the identical positions in ISOLatin1 
and WindowsANSI) are mapped to characters in our Math1 font to guarantee 
their availability (and consistent glyphs) on all platforms and under all 
encodings.  You can change these mappings by editing the file...

<install directory>\SystemFiles\FrontEnd\TextResources\UnicodeFontMapping.tr

and changing the following lines...

from
0x00AC          N               2               0xd8            # \[Not]
to
0x00AC          N               1               0xac            # \[Not]


from
0x00B7          N               2               0xd7            # \[CenterDot]
to
0x00B7          N               1               0xb7            # \[CenterDot]

and from
0x00B1          N               2               0xb1            # \[PlusMinus]
to
0x00B1          N               1               0xb1            # \[PlusMinus]

This will reset the mappings of these characters from the Math1 font back 
into the "base font", which is to say the font which you explicitly set (in 
this case, DB Thai Text).  Note that the behaviour you describe isn't a 
bug, and this does not constitute a bug fix.  The really correct way to do 
this would be to add appropriate mappings from unicode into your 
font.  But, since I don't know how your font is encoded, and this 
particular workaround is fairly easy to implement, I offer it for your use.

Sincerely,

John Fultz
jfultz at wolfram.com
User Interface Group
Wolfram Research, Inc.


At 02:38 AM 1/30/2001, merkat wrote:
>Hi
>
>I want to use the font DB Thai Text , where the acsiis from 161 up
>give the thai characters.
>
>the line :
>StyleForm[FromCharacterCode[  Range[161, 255]],
>  FontFamily -> "DB ThaiText",   FontSize -> 40]
>
>displays the charactes , but
>
>the characters 172,177,183 are not shown in the indicated font but
>seem to be mathematica symbols.
>How can this be corrected?
>
>thanks



  • Prev by Date: Re:Contour Plot
  • Next by Date: Re: Re: Q: Factor with Polynominals?
  • Previous by thread: How to define new wrapper (i.e. modified "CForm")
  • Next by thread: Re: Re: Q: Factor with Polynominals?