emacs-pretest-bug
[Top][All Lists]
Advanced

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

Carbon Emacs uses incorrect bold and italics fonts


From: Orca
Subject: Carbon Emacs uses incorrect bold and italics fonts
Date: Fri, 16 Sep 2005 12:27:48 -0700 (PDT)

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing
list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Carbon Emacs does not properly load styles for some fonts. The key font
with which I am having trouble is Bitstream Vera Sans Mono. The free font
has specific typefaces for bold and italics styles. Carbon Emacs does not
load these extra faces properly. Applying a bold style to Bitstream Vera
Sans Mono should use Bitstream Vera Sans Mono Bold within the same font
family. Instead, Carbon Emacs utilizes fonts in a way that the Font Manager
incorrectly creates its own bold and italics glypths. I suspect this has
something to do with the way that font names and styles are mapped into
requesting fonts from the FontManager, but I'm not familiar enough with
Carbon font programming to know exactly what's going wrong.

This behavior is best illustrated with a picture comparing among Win32,
X11, and Carbon Emacs flavors using identical settings and font files. The
font files were copied among each of the systems. Note how Carbon Emacs
text fails to align properly--it's not displayed using the font family's
monospaced variants. The Carbon Emacs text is noticeably different.
<http://www.evl.uic.edu/scharver/emacs-verasansmono.png>

Even if I go through the trouble of setting up fontsets, the results are
the same. The font rendering behavior used to be correct under MacOS X 10.3
with a significantly older version of Emacs, but I have been unable to get
older versions to compile on MacOS X 10.4.

The following simple .emacs is shared among the systems:

(global-font-lock-mode t)
(tool-bar-mode nil)

(if (equal window-system 'w32)
   (progn
     (setq default-frame-alist '((font . "-*-bitstream vera sans
mono-normal-r-*-*-14-*-*-*-c-*-fontset-standard")))))

(if (equal window-system 'x)
   (progn
     (setq default-frame-alist '((font . "-*-bitstream vera sans
mono-medium-r-*-*-*-100-*-*-*-*-*-*")))))

(if (equal window-system 'mac)
    (progn
      (setq mac-allow-anti-aliasing nil)
      (setq default-frame-alist '((font . "-apple-bitstream vera sans
mono-medium-r-normal-*-*-*-*-*-*-*-mac-roman")))))

(if (not window-system)
   (progn
     (menu-bar-mode 0)))

(custom-set-faces
 ;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
 ;; Your init file should contain only one such instance.
 '(font-lock-comment-face ((t (:foreground "lime green" :slant oblique))))
 '(font-lock-function-name-face ((t (:foreground "DodgerBlue1" :weight
bold))))
 '(font-lock-keyword-face ((t (:foreground "Yellow"))))
 '(font-lock-preprocessor-face ((t (:inherit (quote font-lock-builtin-face)
:foreground "medium purple" :weight bold))))
 '(font-lock-reference-face ((((class color) (background dark)) (:bold t
:foreground "Orange"))))
 '(font-lock-string-face ((t (:foreground "maroon" :weight bold))))
 '(font-lock-type-face ((t (:foreground "DodgerBlue3"))))
 '(font-lock-variable-name-face ((t (:foreground "dark orchid"))))
 '(font-lock-warning-face ((t (:foreground "Red" :weight: bold))))
 '(paren-face-match ((((class color)) (:background "Royalblue4"))))
 '(font-lock-html-tag-face ((((class color) (background dark)) (:bold t
:foreground "Cyan")))))

If emacs crashed, and you have the emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/Applications/Emacs.app/Contents/Resources/etc/DEBUG for instructions.


In GNU Emacs 22.0.50.1 (powerpc-apple-darwin8.2.0)
 of 2005-08-06 on quartet.local
X server distributor `Apple Computers', version 10.4.2
configured using `configure
'--prefix=/Applications/Emacs.app/Contents/Resources' '--with-carbon'
'--without-x' 'CPPFLAGS=-DOLDROUTINENAMES''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  mouse-wheel-mode: t
  encoded-kbd-mode: t
  tooltip-mode: t
  auto-compression-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t
  next-error-follow-minor-mode:  Fol

Recent input:
<help-echo> <down-mouse-1> <mouse-movement> <mouse-1> 
<menu-bar> <help-menu> <report-emacs-bug>

Recent messages:
Loading w3m-load (source)...done
Loading
/Applications/Emacs.app/Contents/Resources/site-lisp/site-start.d/carbon-emacs-extra.el
(source)...done
Loading
/Applications/Emacs.app/Contents/Resources/site-lisp/site-start.d/carbon-emacs-init.el
(source)...
Loading Multilingual Fontsets (Carbon-font)...
Loading
/Applications/Emacs.app/Contents/Resources/site-lisp/site-start.d/carbon-emacs-init.el
(source)...done
Loading
/Applications/Emacs.app/Contents/Resources/site-lisp/site-start.d/carbon-emacs-japanese-init.el
(source)...done
Loading
/Applications/Emacs.app/Contents/Resources/site-lisp/site-start.d/carbon-emacs-package-menu.el
(source)...done
Toggling tool-bar-mode off; better pass an explicit argument.
For information about the GNU Project and its goals, type C-h C-p.
Loading emacsbug...done



                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]