From: Peter Dyballa <Peter_Dyballa@Freenet.DE>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: 7949@debbugs.gnu.org
Subject: bug#7949: 24.0.50; GNU Emacs with Xaw3d does not launch as X client
Date: Wed, 2 Feb 2011 23:41:46 +0100 [thread overview]
Message-ID: <1B713F34-B1EC-40CF-88AF-0A44FBD38313@Freenet.DE> (raw)
In-Reply-To: <4D49B23D.1070504@swipnet.se>
Am 02.02.2011 um 20:36 schrieb Jan Djärv:
> 45 is X_OpenFont. The font the menu bar tries to open is
> -*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1
>
> What happens if you do
> % xterm -fn '-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1'
> or
> % xfd -fn '-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1'
> ?
With these fonts, and also in iso10646-1 encoding (LANG and LC_CTYPE
have UTF-8), it's all OK. But I found that the font from this X resource
Emacs*pane.menubar.font: -linotype-optima-black-*-*-*-10-*-*-*-*-*-*-*
makes problems. Xfd and xterm report (their windows don't appear on
screen):
X Error of failed request: BadValue (integer parameter out of range
for operation)
Major opcode of failed request: 45 (X_OpenFont)
Value in failed request: 0x1400014
Serial number of failed request: 37
Current serial number in output stream: 38
When I select it in xfontsel manually, xfontsel disappears from screen
with a similar report (major opcode is the same). Removing the
resource lets all Xaw3d Emacsen launch again...
Either
Emacs*pane.menubar.font: -linotype-optima-black-*-*-*-10-*-*-*-*-*-*-*
took precedence over
Emacs.pane.menubar.faceName: Libris ADF Std-9:style=Bold
after the X server upgrade or the X server cannot use
/sw/lib/X11/fonts/applettf/OptimaBold.ttf
/sw/lib/X11/fonts/applettf/OptimaBoldItalic.ttf
/sw/lib/X11/fonts/applettf/OptimaExtraBlack.ttf
/sw/lib/X11/fonts/applettf/OptimaItalic.ttf
/sw/lib/X11/fonts/applettf/OptimaRegular.ttf
anymore, which were created from Apple's /Library/Fonts/Optima.dfont
with fondu. FontForge has no problem with all five TT fonts and
Apple's fonts package as well.
In fontconfig I have a configuration mistake because fc-list shows
that family names come from the DFONT *and* the TTF files. Could this
cause the failure, could GNU Emacs switch from X server as "fonts
provider" to libfontconfig when the name is given as XLFD?
'-linotype-optima-black-*-*-*-10-*-*-*-*-*-*-*' once worked! Otherwise
I would not have chosen it; I first try to see that the X resource
setting actually works and does what I want to have as effect.
Jan, thank you for guiding me to this detection!
--
Greetings
Pete
Well begun is half done.
– Optimist.
Half done is well begun.
– Realist.
Half begun is well done.
– Australian.
next prev parent reply other threads:[~2011-02-02 22:41 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-31 16:59 bug#7949: 24.0.50; GNU Emacs with Xaw3d does not launch as X client Peter Dyballa
2011-01-31 22:07 ` Jan Djärv
2011-01-31 23:49 ` Peter Dyballa
2011-02-01 7:20 ` Jan Djärv
2011-02-01 10:53 ` Peter Dyballa
2011-02-01 17:23 ` Peter Dyballa
2011-02-01 18:02 ` Peter Dyballa
2011-02-02 10:28 ` Peter Dyballa
2011-02-02 19:36 ` Jan Djärv
2011-02-02 22:41 ` Peter Dyballa [this message]
2011-02-03 10:58 ` Peter Dyballa
2011-02-03 12:59 ` Jan Djärv
2011-02-03 14:25 ` Peter Dyballa
2011-02-03 13:47 ` Jan Djärv
2011-02-03 14:26 ` Peter Dyballa
2011-02-03 15:18 ` Peter Dyballa
2011-02-03 19:02 ` Jan Djärv
2011-02-03 20:29 ` Peter Dyballa
2011-02-04 15:30 ` Jan Djärv
2011-02-04 20:38 ` Peter Dyballa
2011-02-04 21:07 ` Peter Dyballa
2017-12-06 19:44 ` Glenn Morris
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=1B713F34-B1EC-40CF-88AF-0A44FBD38313@Freenet.DE \
--to=peter_dyballa@freenet.de \
--cc=7949@debbugs.gnu.org \
--cc=jan.h.d@swipnet.se \
/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).