unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* 23.0.60; fontset problems
@ 2008-03-05 13:31 Peter Dyballa
  0 siblings, 0 replies; only message in thread
From: Peter Dyballa @ 2008-03-05 13:31 UTC (permalink / raw)
  To: emacs-pretest-bug

Hello!

A two months old version of GNU Emacs 23.0.60 follows this in ~/.emacs:

	(setq initial-frame-alist
	  (append (list
	    '(border-color	. "#4e3832")
	    '(foreground-color	. "grey10")
	    '(background-color	. "AliceBlue")
	;    '(background-color . "honeydew")
	    '(active-alpha	. 0.875)
	    '(inactive-alpha	. 0.75)
	    '(font . "fontset-10pt_lucidatypewriter")
	    '(top . 136) '(left . 666) '(width . 100) '(height . 57)
	  ) initial-frame-alist))
	(setq default-frame-alist
	  (append (list
	    '(cursor-type	. box)
	    '(active-alpha	. 0.875)
	    '(inactive-alpha	. 0.75)
	    '(vertical-scroll-bars . left)
	    ) default-frame-alist))
	(if (= 22 ETyp)
	    (setq default-frame-alist
	      (append (list
		'(foreground-color	. "grey10")
		'(background-color	. "alice blue")
		'(cursor-color		. "DarkGreen")
		'(top . 40) '(left . 518) '(width . 85) '(height . 45)
	    ) default-frame-alist)))
	(if (= 23 ETyp)
	    (setq default-frame-alist
	      (append (list
		'(foreground-color	. "NavyBlue")
		'(background-color	. "LightCyan")
		'(cursor-color		. "firebrick")
		'(top . 66) '(left . 636) '(width . 100) '(height . 57)
		'(font . "fontset-10pt_lucida_sans_typewriter")
	    ) default-frame-alist)))
	(set-fontset-font "fontset-default" 'gb18030 '("dejavu sans mono".  
"unicode-bmp"))
	(set-fontset-font "fontset-startup" 'gb18030 '("dejavu sans mono".  
"unicode-bmp"))

When I type M-x describe-fontset RET RET in the initial frame, the  
*Help* buffer starts with ("ETyp's value is 23"):

	Fontset: -b&h-lucida sans typewriter-medium-r-normal--10-*-*-*-*-*- 
