all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* GTK font selector
@ 2008-06-10 21:30 Chong Yidong
  2008-06-11  4:53 ` İsmail Dönmez
  0 siblings, 1 reply; 5+ messages in thread
From: Chong Yidong @ 2008-06-10 21:30 UTC (permalink / raw)
  To: emacs-devel

I've installed a couple of font-related changes to CVS.  The font parser
will now attempt to understand GTK-style font names.  It tries to guess
whether a font name is in the GTK format ("Monospace Bold 9") or the
Fontconfig format ("Monospace-9:bold").

I *think* it shouldn't be possible to confuse the parser for any
real-world font names, but it would be good if people could test this.

Also, now that Emacs can understand GTK font names, I've changed the
Options->Save Options menu entry so that, when running under GTK with
fontconfig support, it pops up a GTK font selector instead of Emacs'
usual font menu.  The selected font is applied to the `default' face on
all frames, via Customize.

Please let me know if there are any problems.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GTK font selector
  2008-06-10 21:30 GTK font selector Chong Yidong
@ 2008-06-11  4:53 ` İsmail Dönmez
  2008-06-11  4:55   ` İsmail Dönmez
  2008-06-11  6:00   ` Chong Yidong
  0 siblings, 2 replies; 5+ messages in thread
From: İsmail Dönmez @ 2008-06-11  4:53 UTC (permalink / raw)
  To: Chong Yidong; +Cc: emacs-devel

Hi,

On Wed, Jun 11, 2008 at 12:30 AM, Chong Yidong <cyd@stupidchicken.com> wrote:
> I've installed a couple of font-related changes to CVS.  The font parser
> will now attempt to understand GTK-style font names.  It tries to guess
> whether a font name is in the GTK format ("Monospace Bold 9") or the
> Fontconfig format ("Monospace-9:bold").
>
> I *think* it shouldn't be possible to confuse the parser for any
> real-world font names, but it would be good if people could test this.
>
> Also, now that Emacs can understand GTK font names, I've changed the
> Options->Save Options menu entry so that, when running under GTK with
> fontconfig support, it pops up a GTK font selector instead of Emacs'
> usual font menu.  The selected font is applied to the `default' face on
> all frames, via Customize.
>
> Please let me know if there are any problems.

I am now getting the following error :

error: Font `Droid Sans Mono-11.3' is not defined

This used to work fine until today so I guess its your commit that broke it.

Regards,
ismail


-- 
Never learn by your mistakes, if you do you may never dare to try again.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GTK font selector
  2008-06-11  4:53 ` İsmail Dönmez
@ 2008-06-11  4:55   ` İsmail Dönmez
  2008-06-11  6:00   ` Chong Yidong
  1 sibling, 0 replies; 5+ messages in thread
From: İsmail Dönmez @ 2008-06-11  4:55 UTC (permalink / raw)
  To: Chong Yidong; +Cc: emacs-devel

Hi again,

On Wed, Jun 11, 2008 at 7:53 AM, İsmail Dönmez <ismail@namtrac.org> wrote:
> Hi,
>
> On Wed, Jun 11, 2008 at 12:30 AM, Chong Yidong <cyd@stupidchicken.com> wrote:
>> I've installed a couple of font-related changes to CVS.  The font parser
>> will now attempt to understand GTK-style font names.  It tries to guess
>> whether a font name is in the GTK format ("Monospace Bold 9") or the
>> Fontconfig format ("Monospace-9:bold").
>>
>> I *think* it shouldn't be possible to confuse the parser for any
>> real-world font names, but it would be good if people could test this.
>>
>> Also, now that Emacs can understand GTK font names, I've changed the
>> Options->Save Options menu entry so that, when running under GTK with
>> fontconfig support, it pops up a GTK font selector instead of Emacs'
>> usual font menu.  The selected font is applied to the `default' face on
>> all frames, via Customize.
>>
>> Please let me know if there are any problems.
>
> I am now getting the following error :
>
> error: Font `Droid Sans Mono-11.3' is not defined
>
> This used to work fine until today so I guess its your commit that broke it.

Looks like it doesn't like the .3 part, Droid Sans Mono-11 works fine
but definitely smaller than 11.3.

Regards,
ismail

-- 
Never learn by your mistakes, if you do you may never dare to try again.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GTK font selector
  2008-06-11  4:53 ` İsmail Dönmez
  2008-06-11  4:55   ` İsmail Dönmez
@ 2008-06-11  6:00   ` Chong Yidong
  2008-06-11  6:18     ` İsmail Dönmez
  1 sibling, 1 reply; 5+ messages in thread
From: Chong Yidong @ 2008-06-11  6:00 UTC (permalink / raw)
  To: İsmail Dönmez; +Cc: emacs-devel

"İsmail Dönmez" <ismail@namtrac.org> writes:

> I am now getting the following error :
>
> error: Font `Droid Sans Mono-11.3' is not defined
>
> This used to work fine until today so I guess its your commit that broke it.

Should be fixed now, thanks.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GTK font selector
  2008-06-11  6:00   ` Chong Yidong
@ 2008-06-11  6:18     ` İsmail Dönmez
  0 siblings, 0 replies; 5+ messages in thread
From: İsmail Dönmez @ 2008-06-11  6:18 UTC (permalink / raw)
  To: Chong Yidong; +Cc: emacs-devel

Hi,

On Wed, Jun 11, 2008 at 9:00 AM, Chong Yidong <cyd@stupidchicken.com> wrote:
> "İsmail Dönmez" <ismail@namtrac.org> writes:
>
>> I am now getting the following error :
>>
>> error: Font `Droid Sans Mono-11.3' is not defined
>>
>> This used to work fine until today so I guess its your commit that broke it.
>
> Should be fixed now, thanks.

Thanks confirmed.

-- 
Never learn by your mistakes, if you do you may never dare to try again.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-06-11  6:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-10 21:30 GTK font selector Chong Yidong
2008-06-11  4:53 ` İsmail Dönmez
2008-06-11  4:55   ` İsmail Dönmez
2008-06-11  6:00   ` Chong Yidong
2008-06-11  6:18     ` İsmail Dönmez

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.