all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#7956: 24.0.50; xft:-B&H-LucidaTypewriter-normal-normal-normal-Sans-10-*-*-*-m-60-iso10646-1 rendered to presumingly 1 pt
@ 2011-02-01 20:39 Peter Dyballa
  2011-02-02 19:41 ` Jan Djärv
  2011-03-31 17:09 ` Peter Dyballa
  0 siblings, 2 replies; 6+ messages in thread
From: Peter Dyballa @ 2011-02-01 20:39 UTC (permalink / raw)
  To: 7956

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






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#7956: 24.0.50; xft:-B&H-LucidaTypewriter-normal-normal-normal-Sans-10-*-*-*-m-60-iso10646-1 rendered to presumingly 1 pt
  2011-02-01 20:39 bug#7956: 24.0.50; xft:-B&H-LucidaTypewriter-normal-normal-normal-Sans-10-*-*-*-m-60-iso10646-1 rendered to presumingly 1 pt Peter Dyballa
@ 2011-02-02 19:41 ` Jan Djärv
  2011-02-02 23:56   ` Peter Dyballa
  2011-02-04  0:00   ` Peter Dyballa
  2011-03-31 17:09 ` Peter Dyballa
  1 sibling, 2 replies; 6+ messages in thread
From: Jan Djärv @ 2011-02-02 19:41 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: 7956



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.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#7956: 24.0.50; xft:-B&H-LucidaTypewriter-normal-normal-normal-Sans-10-*-*-*-m-60-iso10646-1 rendered to presumingly 1 pt
  2011-02-02 19:41 ` Jan Djärv
@ 2011-02-02 23:56   ` Peter Dyballa
  2011-02-04  0:00   ` Peter Dyballa
  1 sibling, 0 replies; 6+ messages in thread
From: Peter Dyballa @ 2011-02-02 23:56 UTC (permalink / raw)
  To: Jan Djärv; +Cc: 7956


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






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#7956: 24.0.50; xft:-B&H-LucidaTypewriter-normal-normal-normal-Sans-10-*-*-*-m-60-iso10646-1 rendered to presumingly 1 pt
  2011-02-02 19:41 ` Jan Djärv
  2011-02-02 23:56   ` Peter Dyballa
@ 2011-02-04  0:00   ` Peter Dyballa
  1 sibling, 0 replies; 6+ messages in thread
From: Peter Dyballa @ 2011-02-04  0:00 UTC (permalink / raw)
  To: Jan Djärv; +Cc: 7956

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

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.


[-- Attachment #2: X11.app Emacs fringe.png --]
[-- Type: image/png, Size: 3775 bytes --]

[-- Attachment #3: Type: text/plain, Size: 1398 bytes --]




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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#7956: 24.0.50; xft:-B&H-LucidaTypewriter-normal-normal-normal-Sans-10-*-*-*-m-60-iso10646-1 rendered to presumingly 1 pt
  2011-02-01 20:39 bug#7956: 24.0.50; xft:-B&H-LucidaTypewriter-normal-normal-normal-Sans-10-*-*-*-m-60-iso10646-1 rendered to presumingly 1 pt Peter Dyballa
  2011-02-02 19:41 ` Jan Djärv
@ 2011-03-31 17:09 ` Peter Dyballa
  2011-04-04  9:35   ` Jan D.
  1 sibling, 1 reply; 6+ messages in thread
From: Peter Dyballa @ 2011-03-31 17:09 UTC (permalink / raw)
  To: 7956

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






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#7956: 24.0.50; xft:-B&H-LucidaTypewriter-normal-normal-normal-Sans-10-*-*-*-m-60-iso10646-1 rendered to presumingly 1 pt
  2011-03-31 17:09 ` Peter Dyballa
@ 2011-04-04  9:35   ` Jan D.
  0 siblings, 0 replies; 6+ messages in thread
From: Jan D. @ 2011-04-04  9:35 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: 7956-done

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






^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-04-04  9:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-01 20:39 bug#7956: 24.0.50; xft:-B&H-LucidaTypewriter-normal-normal-normal-Sans-10-*-*-*-m-60-iso10646-1 rendered to presumingly 1 pt Peter Dyballa
2011-02-02 19:41 ` Jan Djärv
2011-02-02 23:56   ` Peter Dyballa
2011-02-04  0:00   ` Peter Dyballa
2011-03-31 17:09 ` Peter Dyballa
2011-04-04  9:35   ` Jan D.

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.