Public bug reported:

Binary package hint: emacs23

Source package: emacs23
Ubuntu release: 9.10 amd64
Package version: 23.1+1-4ubuntu3

The create-fontset-from-fontset-spec function in emacs23 does not work
with a fontset spec that worked with emacs22.

How to reproduce:

1) Start emacs with

    $ emacs23 -Q &

2) In the scratch buffer, evaluate the following code

    (create-fontset-from-fontset-spec
     "-misc-fixed-medium-r-normal--15-140-75-75-c-90-fontset-test,
      ascii:-misc-fixed-medium-r-normal--15-140-75-75-c-90-iso8859-1,
      japanese-jisx0208:-jis-fixed-medium-r-normal--16-*-*-*-c-*-jisx0208*-0")
    (set-frame-font "fontset-test")

3) Write some hiragana characters in the same frame, e.g.

    ひらがな

4) These characters are not displayed in the specified jis font.  To see
this, move the cursor on one of the hiragana characters and do M-x
describe-char RET

The same procedure makes emacs22 display hiragana characters with the
correct font.

However, if one evaluates the following code after the above steps,
hiragana font gets fixed even in emacs23.

    (set-fontset-font "fontset-test" 'japanese-jisx0208
     "-jis-fixed-medium-r-normal--16-*-*-*-c-*-jisx0208*-0")

** Affects: emacs23 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
emacs23 does not create a fontset that emacs22 used to
https://bugs.launchpad.net/bugs/468980
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to