unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* font problems with the latest master in MacOS helvetia is used and not DejaVi Mono as in emacs28
@ 2022-04-09 15:21 Uwe Brauer
  2022-04-09 16:11 ` Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: Uwe Brauer @ 2022-04-09 15:21 UTC (permalink / raw)
  To: emacs-devel


Hi

Finally I solved my problem in MacO10.15 and successfully compiled and
installed the current  master version.

However I am facing now a font problem. My entry in my custom-init file
is 
 '(default ((t (:inherit nil :stipple nil :background "grey98"
 :foreground "black" :inverse-video nil :box nil :strike-through nil
 :overline nil :underline nil :slant normal :weight normal :height 160
 :width normal :foundry "PfEd" :family "DejaVu Sans Mono"))))

Now indeed in emacs28 C-u C-x = gives 
,----
|              position: 2303 of 64364 (4%), column: 23
|             character: C-j (displayed as C-j) (codepoint 10, #o12, #xa)
|               charset: ascii (ASCII (ISO646 IRV))
| code point in charset: 0x0A
|                script: latin
|                syntax: > 	which means: endcomment
|              to input: type "C-x 8 RET a" or "C-x 8 RET LINE FEED (LF)"
|           buffer code: #x0A
|             file code: #x0A (encoded by coding system utf-8-unix)
|               display: by this font (glyph code)
|     mac-ct:-*-DejaVu Sans Mono-normal-normal-normal-*-16-*-*-*-m-0-iso10646-1 (#x03)
| 
| Character code properties: customize what to show
|   old-name: LINE FEED (LF)
|   general-category: Cc (Other, Control)
`----

However when I start emacs29 helvetica is used which is a proportional
font, and looks terrible in most circumstances, especially in dired

Here is what C-u C-x = 
gives

