unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: <642@emacsbugs.donarmstrong.com>, "'Jason Rumney'" <jasonr@gnu.org>
Cc: emacs-pretest-bug@gnu.org
Subject: bug#642: 23.0.60; garbled text (wrong font?) in About GNU Emacs screen
Date: Mon, 17 Nov 2008 00:15:25 -0800	[thread overview]
Message-ID: <002a01c9488c$a4fb8c60$0200a8c0@us.oracle.com> (raw)
In-Reply-To: <005101c93a0b$44fe0840$c2b22382@us.oracle.com>

[-- Attachment #1: Type: text/plain, Size: 2424 bytes --]

In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
 of 2008-11-08 on LENNART-69DE564
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include
-fno-crossjumping'
 
Here is some more info about this. Attached is a screenshot showing font
families in Emacs 23 (on the left) and Emacs 22.3 (on the right).

I used the following code from Miles Bader:

(defun list-fonts-display ()
     "Display a list of font-families available via font-config, in a new
buffer.
   The name of each font family is displayed using that family, as
   well as in the default font (to handle the case where a font
   cannot be used to display its own name)."
     (interactive)
     (let (families)
       (with-temp-buffer
	 (shell-command "fc-list : family" t)
	 (goto-char (point-min))
	 (while (not (eobp))
	   (push (buffer-substring (line-beginning-position)
(line-end-position))
		 families)
	   (forward-line)))
       (let ((buf (get-buffer-create "*Font Families*")))
	 (with-current-buffer buf
	   (erase-buffer)
	   (dolist (family families)
	     (setq family (car (split-string family ",")))
	     (insert (concat (propertize family 'face (list :family family))
			     " (" family ")"))
	     (newline)))
	 (display-buffer buf))))

Other than that, I used emacs -Q and, to be able to use a bash shell, loaded
cygwin-mount.el and setup-cygwin.el
(http://www.emacswiki.org/emacs/cygwin-mount.el,
http://www.emacswiki.org/emacs/setup-cygwin.el). I also tried with just emacs -Q
and cmdproxy.exe, without loading the cygwin libraries - same result.

The display shows problems with font families Times and Helvetica. I use the
standard Times and Helvetica Type1 fonts on Windows XP. E.g., the Times Roman
font file is named TIR_____.PFM; the Helvetica file is HV_____.PFM.

Note too that font names such as Terminal do not appear in their own font in
this display in Emacs 23 (but they do in Emacs 22). I don't know if that is an
Emacs 23 bug or due to the nature of `list-fonts-display'. 

It seems that the only font name that is displayed using its own font in Emacs
23 is Courier. The rest, except for Times and Helvetica, appear in some font
that is different from the default font - it looks like a Lucinda font.

(assoc 'font (frame-parameters)) in Emacs 23 gives (font . "-outline-Courier
New-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1").



[-- Attachment #2: bug-642-emacs-fonts.png --]
[-- Type: image/png, Size: 80908 bytes --]

  reply	other threads:[~2008-11-17  8:15 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <49297533.3040505@f2s.com>
2008-07-22 23:34 ` bug#597: 23.0.60; Corrupted display ofv
2008-07-23  0:01   ` Juanma Barranquero
2008-07-23  0:44     ` Óscar Fuentes
2008-07-23  7:53       ` Juanma Barranquero
2008-07-23  8:01   ` Jason Rumney
2008-07-23 13:06     ` ofv
2008-11-23 15:30   ` bug#597: marked as done (23.0.60; Corrupted display.) Emacs bug Tracking System
2008-08-01 14:42 ` bug#639: 23.0.60; tab bars use bizarre characters now Drew Adams
2008-11-23 15:30   ` bug#639: marked as done (23.0.60; tab bars use bizarre characters now) Emacs bug Tracking System
2008-08-02 20:23 ` bug#642: 23.0.60; garbled text (wrong font?) in About GNU Emacs screen Drew Adams
2008-08-02 21:05   ` Jason Rumney
2008-08-02 21:27     ` Drew Adams
2008-08-05 13:58       ` Drew Adams
2008-10-29 21:14     ` Drew Adams
2008-11-17  8:15       ` Drew Adams [this message]
2008-11-23 15:30   ` bug#642: marked as done (23.0.60; garbled text (wrong font?) in About GNU Emacs screen) Emacs bug Tracking System
2008-11-29 22:50 ` bug#642: 23.0.60; garbled text (wrong font?) in About GNU Emacs screen Drew Adams
2008-11-30  3:07   ` Jason Rumney
2008-12-22 21:30     ` Drew Adams
2008-08-02 20:50 Chong Yidong
2008-08-02 21:27 ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='002a01c9488c$a4fb8c60$0200a8c0@us.oracle.com' \
    --to=drew.adams@oracle.com \
    --cc=642@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=jasonr@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).