fontset-startup
	CHAR RANGE (CODE RANGE)
	FONT NAME (REQUESTED and [OPENED])
	C-@ .. DEL
	    -*-lucida sans typewriter-*-*-*-*-*-*-*-*-*-*-iso8859-1
	    -*-lucida sans typewriter-*-*-*-*-*-*-*-*-*-*-iso10646-1
	€ .. Ÿ (#x80 .. #x9F)
	    -*-lucida sans typewriter-*-*-*-*-*-*-*-*-*-*-iso10646-1
		[-b&h-lucida sans typewriter-medium-r-normal--10-96-75-75-m-60- 
iso10646-1]
	  .. ͯ (#xA0 .. #x36F)
	    -*-lucida sans typewriter-*-*-*-*-*-*-*-*-*-*-iso8859-1
		[-b&h-lucida sans typewriter-medium-r-normal--10-96-75-75-m-60- 
iso8859-1]
		[-b&h-lucida sans typewriter-medium-r-normal--10-96-75-75-m-60- 
iso8859-1]
		[-b&h-lucida sans typewriter-medium-r-normal--10-96-75-75-m-60- 
iso8859-1]
	    -*-lucida sans typewriter-*-*-*-*-*-*-*-*-*-*-iso10646-1
		[-b&h-lucida sans typewriter-medium-r-normal--10-96-75-75-m-60- 
iso10646-1]
	Ͱ .. ᷿ (#x370 .. #x1DFF)
	    -*-lucida sans typewriter-*-*-*-*-*-*-*-*-*-*-iso10646-1
		[-b&h-lucida sans typewriter-medium-r-normal--10-96-75-75-m-60- 
iso10646-1]

The elder Emacs shows:

	Fontset: -b&h-lucidatypewriter-medium-r-*-*-10-*-*-*-*-*- 
fontset-10pt_lucidatypewriter
	CHAR RANGE (CODE RANGE)
	    FONT NAME (REQUESTED and [OPENED])
	  .. £ (#xA0 .. #xA3)
	    -*-lucidatypewriter-*-*-*-*-*-*-*-*-*-*-iso8859-15
	¤ (#xA4)
	    -*-lucidatypewriter-*-*-*-*-*-*-*-*-*-*-iso8859-9
	¥ (#xA5)
	    -*-lucidatypewriter-*-*-*-*-*-*-*-*-*-*-iso8859-15

Although recent Emacs knows fontset-startup it does not like the last  
line from ~/.emacs. *Messages* contains:

	error: Fontset `fontset-startup' does not exist


Then I create a new, a more default-like frame. The glyphs look  
different, the look like non-bitmap, and not anti-aliased. Now M-x  
describe-fontset RET RET reports in *Help* buffer still almost the same:

	Fontset: -b&h-lucidatypewriter-medium-r-normal-sans-10-*-*-*-*-*- 
fontset-startup
	CHAR RANGE (CODE RANGE)
	    FONT NAME (REQUESTED and [OPENED])
	C-@ .. DEL
	    -*-lucidatypewriter-*-*-*-*-*-*-*-*-*-*-iso8859-1
	    -*-lucidatypewriter-*-*-*-*-*-*-*-*-*-*-iso10646-1
	€ .. Ÿ (#x80 .. #x9F)
	    -*-lucidatypewriter-*-*-*-*-*-*-*-*-*-*-iso10646-1
		[-b&h-lucidatypewriter-medium-r-normal-sans-11-79-100-100-m-70- 
iso10646-1]
	  .. ͯ (#xA0 .. #x36F)
	    -*-lucidatypewriter-*-*-*-*-*-*-*-*-*-*-iso8859-1
		[-b&h-lucidatypewriter-medium-r-normal-sans-11-79-100-100-m-70- 
iso8859-1]
		[-b&h-lucidatypewriter-medium-r-normal-sans-11-79-100-100-m-70- 
iso8859-1]
		[-b&h-lucidatypewriter-medium-r-normal-sans-11-79-100-100-m-70- 
iso8859-1]
	    -*-lucidatypewriter-*-*-*-*-*-*-*-*-*-*-iso10646-1
		[-b&h-lucidatypewriter-medium-r-normal-sans-11-79-100-100-m-70- 
iso10646-1]
	Ͱ .. ೿ (#x370 .. #xCFF)
	    -*-lucidatypewriter-*-*-*-*-*-*-*-*-*-*-iso10646-1
		[-b&h-lucidatypewriter-medium-r-normal-sans-11-79-100-100-m-70- 
iso10646-1]
	ഀ .. ൿ (#xD00 .. #xD7F)
	    -misc-malayalam-*-*-*-*-*-*-*-*-*-*-iso10646-1
	඀ .. ᷿ (#xD80 .. #x1DFF)
	    -*-lucidatypewriter-*-*-*-*-*-*-*-*-*-*-iso10646-1
		[-b&h-lucidatypewriter-medium-r-normal-sans-11-79-100-100-m-70- 
iso10646-1]

So the font used was switched accordingly, but the names of the  
fontsets used in the recent version are not correct.


In GNU Emacs 23.0.60.2 (powerpc-apple-darwin8.11.0, X toolkit, Xaw3d  
scroll bars)
  of 2008-03-01 on Latsche.local
Windowing system distributor `The XFree86 Project, Inc', version  
11.0.40400000
configured using `configure  '--without-pop' '--without-sound' '-- 
with-xft' '--with-libotf' '--with-dbus' '--with-x-toolkit=athena' '-- 
enable-font-backend' '--enable-locallisppath=/Library/Application  
Support/Emacs/calendar23:/Library/Application Support/Emacs/caml:/ 
Library/Application Support/Emacs:/sw/share/emacs21/site-lisp/elib'  
'PKG_CONFIG_PATH=/sw/lib/freetype219/lib/pkgconfig:/sw/lib/ 
fontconfig2/lib/pkgconfig:/sw/lib/pkgconfig:/sw/lib/system-openssl/ 
lib/pkgconfig:/sw/share/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/ 
pkgconfig:/usr/local/clamXav/lib/pkgconfig:/usr/X11R6/lib/pkgconfig'  
'CPPFLAGS=-no-cpp-precomp -D__BIND_NOSTATIC -I/sw/lib/fontconfig2/ 
include -I/sw/lib/freetype219/include -I/sw/lib/freetype219/include/ 
freetype2 -idirafter /usr/X11R6/include' 'CFLAGS=-ggdb -gfull - 
bind_at_load -Wno-pointer-sign -pipe -fPIC -mcpu=7450 -mtune=7450 - 
mno-powerpc64 -O0' 'LDFLAGS=-bind_at_load -dead_strip - 
multiply_defined suppress -L/sw/lib/fontconfig2/lib -L/sw/lib/ 
freetype219/lib''

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

Major mode: Fundamental

Minor modes in effect:
   show-paren-mode: t
   display-time-mode: t
   desktop-save-mode: t
   tooltip-mode: t
   mouse-wheel-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   global-auto-composition-mode: t
   auto-composition-mode: t
   auto-compression-mode: t
   column-number-mode: t
   line-number-mode: t
   transient-mark-mode: t

--
Greetings

   Pete

The box said "Use Windows 95 or better," so I got a Macintosh.






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-05 13:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-05 13:31 23.0.60; fontset problems Peter Dyballa

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