,----
|              position: 54 of 1045 (5%), column: 53
|             character: C-j (displayed as C-j) (codepoint 10, #o12, #xa)
|               charset: ascii (ASCII (ISO646 IRV))
| code point in charset: 0x0A
|                script: latin
|                syntax:   	which means: whitespace
|              to input: type "C-x 8 RET a" or "C-x 8 RET LINE FEED (LF)"
|           buffer code: #x0A
|             file code: #x0A (encoded by coding system undecided-unix)
|               display: by this font (glyph code):
|     mac-ct:-*-Helvetica-medium-normal-normal-*-16-*-*-*-p-0-iso10646-1 (#x02)
| 
| Character code properties: customize what to show
|   old-name: LINE FEED (LF)
|   general-category: Cc (Other, Control)
| 
| 
`----

Who is the culprit here?
What shall I do?

Thanks

Uwe Brauer 




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

* Re: font problems with the latest master in MacOS helvetia is used and not DejaVi Mono as in emacs28
  2022-04-09 15:21 font problems with the latest master in MacOS helvetia is used and not DejaVi Mono as in emacs28 Uwe Brauer
@ 2022-04-09 16:11 ` Eli Zaretskii
  2022-04-09 16:25   ` Uwe Brauer
  0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2022-04-09 16:11 UTC (permalink / raw)
  To: Uwe Brauer; +Cc: emacs-devel

> From: Uwe Brauer <oub@mat.ucm.es>
> Date: Sat, 09 Apr 2022 17:21:32 +0200
> 
> However I am facing now a font problem. My entry in my custom-init file
> is 
>  '(default ((t (:inherit nil :stipple nil :background "grey98"
>  :foreground "black" :inverse-video nil :box nil :strike-through nil
>  :overline nil :underline nil :slant normal :weight normal :height 160
>  :width normal :foundry "PfEd" :family "DejaVu Sans Mono"))))
> 
> Now indeed in emacs28 C-u C-x = gives 
> ,----
> |              position: 2303 of 64364 (4%), column: 23
> |             character: C-j (displayed as C-j) (codepoint 10, #o12, #xa)
> |               charset: ascii (ASCII (ISO646 IRV))
> | code point in charset: 0x0A
> |                script: latin
> |                syntax: > 	which means: endcomment
> |              to input: type "C-x 8 RET a" or "C-x 8 RET LINE FEED (LF)"
> |           buffer code: #x0A
> |             file code: #x0A (encoded by coding system utf-8-unix)
> |               display: by this font (glyph code)
> |     mac-ct:-*-DejaVu Sans Mono-normal-normal-normal-*-16-*-*-*-m-0-iso10646-1 (#x03)
> | 
> | Character code properties: customize what to show
> |   old-name: LINE FEED (LF)
> |   general-category: Cc (Other, Control)
> `----
> 
> However when I start emacs29 helvetica is used which is a proportional
> font, and looks terrible in most circumstances, especially in dired
> 
> Here is what C-u C-x = 
> gives
> 
> ,----
> |              position: 54 of 1045 (5%), column: 53
> |             character: C-j (displayed as C-j) (codepoint 10, #o12, #xa)
> |               charset: ascii (ASCII (ISO646 IRV))
> | code point in charset: 0x0A
> |                script: latin
> |                syntax:   	which means: whitespace
> |              to input: type "C-x 8 RET a" or "C-x 8 RET LINE FEED (LF)"
> |           buffer code: #x0A
> |             file code: #x0A (encoded by coding system undecided-unix)
> |               display: by this font (glyph code):
> |     mac-ct:-*-Helvetica-medium-normal-normal-*-16-*-*-*-p-0-iso10646-1 (#x02)
> | 
> | Character code properties: customize what to show
> |   old-name: LINE FEED (LF)
> |   general-category: Cc (Other, Control)
> | 
> | 
> `----
> 
> Who is the culprit here?
> What shall I do?

What happens if you remove all the attributes except :family and
colors?



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

* Re: font problems with the latest master in MacOS helvetia is used and not DejaVi Mono as in emacs28
  2022-04-09 16:11 ` Eli Zaretskii
@ 2022-04-09 16:25   ` Uwe Brauer
  2022-04-09 17:02     ` Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: Uwe Brauer @ 2022-04-09 16:25 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Uwe Brauer, emacs-devel




   > What happens if you remove all the attributes except :family and
   > colors?

Do you  mean
(custom-set-faces
 '(default ((t (:inherit nil :stipple nil :background "grey98"
 :foreground "black" :inverse-video nil :box nil :strike-through nil
 :overline nil :underline nil :slant normal :weight normal :height 180
 :width normal :foundry "PfEd" :family "DejaVu Sans Mono")))))

To 

(custom-set-faces
 '(default ((t (:inherit nil :stipple nil :background "grey98"
 :family "DejaVu Sans Mono")))))

Does not help.

When I start customize-face
select default, I see helvetica, I change that to DejaVu Sans o DejaVu
Sans Mono
press apply and nothing happens, no visible change.

But in emacs28 it works perfectly.






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

* Re: font problems with the latest master in MacOS helvetia is used and not DejaVi Mono as in emacs28
  2022-04-09 16:25   ` Uwe Brauer
@ 2022-04-09 17:02     ` Eli Zaretskii
  2022-04-09 18:54       ` Uwe Brauer
  0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2022-04-09 17:02 UTC (permalink / raw)
  To: Uwe Brauer; +Cc: emacs-devel

> From: Uwe Brauer <oub@mat.ucm.es>
> Cc: Uwe Brauer <oub@mat.ucm.es>, emacs-devel@gnu.org
> Date: Sat, 09 Apr 2022 18:25:22 +0200
> 
>    > What happens if you remove all the attributes except :family and
>    > colors?
> 
> Do you  mean
> (custom-set-faces
>  '(default ((t (:inherit nil :stipple nil :background "grey98"
>  :foreground "black" :inverse-video nil :box nil :strike-through nil
>  :overline nil :underline nil :slant normal :weight normal :height 180
>  :width normal :foundry "PfEd" :family "DejaVu Sans Mono")))))
> 
> To 
> 
> (custom-set-faces
>  '(default ((t (:inherit nil :stipple nil :background "grey98"
>  :family "DejaVu Sans Mono")))))
> 
> Does not help.

What about starting Emacs as

  emacs -fn "DejaVu Sans Mono"

?



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

* Re: font problems with the latest master in MacOS helvetia is used and not DejaVi Mono as in emacs28
  2022-04-09 17:02     ` Eli Zaretskii
