Glenn Morris | 1 May 05:54 2008
Picon

Re: font-backend branch

Kenichi Handa wrote:

> I've just committed new codes in font-backend branch.  Those
> who have reported font-backend-related bugs, please test
> that branch.

Of the problems I've reported, your branch fixes these two:

font-lock faces use different font with font-backend
http://lists.gnu.org/archive/html/emacs-devel/2008-03/msg00651.html

font height problems with font-backend
http://lists.gnu.org/archive/html/emacs-devel/2008-03/msg00620.html

This issue is still present:

Xresource pane.menubar.*font no longer takes effect
http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg00314.html
http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg01683.html

Also, I have a new issue now, in that Emacs starts with the right
font, but in the wrong size. I have in ~/.Xdefaults:

Emacs.font: -misc-fixed-medium-r-normal-*-14-*-100-100-*-*-iso8859-1

But Emacs starts with a bigger font (misc fixed 9x15 it seems).
If I select 7x13 or 7x14 from the shift-mouse-1 "Misc" menu, I get the
font I want.

(Continue reading)

Kenichi Handa | 1 May 08:27 2008

Re: font-backend branch

In article <33y76u7k75.fsf <at> fencepost.gnu.org>, Glenn Morris <rgm <at> gnu.org> writes:

> Of the problems I've reported, your branch fixes these two:

> font-lock faces use different font with font-backend
> http://lists.gnu.org/archive/html/emacs-devel/2008-03/msg00651.html

> font height problems with font-backend
> http://lists.gnu.org/archive/html/emacs-devel/2008-03/msg00620.html

Thank you for confirming them.

> This issue is still present:

> Xresource pane.menubar.*font no longer takes effect
> http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg00314.html
> http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg01683.html

Ok, I'm now investigating it.

> Also, I have a new issue now, in that Emacs starts with the right
> font, but in the wrong size. I have in ~/.Xdefaults:

> Emacs.font: -misc-fixed-medium-r-normal-*-14-*-100-100-*-*-iso8859-1

> But Emacs starts with a bigger font (misc fixed 9x15 it seems).
> If I select 7x13 or 7x14 from the shift-mouse-1 "Misc" menu, I get the
> font I want.

I've just installed a fix.
(Continue reading)

Kenichi Handa | 1 May 10:00 2008

Re: font-backend branch

In article <E1JrSGO-0002cO-J3 <at> etlken.m17n.org>, Kenichi Handa <handa <at> m17n.org> writes:

> > This issue is still present:

> > Xresource pane.menubar.*font no longer takes effect
> > http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg00314.html
> > http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg01683.html

> Ok, I'm now investigating it.

I've just installed a fix.

---
Kenichi Handa
handa <at> ni.aist.go.jp

James Cloos | 2 May 03:14 2008
Face

Re: font-backend branch

Any chance of arranging commit mails for this branch?

Or do you expect it to be short-lived and quickly merged?

-JimC
--

-- 
James Cloos <cloos <at> jhcloos.com>         OpenPGP: 1024D/ED7DAEA6

Kenichi Handa | 2 May 04:15 2008

Re: font-backend branch

In article <m3fxt1y0a7.fsf <at> lugabout.jhcloos.org>, James Cloos <cloos <at> jhcloos.com> writes:

> Any chance of arranging commit mails for this branch?
> Or do you expect it to be short-lived and quickly merged?

Yes.  As soon as Windows port code gets stable, I'll merge
it to the trunk.

---
Kenichi Handa
handa <at> ni.aist.go.jp

Jason Rumney | 2 May 10:16 2008
Picon

Re: font-backend branch

Kenichi Handa wrote:
> In article <m3fxt1y0a7.fsf <at> lugabout.jhcloos.org>, James Cloos <cloos <at> jhcloos.com> writes:
>
>   
>> Any chance of arranging commit mails for this branch?
>> Or do you expect it to be short-lived and quickly merged?
>>     
>
> Yes.  As soon as Windows port code gets stable, I'll merge
> it to the trunk.
>   

I don't know what has happened to break the Windows code. The ChangeLog 
does not appear to offer any clues.
 From what I can figure out, I think the default face is not being 
initialised properly. default_face->lface[LFACE_FAMILY_INDEX] is "*", 
likewise for other font related values, so any faces that inherit from 
the default face eventually end up calling font_open_entity with 
#<font-entity nil nil nil nil nil nil nil ...>.

Also (font-xlfd-name (font-at 1)) in *scratch* returns 
"-*-*-*-*-*-*-*-*-*-*-*-*-*-*", while (font-at 1) returns #<font-object 
"Courier New">

