unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Jae-hyeon Park <jae-hyeon.park@tu-dresden.de>
Cc: 11722@debbugs.gnu.org
Subject: bug#11722: 24.1; cannot set-frame-font to a fontset
Date: Fri, 01 Nov 2019 17:31:26 +0100	[thread overview]
Message-ID: <87r22ry2w1.fsf@gnus.org> (raw)
In-Reply-To: <87wr38nwbo.fsf@aida.tu-dresden.de> (Jae-hyeon Park's message of "Fri, 15 Jun 2012 22:39:55 +0200")

Jae-hyeon Park <jae-hyeon.park@tu-dresden.de> writes:

> 1) start emacs with:
>
>     $ emacs -Q
>
> 2) define a fontset by evaluating in the scratch buffer:
>
>     (create-fontset-from-ascii-font
>      "-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1" nil "test")
>     (set-fontset-font "fontset-test" 'korean-ksc5601
>      "-daewoo-gothic-medium-r-normal--16-120-100-100-c-160-ksc5601.1987-0")
>
> 3) write some Korean letters in the scratch buffer, whose font will be
>    set in the next steps
>
>     ;; 쫄지마
>
> 4) set and check the frame font with:
>
>     (set-frame-parameter nil 'font "fontset-test")
>          => nil
>     (frame-parameter nil 'font)
>          => "-Misc-Fixed-normal-normal-normal-*-14-*-*-*-c-70-iso10646-1"
>     (frame-parameter nil 'font-parameter)
>          => "fontset-test"
>
> 5) alternatively, set and check the frame font with:
>
>     (set-frame-font "fontset-test")
>          => nil
>     (frame-parameter nil 'font)
>          => "-Misc-Fixed-normal-normal-normal-*-14-*-*-*-c-70-iso10646-1"
>     (frame-parameter nil 'font-parameter)
>          => "-misc-fixed-medium-r-normal--14-*-75-75-c-70-iso8859-1"
>
> In emacs 23.3.1, both methods 4) and 5) work, and the "font-parameter"
> frame-parameter is set to the same value by both methods.  In emacs
> 24.1, method 5) does not select the specified Korean font, and the
> font-parameter has different values in 4) and 5).  One can notice that
> the Korean characters look different after evaluating the first lines in
> 4) and 5).

I'm not quite sure what I'm looking for here, but the first step in 4)
and 5) produced Korean text that looks identical to me.

However, (frame-parameter nil 'font-parameter) does return nil for me in
5), so I guess there's still a bug here?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2019-11-01 16:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87ehv4rip9.fsf@aida.tu-dresden.de>
2012-01-17 14:31 ` bug#5667: Simple fix to font-encoding-alist Chong Yidong
2012-03-10  9:45   ` Chong Yidong
2012-03-10 11:01     ` Kenichi Handa
2012-06-15 20:39 ` bug#11722: 24.1; cannot set-frame-font to a fontset Jae-hyeon Park
2019-11-01 16:31   ` Lars Ingebrigtsen [this message]
2010-03-01 22:14 bug#5667: 23.1.93; cursor movement in Korean text is slow with xfonts-baekmuk Jae-hyeon Park
     [not found] ` <handler.5667.B.12674817565232.ack@debbugs.gnu.org>
2010-03-27 16:45   ` bug#5667: Acknowledgement (23.1.93; cursor movement in Korean text is slow with xfonts-baekmuk) Jae-hyeon Park
2011-09-18 12:15     ` Lars Magne Ingebrigtsen
2011-09-18 15:44       ` bug#5667: 23.1.93; cursor movement in Korean text is slow with xfonts-baekmuk Jae-hyeon Park
2011-09-21 18:50         ` Lars Magne Ingebrigtsen
2010-04-01  7:59 ` Kenichi Handa
2010-04-01  8:31   ` Jae-hyeon Park

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=87r22ry2w1.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=11722@debbugs.gnu.org \
    --cc=jae-hyeon.park@tu-dresden.de \
    /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).