@ 2022-04-09 18:54       ` Uwe Brauer
  2022-04-09 19:04         ` Uwe Brauer
  2022-04-09 19:14         ` Eli Zaretskii
  0 siblings, 2 replies; 9+ messages in thread
From: Uwe Brauer @ 2022-04-09 18:54 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Uwe Brauer, emacs-devel




> What about starting Emacs as

>   emacs -fn "DejaVu Sans Mono"

> ?

Does not work neither.

emacs -fn "DejaVu Sans Mono" -q 

However does work. So something is odd here in 29, while it works in 28.



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

* Re: font problems with the latest master in MacOS helvetia is used and not DejaVi Mono as in emacs28
  2022-04-09 18:54       ` Uwe Brauer
@ 2022-04-09 19:04         ` Uwe Brauer
  2022-04-09 19:09           ` Uwe Brauer
  2022-04-09 19:14         ` Eli Zaretskii
  1 sibling, 1 reply; 9+ messages in thread
From: Uwe Brauer @ 2022-04-09 19:04 UTC (permalink / raw)
  To: emacs-devel


>>> "UB" == Uwe Brauer <oub@mat.ucm.es> writes:

>> What about starting Emacs as

>> emacs -fn "DejaVu Sans Mono"

>> ?

> Does not work neither.

> emacs -fn "DejaVu Sans Mono" -q 

> However does work. So something is odd here in 29, while it works in 28.

When I run 

 customize-faces
 default
 return 

I see, so Helvetica is set, but I cannot change this setting, I mean I can change the name to DejaVu Sans Mono but it has no effect. 

This looks like a bug of sorts to me.


For help using this buffer, see Easy Customization in the Emacs manual.

                                          Search 

Operate on all settings in this buffer:
 Revert...   Apply   Apply and Save 

Hide Default face: [sample]
    State : SET for current session only.
   Basic default face.
   [X] Font Family: Helvetica
   [X] Font Foundry: nil
   [X] Width: Value Menu normal
   [X] Height: Value Menu Height in 1/10 pt: 180
   [X] Weight: Value Menu medium
   [X] Slant: Value Menu normal
   [X] Underline: Value Menu Off
   [X] Overline: Value Menu Off
   [X] Strike-through: Value Menu Off
   [X] Box around text: Value Menu Off
   [X] Inverse-video: Value Menu Off
   [X] Foreground: black                                        Choose   (sample)
   [X] Background: grey98                                       Choose   (sample)
   [X] Stipple: Value Menu None
   [X] Extend: Value Menu Off
   [X] Inherit:
       INS
   Show All Attributes






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

* Re: font problems with the latest master in MacOS helvetia is used and not DejaVi Mono as in emacs28
  2022-04-09 19:04         ` Uwe Brauer
