Subject: bug#639 closed by Jason Rumney <[email-masked]> (Re: bug#642: 23.0.60;garbled text (wrong font?) in About GNU Emacs screen)

From: [email-masked] (Emacs bug Tracking System)

This is an automatic notification regarding your bug report
which was filed against the emacs,w32 package:

#642: 23.0.60; tab bars use bizarre characters now

It has been closed by Jason Rumney <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Jason Rumney <[email-masked]> by
replying to this email.

-- 
642: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=642
Emacs Bug Tracking System
Contact [email-masked] with problems
>From [email-masked] Sun Nov 23 07:23:12 2008
Date: Sun, 23 Nov 2008 23:22:27 +0800
From: Jason Rumney <[email-masked]>
To: Drew Adams <[email-masked]>
CC: [email-masked]
Subject: Re: bug#642: 23.0.60;garbled text (wrong font?) in About GNU Emacs
 screen
Sender: Jason Rumney <[email-masked]>

Drew Adams wrote:
> Here is some more info about this.
>   

> 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.
>   

Thanks for your extra information.  I think this is related to the fact 
that the Uniscribe font backend can only use opentype and truetype 
fonts, but Windows by default defines font substitutions for Helvetica 
and Times to map to the Truetype fonts "Arial" and "Times New Roman". So 
the uniscribe backend picks these substitutes up, but somehow things get 
confused so the Type-1 fonts end up being loaded. I've added some code 
to specifically reject these substitutes, which are detected by 
comparing the font's "full name" with the name used to load it. 
Unfortunately this also catches many legitimate fonts, so I've had to 
pick out these two specific problematic substitutions. If there are any 
other specific fonts that cause this problem, then we will need to add 
rules for them too.

>From [email-masked] Fri Aug  1 07:43:12 2008
From: "Drew Adams" <[email-masked]>
To: <[email-masked]>
Subject: 23.0.60; tab bars use bizarre characters now
Date: Fri, 1 Aug 2008 07:42:51 -0700

This is a multi-part message in MIME format.

------=_NextPart_000_0058_01C8F3AA.33F47DB0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

emacs -Q

Load David Ponce's tabbar.el. I'm using this revision, which
AFAIK is the latest:
;; Revision: $Id: tabbar.el,v 1.20 2003/06/05 08:15:49 ponced Exp $
(defconst tabbar-version "1.3")

M-x tabbar-mode
 
The characters in the tabs are bad now. See attached images - the good
one is from a build of 2008-07-26; the bad one is from a build of
2008-08-01.

In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
 of 2008-08-01 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'

------=_NextPart_000_0058_01C8F3AA.33F47DB0
Content-Type: image/png;
	name="throw-good-tab-chars.png"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="throw-good-tab-chars.png"

------=_NextPart_000_0058_01C8F3AA.33F47DB0
Content-Type: image/png;
	name="throw-bad-tab-chars.PNG"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="throw-bad-tab-chars.PNG"

------=_NextPart_000_0058_01C8F3AA.33F47DB0--