all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 14648@debbugs.gnu.org
Subject: bug#14648: 24.3.50; `font' frame parameter bizarreness
Date: Tue, 18 Jun 2013 11:17:04 -0400	[thread overview]
Message-ID: <yw738sf78jz.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <5254f82d-9d1e-448c-83b1-17f87b64aa7b@default> (message from Drew Adams on Mon, 17 Jun 2013 22:49:09 -0700 (PDT))


In article <5254f82d-9d1e-448c-83b1-17f87b64aa7b@default>, Drew Adams
<drew.adams@oracle.com> writes:

> emacs -Q
> (modify-frame-parameters
>   (selected-frame)
>   '((font . "-outline-Gabriola-normal-normal-normal-decorative")))

> Note that the font string here is not a valid XFLD, but it has the
> first
> 6 fields of a valid XFLD.  If it were suffixed by "-*-*-*-*-*-*-*-*"
> then the value would be a valid XFLD (and the bug described below
> would
> not be realized - things work correctly).

> The font of the frame is indeed changed, but not to the font
> specified,
> and not to the default font either (e.g., the font for face
> `default').

Thank you for the report.  I've just installed a fix to signal an error
for an invalid font name in such a case.

> (frame-parameter nil 'font) =>
> "-outline-Arial-normal-normal-normal-sans-20-*-*-*-p-*-iso8859-1"

> What's that?  The doc says nothing about this bizarre behavior.
> Where did this font come from?

It may be the default font found on your system when none of
font property is specified.

---
Kenichi Handa
handa@gnu.org





  reply	other threads:[~2013-06-18 15:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-18  5:49 bug#14648: 24.3.50; `font' frame parameter bizarreness Drew Adams
2013-06-18 15:17 ` Kenichi Handa [this message]
2014-02-08  7:00   ` Lars Ingebrigtsen

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yw738sf78jz.fsf@fencepost.gnu.org \
    --to=handa@gnu.org \
    --cc=14648@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /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 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.