@ 2022-04-09 19:09           ` Uwe Brauer
  0 siblings, 0 replies; 9+ messages in thread
From: Uwe Brauer @ 2022-04-09 19:09 UTC (permalink / raw)
  To: emacs-devel


>>> "UB" == Uwe Brauer <oub@mat.ucm.es> writes:

>>> "UB" == Uwe Brauer <oub@mat.ucm.es> writes:

>>> What about starting Emacs as

>>> emacs -fn "DejaVu Sans Mono"

>>> ?

>> Does not work neither.

>> emacs -fn "DejaVu Sans Mono" -q 

>> However does work. So something is odd here in 29, while it works in 28.

> When I run 

>  customize-faces
>  default
>  return 

I also happens when I start emacs29 -q 
the default font is Helvetica and that cannot be changed neither via the customize-faces nor via the options-->set-default-font

I think I sent a bug report.
> I see, so Helvetica is set, but I cannot change this setting, I mean I can change the name to DejaVu Sans Mono but it has no effect. 

> This looks like a bug of sorts to me.


> For help using this buffer, see Easy Customization in the Emacs manual.

>                                           Search 

> Operate on all settings in this buffer:
>  Revert...   Apply   Apply and Save 

> Hide Default face: [sample]
>     State : SET for current session only.
>    Basic default face.
>    [X] Font Family: Helvetica
>    [X] Font Foundry: nil
>    [X] Width: Value Menu normal
>    [X] Height: Value Menu Height in 1/10 pt: 180
>    [X] Weight: Value Menu medium
>    [X] Slant: Value Menu normal
>    [X] Underline: Value Menu Off
>    [X] Overline: Value Menu Off
>    [X] Strike-through: Value Menu Off
>    [X] Box around text: Value Menu Off
>    [X] Inverse-video: Value Menu Off
>    [X] Foreground: black                                        Choose   (sample)
>    [X] Background: grey98                                       Choose   (sample)
>    [X] Stipple: Value Menu None
>    [X] Extend: Value Menu Off
>    [X] Inherit:
>        INS
>    Show All Attributes









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

* Re: font problems with the latest master in MacOS helvetia is used and not DejaVi Mono as in emacs28
  2022-04-09 18:54       ` Uwe Brauer
  2022-04-09 19:04         ` Uwe Brauer
@ 2022-04-09 19:14         ` Eli Zaretskii
  2022-04-09 19:25           ` Uwe Brauer
  1 sibling, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2022-04-09 19:14 UTC (permalink / raw)
  To: Uwe Brauer; +Cc: oub, emacs-devel

> From: Uwe Brauer <oub@mat.ucm.es>
> Cc: Uwe Brauer <oub@mat.ucm.es>, emacs-devel@gnu.org
> Date: Sat, 09 Apr 2022 20:54:36 +0200
> 
> >   emacs -fn "DejaVu Sans Mono"
> 
> > ?
> 
> Does not work neither.
> 
> emacs -fn "DejaVu Sans Mono" -q 
> 
> However does work.

This suggests that something in your customizations interferes.



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

* Re: font problems with the latest master in MacOS helvetia is used and not DejaVi Mono as in emacs28
  2022-04-09 19:14         ` Eli Zaretskii
@ 2022-04-09 19:25           ` Uwe Brauer
  0 siblings, 0 replies; 9+ messages in thread
From: Uwe Brauer @ 2022-04-09 19:25 UTC (permalink / raw)
  To: emacs-devel


>>> "EZ" == Eli Zaretskii <eliz@gnu.org> writes:

>> From: Uwe Brauer <oub@mat.ucm.es>
>> Cc: Uwe Brauer <oub@mat.ucm.es>, emacs-devel@gnu.org
>> Date: Sat, 09 Apr 2022 20:54:36 +0200
>> 
>> >   emacs -fn "DejaVu Sans Mono"
>> 
>> > ?
>> 
>> Does not work neither.
>> 
>> emacs -fn "DejaVu Sans Mono" -q 
>> 
>> However does work.

> This suggests that something in your customizations interferes.

But if start emacs -Q then Helvetica is already selected and cannot be changed!

That is master specific and does not happen with emacs28 or 27.

Could Lars change (from several weeks ago) concerning proportional fonts
have something to do with it?







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

end of thread, other threads:[~2022-04-09 19:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-09 15:21 font problems with the latest master in MacOS helvetia is used and not DejaVi Mono as in emacs28 Uwe Brauer
2022-04-09 16:11 ` Eli Zaretskii
2022-04-09 16:25   ` Uwe Brauer
2022-04-09 17:02     ` Eli Zaretskii
2022-04-09 18:54       ` Uwe Brauer
2022-04-09 19:04         ` Uwe Brauer
2022-04-09 19:09           ` Uwe Brauer
2022-04-09 19:14         ` Eli Zaretskii
2022-04-09 19:25           ` Uwe Brauer

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).