Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#1261 closed bug (fixed (in master))

OS X port extended characters are wrong

Reported by: takkaria Owned by: myshkin
Milestone: 3.3.0 Keywords: osx
Cc:

Description

For example, Sméagol is displayed as SmÈagol?; Angamaitë is displayed as AngamaitÎ. The ú in Númenorean shows up as a dot.

http://angband.oook.cz/forum/showpost.php?p=44949&postcount=21

Change History (6)

comment:1 Changed 8 years ago by takkaria

  • Status changed from new to pending

fix in [6a35d6e]

comment:2 Changed 8 years ago by magnate

  • Resolution set to fixed
  • Status changed from pending to closed

Now in master as of [4f278ae]

comment:3 Changed 8 years ago by myshkin

  • Resolution fixed deleted
  • Status changed from closed to reopened

The use of CGContextSelectFont in main-crb.c:activate() forces us to use the MacRoman? encoding, which in turn is causing the wrong extended characters. We could set up a mapping between MacRoman? and Latin-1 in Term_xchar_mac(), but it is probably preferable to switch to CGContextSetFont() and CGContextShowGlyphsAtPoint(), which use Unicode encodings. I will look into making this change.

comment:4 Changed 8 years ago by myshkin

  • Milestone changed from 3.2.0 to 3.3.0
  • Owner set to myshkin
  • Status changed from reopened to assigned

comment:5 Changed 8 years ago by myshkin

  • Status changed from assigned to pending

Fixed in staging [d709837].

comment:6 Changed 8 years ago by magnate

  • Resolution set to fixed
  • Status changed from pending to closed

In master with [ref9e70e], 23 May 2011.

Note: See TracTickets for help on using tickets.