GNU bug report logs - #7956
24.0.50; xft:-B&H-LucidaTypewriter-normal-normal-normal-Sans-10-*-*-*-m-60-iso10646-1 rendered to presumingly 1 pt

Previous Next

Package: emacs;

Reported by: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>

Date: Tue, 1 Feb 2011 20:32:02 UTC

Severity: normal

Found in version 24.0.50

Done: "Jan D." <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7956 in the body.
You can then email your comments to 7956 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7956; Package emacs. (Tue, 01 Feb 2011 20:32:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Peter Dyballa <Peter_Dyballa <at> Freenet.DE>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 01 Feb 2011 20:32:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
To: emacs-pretest-bug <at> gnu.org
Subject: 24.0.50;
	xft:-B&H-LucidaTypewriter-normal-normal-normal-Sans-10-*-*-*-m-60-iso10646-1
	rendered to presumingly 1 pt
Date: Tue, 1 Feb 2011 21:39:23 +0100
Hello!

In Mac OS X 10.5.8 (Leopard, without Snow) I have two X servers, which  
identify themselves as "XQuartz 2.6.0 (xorg-server 1.9.3)". One comes  
from the MacPorts project and is compiled and installed on my  
PowerBook G4 (PPC 7447A CPU). The other is compiled, maybe, at Apple,  
based on, presumingly, the same sources and distributed as a package  
to install with the usual Mac OS X installer as a replacement for the  
original very old X11, built by folks who also work in the MacPorts  
project, who are most likely Apple employees. It's advertised here (http://xquartz.macosforge.org/trac/wiki/X112.6.0 
) as:

* the main highlight are the transition to libxcb as a backend for  
libX11
* freetype 2.4.4 to address some font rendering issues in 2.5.2
* pixman 0.20.0 should have some better fast paths with SSE2
* fontconfig 2.8.0
* cairo 1.10.0
* libX11 1.4.0
* xorg-server 1.9.3 which includes RandR and a ton of stability fixes

The MacPorts variant does not inherit my login environment, so AUCTeX  
cannot find tex. The ready-made X server does inherit and pass it to  
its clients – but GNU Emacsen come up in the usual geometry size  
(96x56+25+125, 100x55+696+145), the fonts in GTK-2 based menubar and  
their menus are OK, the font in the title is OK, only the font in the  
windows and the modelines are very, very small, maybe 1 pt. I can C-x  
u = on some character and copy the whole *Help* buffer's quite  
invisible contents and paste it into the NS variant's *scratch*  
buffer. It shows as font used to display the checked character the line:

	xft:-B&H-LucidaTypewriter-normal-normal-normal-Sans-10-*-*-*-m-60- 
iso10646-1

which is the same as in the MacPorts variant. When I change the X  
resource

	Xft.dpi:	96

to, say 960, hoping that would increase the font size to readable, it  
only works in the GTK-2 based widgets: giant text in menubar and  
menus! (And as well in GKrellM.) Screenshots available.


This happened with Xaw3d and GTK-2 X clients (since some days the  
Xaw3d clients do not launch, only the GTK-2 ones) of many different  
GNU Emacs stable and development versions. Can this happen due to a  
bug in GNU Emacs?


In GNU Emacs 24.0.50.7 (powerpc-apple-darwin9.8.0, X toolkit, Xaw3d  
scroll bars)
 of 2011-02-01 on localhost