In trunk, these return "-outline-courier 
new-normal-normal-normal-mono-13-*-*-*-m-*-iso10646-1" and #<save_value 
ptr=0x01c66d00 int=4>
 respectively.

(Continue reading)

Jason Rumney | 5 May 00:00 2008
Picon

Re: font-backend branch

Kenichi Handa wrote:
> Yes.  As soon as Windows port code gets stable, I'll merge
> it to the trunk.
>   

I think it is ready to merge now.

Glenn Morris | 1 May 09:07 2008
Picon

Re: font-backend branch

Kenichi Handa wrote:

>> Of the problems I've reported, your branch fixes these two:
>
>> font-lock faces use different font with font-backend
>> http://lists.gnu.org/archive/html/emacs-devel/2008-03/msg00651.html

Whoops, I just noticed that faces with a bold attribute are still
using a slightly different font.

>> Also, I have a new issue now, in that Emacs starts with the right
>> font, but in the wrong size.
[...]
> I've just installed a fix.

Works for me. Thanks!

Kenichi Handa | 1 May 09:21 2008

Re: font-backend branch

In article <o7fxt2tscf.fsf <at> fencepost.gnu.org>, Glenn Morris <rgm <at> gnu.org> writes:
> Kenichi Handa wrote:
>>> Of the problems I've reported, your branch fixes these two:
> >
>>> font-lock faces use different font with font-backend
>>> http://lists.gnu.org/archive/html/emacs-devel/2008-03/msg00651.html

> Whoops, I just noticed that faces with a bold attribute are still
> using a slightly different font.

Please show the results of C-u C-x = on the character of
default face and on the questionable characters.

---
Kenichi Handa
handa <at> ni.aist.go.jp

Glenn Morris | 1 May 09:28 2008
Picon

Re: font-backend branch

Kenichi Handa wrote:

> Please show the results of C-u C-x = on the character of
> default face and on the questionable characters.

Default face:

        character: l (108, #o154, #x6c)
preferred charset: ascii (ASCII (ISO646 IRV))
       code point: 0x6C
           syntax: w    which means: word
         category: a:ASCII graphic characters 32-126 (ISO646
         IRV:1983[4/0])
               l:Latin r:Japanese roman
      buffer code: #x6C
        file code: not encodable by coding system iso-latin-1-unix
          display: by this font (glyph code)
     -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1 (#x6C)

Bold face:

        character: p (112, #o160, #x70)
preferred charset: ascii (ASCII (ISO646 IRV))
       code point: 0x70
           syntax: w    which means: word
         category: a:ASCII graphic characters 32-126 (ISO646
         IRV:1983[4/0])
               l:Latin r:Japanese roman
      buffer code: #x70
        file code: not encodable by coding system iso-latin-1-unix
(Continue reading)

Kenichi Handa | 1 May 17:20 2008

Re: font-backend branch

In article <29ve1y4h6i.fsf <at> fencepost.gnu.org>, Glenn Morris <rgm <at> gnu.org> writes:

> Default face:
[...]
>      -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1 (#x6C)

> Bold face:
[...]
>      -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1 (#x70)

Ah, I see.  You wrote that you have this font setting.

Emacs.font: -misc-fixed-medium-r-normal-*-14-*-100-100-*-*-iso8859-1

When I run the command
  % xlsfonts -fn -misc-fixed-*-*-*-*-14-*-100-100-*-iso8859-1
I got this result:
  -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1

So, Emacs preferred to use it for bold by making it
artificially bold (by overstriking).

But, actually that font is an alias of
  -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1.
and that font has this bold version:
  -misc-fixed-bold-r-normal--14-130-75-75-c-70-iso8859-1

Very complicated...

I've just installed a better but a little bit slower font
(Continue reading)

Glenn Morris | 1 May 19:52 2008
Picon

Re: font-backend branch

Kenichi Handa wrote:

> I've just installed a better but a little bit slower font selection
> code. Please try again. I'll think about the tuning for speed later.

Thank you - everything seems to work now. I have no more complaints! :)

Kenichi Handa | 2 May 02:22 2008

Re: font-backend branch

In article <ekiqxxnc7a.fsf <at> fencepost.gnu.org>, Glenn Morris <rgm <at> gnu.org> writes:

> Kenichi Handa wrote:
> > I've just installed a better but a little bit slower font selection
> > code. Please try again. I'll think about the tuning for speed later.

> Thank you - everything seems to work now. I have no more complaints! :)

That's good.  Thank you for the help for fixing bugs.

---
Kenichi Handa
handa <at> ni.aist.go.jp


Gmane