Opened 19 years ago

Closed 19 years ago

#7512 closed defect (fixed)

BUG: emacs-devel should use ATSUI for better fonts in carbon variant

Reported by: vincent-opdarw@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

I had several problems with fonts in emacs-devel. I've just been given the solution in the fr.comp.applications.emacs newgroups (message <m2u0ak0xxm.fsf@…>) and tried it by removing

CFLAGS="-I${prefix}/include"

from the Portfile and adding

configure.env-append CFLAGS="-DUSE_ATSUI"

to the carbon variant. The noticeable advantages are:

  • The fonts look much nicer (real antialiased fonts).
  • All the characters of the iso-8859-1 charset are available[*].
  • Bold characters have the same width (so that I no longer get width problems with Emacs used as a terminal).

[*] See for instance on: 20 !"#$%&'()*+,-./0123456789:;<=>? 40 @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]_ 60 `abcdefghijklmnopqrstuvwxyz{|}~ A0 ¡¢£¤¥¦§¨©ª«¬­ ®¯°±²³´µ¶·¸¹º»¼½¾¿ C0 ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞß E0 àáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ

Change History (1)

comment:1 Changed 19 years ago by gwright@…

Resolution: fixed
Status: newclosed

Vincent,

I added an +atsui variant. It requires the +carbon variant. If no one complains about it breaking anything, the build with USE_ATSUI can be moved into the default carbon variant at some point.

Thanks! It looks really nice.

-Greg

Note: See TracTickets for help on using tickets.