configured using `configure  '--without-sound' '--without-dbus' '-- 
without-pop' '--without-gconf' '--with-x-toolkit=athena' '--x- 
libraries=/opt/local/lib' '--x-includes=/opt/local/include' '--enable- 
locallisppath=/Library/Application Support/Emacs/calendar24:/Library/ 
Application Support/Emacs' 'CFLAGS=-g -H -pipe -fPIC -fno-common - 
mcpu=7450 -mtune=7450 -faltivec -O0' 'LDFLAGS=-Wl,-dead_strip_dylibs - 
Wl,-bind_at_load -Wl,-t' 'CC=gcc-4.2' 'CPP=cpp-4.2' 'PKG_CONFIG_PATH=/ 
opt/local/lib/pkgconfig:/opt/local/share/pkgconfig:/usr/lib/pkgconfig:/ 
usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig''


--
Greetings

  Pete

Perl—the only language that looks the same before and after RSA  
encryption.
				- Keith Bostic





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7956; Package emacs. (Wed, 02 Feb 2011 19:34:02 GMT) Full text and rfc822 format available.

Message #8 received at 7956 <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
Cc: 7956 <at> debbugs.gnu.org
Subject: Re: bug#7956: 24.0.50;
	xft:-B&H-LucidaTypewriter-normal-normal-normal-Sans-10-*-*-*-m-60-iso10646-1
	rendered to presumingly 1 pt
Date: Wed, 02 Feb 2011 20:41:56 +0100

Peter Dyballa skrev 2011-02-01 21.39:
> Hello!
>
> In Mac OS X 10.5.8 (Leopard, without Snow) I have two X servers, which
> identify themselves as "XQuartz 2.6.0 (xorg-server 1.9.3)". One comes from the
> MacPorts project and is compiled and installed on my PowerBook G4 (PPC 7447A
> CPU). The other is compiled, maybe, at Apple, based on, presumingly, the same
> sources and distributed as a package to install with the usual Mac OS X
> installer as a replacement for the original very old X11, built by folks who
> also work in the MacPorts project, who are most likely Apple employees. It's
> advertised here (http://xquartz.macosforge.org/trac/wiki/X112.6.0) as:
>
> * the main highlight are the transition to libxcb as a backend for libX11
> * freetype 2.4.4 to address some font rendering issues in 2.5.2
> * pixman 0.20.0 should have some better fast paths with SSE2
> * fontconfig 2.8.0
> * cairo 1.10.0
> * libX11 1.4.0
> * xorg-server 1.9.3 which includes RandR and a ton of stability fixes
>
> The MacPorts variant does not inherit my login environment, so AUCTeX cannot
> find tex. The ready-made X server does inherit and pass it to its clients –
> but GNU Emacsen come up in the usual geometry size (96x56+25+125,
> 100x55+696+145), the fonts in GTK-2 based menubar and their menus are OK, the
> font in the title is OK, only the font in the windows and the modelines are
> very, very small, maybe 1 pt. I can C-x u = on some character and copy the
> whole *Help* buffer's quite invisible contents and paste it into the NS
> variant's *scratch* buffer. It shows as font used to display the checked
> character the line:
>
> xft:-B&H-LucidaTypewriter-normal-normal-normal-Sans-10-*-*-*-m-60-iso10646-1
>
> which is the same as in the MacPorts variant. When I change the X resource
>
> Xft.dpi: 96
>
> to, say 960, hoping that would increase the font size to readable, it only
> works in the GTK-2 based widgets: giant text in menubar and menus! (And as
> well in GKrellM.) Screenshots available.
>
>
> This happened with Xaw3d and GTK-2 X clients (since some days the Xaw3d
> clients do not launch, only the GTK-2 ones) of many different GNU Emacs stable
> and development versions. Can this happen due to a bug in GNU Emacs?
>

Hard to say.  What happens for xfd -fn 
'-B&H-LucidaTypewriter-normal-normal-normal-Sans-10-*-*-*-m-60-iso10646-1' ?
Does
% emacs -fn sans-10

give better results?  It seems your X server or Emacs or a combination has 
problems with old style fonts.

	Jan D.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7956; Package emacs. (Wed, 02 Feb 2011 23:48:02 GMT) Full text and rfc822 format available.

Message #11 received at 7956 <at> debbugs.gnu.org (full text, mbox):

From: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: 7956 <at> debbugs.gnu.org
Subject: Re: bug#7956: 24.0.50;
	xft:-B&H-LucidaTypewriter-normal-normal-normal-Sans-10-*-*-*-m-60-iso10646-1
	rendered to presumingly 1 pt
Date: Thu, 3 Feb 2011 00:56:10 +0100
Am 02.02.2011 um 20:41 schrieb Jan Djärv:

> Hard to say.  What happens for xfd -fn '-B&H-LucidaTypewriter-normal- 
> normal-normal-Sans-10-*-*-*-m-60-iso10646-1' ?

	xfd -fn '-B&H-LucidaTypewriter-normal-normal-normal-Sans-10-*-*-*- 
m-60-iso10646-1'
	Warning: Cannot convert string "-B&H-LucidaTypewriter-normal-normal- 
normal-Sans-10-*-*-*-m-60-iso10646-1" to type FontStruct
	xfd:  no font to display
	Exit 1

When I select the font manually in xfontsel it works as:

	xfd -fn '-b&h-lucidatypewriter-medium-r-normal-sans-10-*-*-*-m-60- 
iso10646-1' &
	[2] 18394


> Does
> % emacs -fn sans-10
>
> give better results?

Partially! As long as GNU Emacs is loading the desktop and the session  
saved I can see clearly the text. When this has finished, the fonts  
become invisible. Invoking GNU Emacs with -q or -Q keeps the initial  
image and the correct size of "xft:-bitstream-Bitstream Vera Sans- 
normal-normal-normal-*-12-*-*-*-*-0-iso10646-1". So there can as well  
be something in my init file. When I invoke

	emacs -q -fn '-b&h-lucidatypewriter-medium-r-normal-sans-10-*-*-*- 
m-60-iso10646-1' &

I never see that font normally, only the introductory page with the  
"GNU Emacs" logo and hyper-link to some documentation appears OK in  
Bitstream Vera Sans and Monospace.

>  It seems your X server or Emacs or a combination has problems with  
> old style fonts.

I'd think it has to do with TT fonts (the Lucida Sans Typewriter is  
such one, from Java). Jeremy Huddleston mentions that he is using an  
elder version of FreeType because the recent one shows some bugs in  
Snow Leopard, Mac OS X 10.6. Maybe Mac OS X is buggy...


Later, after sleep, I can try to determine which statement in my init  
file is causing the "disappearance" of the sans font!

--
Greetings

  Pete

The day Microsoft makes something that doesn't suck is the day they  
start selling vacuum cleaners.
				– Ernest Jan Plugge





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7956; Package emacs. (Thu, 03 Feb 2011 23:53:02 GMT) Full text and rfc822 format available.

Message #14 received at 7956 <at> debbugs.gnu.org (full text, mbox):

From: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: 7956 <at> debbugs.gnu.org
Subject: Re: bug#7956: 24.0.50;
	xft:-B&H-LucidaTypewriter-normal-normal-normal-Sans-10-*-*-*-m-60-iso10646-1
	rendered to presumingly 1 pt
Date: Fri, 4 Feb 2011 01:00:44 +0100
[Message part 1 (text/plain, inline)]
The behaviour does not seem to be caused by any setting in my init  
file. Or the system's. The former I proved my saving my .emacs file  
under a different name and by 'touch ~/.emacs', creating an empty init  
file. The latter I proved by simply saving site-start.el under a  
different name.

GNU Emacs then shows a welcome message with GNU Emacs logo, a few  
hyper-links to documentation, and below a red text on the left side  
the start of the fringe – which is already distorted. The mode-line  
also does not show legible text. See the attached screen shot.

[X11.app Emacs fringe.png (image/png, inline)]
[Message part 3 (text/plain, inline)]


So it could be – must be – an X resource! By starting with an empty  
~/.Xresources file (~/.Xdefaults is not read!) the effect becomes  
visible with this X resource:

	Emacs.font: -*-lucidatypewriter-medium-r-normal-sans-10-100-75-75- 
m-60-iso10646-1

Changing the encoding iso8859-1 makes no change, xfd and xterm display/ 
use the fonts. No problems come from:

-*-courier 10 pitch-medium-r-*-*-10-*-*-*-m-*-iso8859-1 (C-u C-x =  
names xft:-bitstream-Courier 10 Pitch-normal-normal-normal-*-10-*-*-*- 
m-0-iso10646-1)
-*-courier new-medium-r-normal-*-10-*-*-*-m-*-iso8859-1 (C-u C-x =  
names xft:-monotype-Courier New-normal-normal-normal-*-10-*-*-*-m-0- 
iso10646-1)
-*-luxi mono-medium-r-normal-*-10-*-*-*-m-*-iso8859-1 (C-u C-x = names  
xft:-b&h-Luxi Mono-normal-normal-normal-*-10-*-*-*-m-0-iso10646-1)
-*-dejavu sans mono-medium-r-normal-*-10-*-*-*-m-*-iso8859-1 (C-u C-x  
= names xft:-unknown-DejaVu Sans Mono-normal-normal-normal-*-10-*-*-*- 
m-0-iso10646-1)

The font -*-courier-medium-r-normal-*-10-*-*-*-m-*-iso8859-1 (C-u C-x  
= names xft:-Adobe-Courier-normal-normal-normal-*-10-*-*-*-m-60- 
iso10646-1) behaves like Lucida Sans Typewriter.

No problems seem to come from using fontconfig names.

--
Greetings

  Pete

It isn't pollution that's harming the environment. It's the impurities  
in our air and water that are doing it.


Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7956; Package emacs. (Thu, 31 Mar 2011 17:10:03 GMT) Full text and rfc822 format available.

Message #17 received at 7956 <at> debbugs.gnu.org (full text, mbox):

From: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
To: 7956 <at> debbugs.gnu.org
Cc: Jan Djärv <jan.h.d <at> swipnet.se>
Subject: Re: bug#7956: 24.0.50;
	xft:-B&H-LucidaTypewriter-normal-normal-normal-Sans-10-*-*-*-m-60-iso10646-1
	rendered to presumingly 1 pt
Date: Thu, 31 Mar 2011 19:09:39 +0200
Hello!

The case seems to be resolved right now. And actually the opinion of a  
1 pt font size is wrong: the cursor's size is like with a 10 pt or 12  
pt font size. The effect might be better described like two  
differently scaled glyph masks put on top of the other. Since they  
don't match completely, some light (or black) can pass through them  
onto the screen.

Anyway, the cause seems to be that I am using fontsets built with an  
elder and invalid (?) syntax like here

    (create-fontset-from-fontset-spec "-b&h-lucidatypewriter-medium-r- 
*-*-10-*-*-*-*-*-fontset-10pt_lucida_sans_typewriter" t 'noerror)
	(set-fontset-font "fontset-10pt_lucida_sans_typewriter"       'latin- 
iso8859-1  '("lucidatypewriter" . "iso8859-1"))
	(set-fontset-font "fontset-10pt_lucida_sans_typewriter"       'latin- 
iso8859-2  '("lucidatypewriter" . "iso8859-2"))
	(set-fontset-font "fontset-10pt_lucida_sans_typewriter"       'latin- 
iso8859-3  '("lucidatypewriter" . "iso8859-3"))
	(set-fontset-font "fontset-10pt_lucida_sans_typewriter"       'latin- 
iso8859-4  '("lucidatypewriter" . "iso8859-4"))
	(set-fontset-font "fontset-10pt_lucida_sans_typewriter"    'cyrillic- 
iso8859-5  '("lucidatypewriter" . "iso8859-5"))
	(set-fontset-font "fontset-10pt_lucida_sans_typewriter"      'hebrew- 
iso8859-8  '("lucidatypewriter" . "iso8859-8"))
	(set-fontset-font "fontset-10pt_lucida_sans_typewriter"       'latin- 
iso8859-9  '("lucidatypewriter" . "iso8859-9"))
	(set-fontset-font "fontset-10pt_lucida_sans_typewriter"       'latin- 
iso8859-14 '("lucidatypewriter" . "iso8859-14"))
	(set-fontset-font "fontset-10pt_lucida_sans_typewriter"       'latin- 
iso8859-15 '("lucidatypewriter" . "iso8859-15"))
	(set-fontset-font "fontset-10pt_lucida_sans_typewriter"		   'thai- 
tis620 '("lucidatypewriter" . "iso10646-1"))
;	(set-fontset-font "fontset-10pt_lucida_sans_typewriter"	  'georgian- 
ps '("bpg glaho arial" . "iso10646-1"))
	(set-fontset-font "fontset-10pt_lucida_sans_typewriter" 'mule- 
unicode-0100-24ff '("code2000" . "iso10646-1"))
	(set-fontset-font "fontset-10pt_lucida_sans_typewriter" 'mule- 
unicode-2500-33ff '("code2000" . "iso10646-1"))
	(set-fontset-font "fontset-10pt_lucida_sans_typewriter" 'mule-unicode- 
e000-ffff '("code2000" . "iso10646-1"))

or there:

    (create-fontset-from-fontset-spec "-b&h-lucidatypewriter-medium-r- 
*-*-10-*-*-*-*-*-fontset-10pt_lucidatypewriter" t 'noerror)
	(set-fontset-font "fontset-10pt_lucidatypewriter"       'latin- 
iso8859-1  '("lucidatypewriter" . "iso8859-1"))
	(set-fontset-font "fontset-10pt_lucidatypewriter"       'latin- 
iso8859-2  '("lucidatypewriter" . "iso8859-2"))
	(set-fontset-font "fontset-10pt_lucidatypewriter"       'latin- 
iso8859-3  '("lucidatypewriter" . "iso8859-3"))
	(set-fontset-font "fontset-10pt_lucidatypewriter"       'latin- 
iso8859-4  '("lucidatypewriter" . "iso8859-4"))
	(set-fontset-font "fontset-10pt_lucidatypewriter"       'latin- 
iso8859-9  '("lucidatypewriter" . "iso8859-9"))
	(set-fontset-font "fontset-10pt_lucidatypewriter"       'latin- 
iso8859-14 '("lucidatypewriter" . "iso8859-14"))
	(set-fontset-font "fontset-10pt_lucidatypewriter"       'latin- 
iso8859-15 '("lucidatypewriter" . "iso8859-15"))
	(set-fontset-font "fontset-10pt_lucidatypewriter" 'mule- 
unicode-0100-24ff '("lucidatypewriter" . "iso10646-1"))
	(set-fontset-font "fontset-10pt_lucidatypewriter" 'mule- 
unicode-2500-33ff '("lucidatypewriter" . "iso10646-1"))
	(set-fontset-font "fontset-10pt_lucidatypewriter" 'mule-unicode-e000- 
ffff '("lucidatypewriter" . "iso10646-1"))
	(set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char  
'ucs #x0590) (decode-char 'ucs #x05ff)) '("bpg glaho arial" .  
"iso10646-1"))	; Hebrew
	(set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char  
'ucs #x0600) (decode-char 'ucs #x06ff)) '("bpg glaho arial" .  
"iso10646-1"))	; Arabic
	(set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char  
'ucs #x10a0) (decode-char 'ucs #x10ff)) '("bpg glaho" .  
"iso10646-1"))	; Georgian
	(set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char  
'ucs #x2800) (decode-char 'ucs #x28ff)) '("code2000" .  
"iso10646-1"))	; Braille
	(set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char  
'ucs #x0980) (decode-char 'ucs #x09ff)) '("bangla" . "iso10646-1"))	;  
Bengali
	(set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char  
'ucs #x0a00) (decode-char 'ucs #x0a7f)) '("code2000" .  
"iso10646-1"))	; Gurmukhi
	(set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char  
'ucs #x0a80) (decode-char 'ucs #x0aff)) '("code2000" .  
"iso10646-1"))	; Gujarati
	(set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char  
'ucs #x0b00) (decode-char 'ucs #x0b7f)) '("code2000" .  
"iso10646-1"))	; Oriya
	(set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char  
'ucs #x0b80) (decode-char 'ucs #x0bff)) '("code2000" .  
"iso10646-1"))	; Tamil
	(set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char  
'ucs #x0c00) (decode-char 'ucs #x0c7f)) '("code2000" .  
"iso10646-1"))	; Telugu
	(set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char  
'ucs #x0c80) (decode-char 'ucs #x0cff)) '("code2000" .  
"iso10646-1"))	; Kannada
	(set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char  
'ucs #x0d00) (decode-char 'ucs #x0d7f)) '("code2000" .  
"iso10646-1"))	; Malayalam
	(set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char  
'ucs #x0d80) (decode-char 'ucs #x0dff)) '("akshar unicode" .  
"iso10646-1"))	; Sinhala
	(set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char  
'ucs #x0e00) (decode-char 'ucs #x0e7f)) '("code2000" .  
"iso10646-1"))	; Thai
	(set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char  
'ucs #x0e80) (decode-char 'ucs #x0eff)) '("code2000" .  
"iso10646-1"))	; Lao
	(set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char  
'ucs #x0f00) (decode-char 'ucs #x0fff)) '("xtashi" . "iso10646-1"))	;  
Tibetan
	(set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char  
'ucs #x1000) (decode-char 'ucs #x109f)) '("code2000" .  
"iso10646-1"))	; Myanmar
	(set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char  
'ucs #x10a0) (decode-char 'ucs #x10ff)) '("everson mono unicode" .  
"iso10646-1"))	; Georgian
	(set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char  
'ucs #x1100) (decode-char 'ucs #x11ff)) '("code2000" .  
"iso10646-1"))	; Hangul Jamo
(when (= 23 emacs-major-version)
      (set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode- 
char 'ucs #x1d400) (decode-char 'ucs #x1d7ff)) '("code2001" .  
"iso10646-1"))	; Mathe
      (set-fontset-font "fontset-10pt_lucidatypewriter" '(#x1D400 .  
#x1D7FF) (font-spec :family "Unicode Symbols") nil)
)

When I don't use these fontsets the other X server does render the  
fonts correctly (the default server does not seem to have problems  
with this).


I think, it can be closed as resolved/self-produced...

--
Greetings

  Pete

To drink without thirst and to make love all the time, madam, it is  
only these which distinguish us from the other beasts.
				– Beaumarchais





Reply sent to "Jan D." <jan.h.d <at> swipnet.se>:
You have taken responsibility. (Mon, 04 Apr 2011 09:36:02 GMT) Full text and rfc822 format available.

Notification sent to Peter Dyballa <Peter_Dyballa <at> Freenet.DE>:
bug acknowledged by developer. (Mon, 04 Apr 2011 09:36:02 GMT) Full text and rfc822 format available.

Message #22 received at 7956-done <at> debbugs.gnu.org (full text, mbox):

From: "Jan D." <jan.h.d <at> swipnet.se>
To: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
Cc: 7956-done <at> debbugs.gnu.org
Subject: Re: bug#7956: 24.0.50;
	xft:-B&H-LucidaTypewriter-normal-normal-normal-Sans-10-*-*-*-m-60-iso10646-1
	rendered to presumingly 1 pt
Date: Mon, 04 Apr 2011 11:35:20 +0200
Closing.

Thanks for investigating.

	Jan D.

Peter Dyballa skrev 2011-03-31 19:09:
> Hello!
>
> The case seems to be resolved right now. And actually the opinion of a 1
> pt font size is wrong: the cursor's size is like with a 10 pt or 12 pt
> font size. The effect might be better described like two differently
> scaled glyph masks put on top of the other. Since they don't match
> completely, some light (or black) can pass through them onto the screen.
>
> Anyway, the cause seems to be that I am using fontsets built with an
> elder and invalid (?) syntax like here
>
> (create-fontset-from-fontset-spec
> "-b&h-lucidatypewriter-medium-r-*-*-10-*-*-*-*-*-fontset-10pt_lucida_sans_typewriter"
> t 'noerror)
> (set-fontset-font "fontset-10pt_lucida_sans_typewriter" 'latin-iso8859-1
> '("lucidatypewriter" . "iso8859-1"))
> (set-fontset-font "fontset-10pt_lucida_sans_typewriter" 'latin-iso8859-2
> '("lucidatypewriter" . "iso8859-2"))
> (set-fontset-font "fontset-10pt_lucida_sans_typewriter" 'latin-iso8859-3
> '("lucidatypewriter" . "iso8859-3"))
> (set-fontset-font "fontset-10pt_lucida_sans_typewriter" 'latin-iso8859-4
> '("lucidatypewriter" . "iso8859-4"))
> (set-fontset-font "fontset-10pt_lucida_sans_typewriter"
> 'cyrillic-iso8859-5 '("lucidatypewriter" . "iso8859-5"))
> (set-fontset-font "fontset-10pt_lucida_sans_typewriter"
> 'hebrew-iso8859-8 '("lucidatypewriter" . "iso8859-8"))
> (set-fontset-font "fontset-10pt_lucida_sans_typewriter" 'latin-iso8859-9
> '("lucidatypewriter" . "iso8859-9"))
> (set-fontset-font "fontset-10pt_lucida_sans_typewriter"
> 'latin-iso8859-14 '("lucidatypewriter" . "iso8859-14"))
> (set-fontset-font "fontset-10pt_lucida_sans_typewriter"
> 'latin-iso8859-15 '("lucidatypewriter" . "iso8859-15"))
> (set-fontset-font "fontset-10pt_lucida_sans_typewriter" 'thai-tis620
> '("lucidatypewriter" . "iso10646-1"))
> ; (set-fontset-font "fontset-10pt_lucida_sans_typewriter" 'georgian-ps
> '("bpg glaho arial" . "iso10646-1"))
> (set-fontset-font "fontset-10pt_lucida_sans_typewriter"
> 'mule-unicode-0100-24ff '("code2000" . "iso10646-1"))
> (set-fontset-font "fontset-10pt_lucida_sans_typewriter"
> 'mule-unicode-2500-33ff '("code2000" . "iso10646-1"))
> (set-fontset-font "fontset-10pt_lucida_sans_typewriter"
> 'mule-unicode-e000-ffff '("code2000" . "iso10646-1"))
>
> or there:
>
> (create-fontset-from-fontset-spec
> "-b&h-lucidatypewriter-medium-r-*-*-10-*-*-*-*-*-fontset-10pt_lucidatypewriter"
> t 'noerror)
> (set-fontset-font "fontset-10pt_lucidatypewriter" 'latin-iso8859-1
> '("lucidatypewriter" . "iso8859-1"))
> (set-fontset-font "fontset-10pt_lucidatypewriter" 'latin-iso8859-2
> '("lucidatypewriter" . "iso8859-2"))
> (set-fontset-font "fontset-10pt_lucidatypewriter" 'latin-iso8859-3
> '("lucidatypewriter" . "iso8859-3"))
> (set-fontset-font "fontset-10pt_lucidatypewriter" 'latin-iso8859-4
> '("lucidatypewriter" . "iso8859-4"))
> (set-fontset-font "fontset-10pt_lucidatypewriter" 'latin-iso8859-9
> '("lucidatypewriter" . "iso8859-9"))
> (set-fontset-font "fontset-10pt_lucidatypewriter" 'latin-iso8859-14
> '("lucidatypewriter" . "iso8859-14"))
> (set-fontset-font "fontset-10pt_lucidatypewriter" 'latin-iso8859-15
> '("lucidatypewriter" . "iso8859-15"))
> (set-fontset-font "fontset-10pt_lucidatypewriter"
> 'mule-unicode-0100-24ff '("lucidatypewriter" . "iso10646-1"))
> (set-fontset-font "fontset-10pt_lucidatypewriter"
> 'mule-unicode-2500-33ff '("lucidatypewriter" . "iso10646-1"))
> (set-fontset-font "fontset-10pt_lucidatypewriter"
> 'mule-unicode-e000-ffff '("lucidatypewriter" . "iso10646-1"))
> (set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char
> 'ucs #x0590) (decode-char 'ucs #x05ff)) '("bpg glaho arial" .
> "iso10646-1")) ; Hebrew
> (set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char
> 'ucs #x0600) (decode-char 'ucs #x06ff)) '("bpg glaho arial" .
> "iso10646-1")) ; Arabic
> (set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char
> 'ucs #x10a0) (decode-char 'ucs #x10ff)) '("bpg glaho" . "iso10646-1")) ;
> Georgian
> (set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char
> 'ucs #x2800) (decode-char 'ucs #x28ff)) '("code2000" . "iso10646-1")) ;
> Braille
> (set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char
> 'ucs #x0980) (decode-char 'ucs #x09ff)) '("bangla" . "iso10646-1")) ;
> Bengali
> (set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char
> 'ucs #x0a00) (decode-char 'ucs #x0a7f)) '("code2000" . "iso10646-1")) ;
> Gurmukhi
> (set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char
> 'ucs #x0a80) (decode-char 'ucs #x0aff)) '("code2000" . "iso10646-1")) ;
> Gujarati
> (set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char
> 'ucs #x0b00) (decode-char 'ucs #x0b7f)) '("code2000" . "iso10646-1")) ;
> Oriya
> (set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char
> 'ucs #x0b80) (decode-char 'ucs #x0bff)) '("code2000" . "iso10646-1")) ;
> Tamil
> (set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char
> 'ucs #x0c00) (decode-char 'ucs #x0c7f)) '("code2000" . "iso10646-1")) ;
> Telugu
> (set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char
> 'ucs #x0c80) (decode-char 'ucs #x0cff)) '("code2000" . "iso10646-1")) ;
> Kannada
> (set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char
> 'ucs #x0d00) (decode-char 'ucs #x0d7f)) '("code2000" . "iso10646-1")) ;
> Malayalam
> (set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char
> 'ucs #x0d80) (decode-char 'ucs #x0dff)) '("akshar unicode" .
> "iso10646-1")) ; Sinhala
> (set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char
> 'ucs #x0e00) (decode-char 'ucs #x0e7f)) '("code2000" . "iso10646-1")) ;
> Thai
> (set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char
> 'ucs #x0e80) (decode-char 'ucs #x0eff)) '("code2000" . "iso10646-1")) ; Lao
> (set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char
> 'ucs #x0f00) (decode-char 'ucs #x0fff)) '("xtashi" . "iso10646-1")) ;
> Tibetan
> (set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char
> 'ucs #x1000) (decode-char 'ucs #x109f)) '("code2000" . "iso10646-1")) ;
> Myanmar
> (set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char
> 'ucs #x10a0) (decode-char 'ucs #x10ff)) '("everson mono unicode" .
> "iso10646-1")) ; Georgian
> (set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char
> 'ucs #x1100) (decode-char 'ucs #x11ff)) '("code2000" . "iso10646-1")) ;
> Hangul Jamo
> (when (= 23 emacs-major-version)
> (set-fontset-font "fontset-10pt_lucidatypewriter" (cons (decode-char
> 'ucs #x1d400) (decode-char 'ucs #x1d7ff)) '("code2001" . "iso10646-1"))
> ; Mathe
> (set-fontset-font "fontset-10pt_lucidatypewriter" '(#x1D400 . #x1D7FF)
> (font-spec :family "Unicode Symbols") nil)
> )
>
> When I don't use these fontsets the other X server does render the fonts
> correctly (the default server does not seem to have problems with this).
>
>
> I think, it can be closed as resolved/self-produced...
>
> --
> Greetings
>
> Pete
>
> To drink without thirst and to make love all the time, madam, it is only
> these which distinguish us from the other beasts.
> – Beaumarchais





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 02 May 2011 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 112 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.