unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* after reinstalling Ubuntu, and compiling emacs 29.2, default hebrew font is different
@ 2024-07-21 15:07 Uwe Brauer via Emacs development discussions.
  2024-07-21 15:50 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Uwe Brauer via Emacs development discussions. @ 2024-07-21 15:07 UTC (permalink / raw)
  To: emacs-devel

Hi

After reinstalling my Ubuntu system (now 24.04) compiling emacs29.2
setting 

(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 160 :width normal :foundry "PfEd" :family "DejaVu Sans Mono")))))


And typing some Hebrew, 

Then, for example lamed is now displayed by 
Libertine Display O-regular-normal-normal-*-21-*-*-*-*-0-iso10646-1
(#x3E0)



             position: 17070 of 17393 (98%), column: 1
            character: ל‎ (displayed as ל‎) (codepoint 1500, #o2734, #x5dc)
              charset: unicode (Unicode (ISO10646))
code point in charset: 0x05DC
               script: hebrew
               syntax: w 	which means: word
             category: .:Base, R:Strong R2L
             to input: type "C-x 8 RET 5dc" or "C-x 8 RET HEBREW LETTER LAMED"
          buffer code: #xD7 #x9C
            file code: #xD7 #x9C (encoded by coding system utf-8-unix)
              display: by this font (glyph code):
    ftcrhb:-PfEd-Linux Libertine Display O-regular-normal-normal-*-21-*-*-*-*-0-iso10646-1 (#x3E0)

Character code properties: customize what to show
  name: HEBREW LETTER LAMED
  general-category: Lo (Letter, Other)
  decomposition: (1500) ('ל')



I'd prefer some Arial font that supports hebrew, and that I have already
installed in ttf format.

How can I achieve that.

Thanks 

Uwe Brauer 




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

* Re: after reinstalling Ubuntu, and compiling emacs 29.2, default hebrew font is different
  2024-07-21 15:07 after reinstalling Ubuntu, and compiling emacs 29.2, default hebrew font is different Uwe Brauer via Emacs development discussions.
@ 2024-07-21 15:50 ` Eli Zaretskii
       [not found]   ` <87y15uenvg.fsf@mat.ucm.es>
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2024-07-21 15:50 UTC (permalink / raw)
  To: Uwe Brauer; +Cc: emacs-devel

> Date: Sun, 21 Jul 2024 17:07:59 +0200
> From:  Uwe Brauer via "Emacs development discussions." <emacs-devel@gnu.org>
> 
> And typing some Hebrew, 
> 
> Then, for example lamed is now displayed by 
> Libertine Display O-regular-normal-normal-*-21-*-*-*-*-0-iso10646-1
> (#x3E0)
> 
> 
> 
>              position: 17070 of 17393 (98%), column: 1
>             character: ל‎ (displayed as ל‎) (codepoint 1500, #o2734, #x5dc)
>               charset: unicode (Unicode (ISO10646))
> code point in charset: 0x05DC
>                script: hebrew
>                syntax: w 	which means: word
>              category: .:Base, R:Strong R2L
>              to input: type "C-x 8 RET 5dc" or "C-x 8 RET HEBREW LETTER LAMED"
>           buffer code: #xD7 #x9C
>             file code: #xD7 #x9C (encoded by coding system utf-8-unix)
>               display: by this font (glyph code):
>     ftcrhb:-PfEd-Linux Libertine Display O-regular-normal-normal-*-21-*-*-*-*-0-iso10646-1 (#x3E0)
> 
> Character code properties: customize what to show
>   name: HEBREW LETTER LAMED
>   general-category: Lo (Letter, Other)
>   decomposition: (1500) ('ל')
> 
> 
> 
> I'd prefer some Arial font that supports hebrew, and that I have already
> installed in ttf format.
> 
> How can I achieve that.

Customize your fontset by using set-fontset-font.

P.S. This is a question for help-gnu-emacs, not for this list.



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

* Re: after reinstalling Ubuntu, and compiling emacs 29.2, default hebrew font is different
       [not found]   ` <87y15uenvg.fsf@mat.ucm.es>
@ 2024-07-21 16:04     ` Eli Zaretskii
  2024-07-21 16:30       ` [serious bug] (was: after reinstalling Ubuntu, and compiling emacs 29.2, default hebrew font is different) Uwe Brauer
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2024-07-21 16:04 UTC (permalink / raw)
  To: Uwe Brauer; +Cc: emacs-devel

[Now it's personal email? why?]

> From: Uwe Brauer <oub@mat.ucm.es>
> Cc: Uwe Brauer <oub@mat.ucm.es>
> Date: Sun, 21 Jul 2024 18:00:35 +0200
> 
> > Customize your fontset by using set-fontset-font.
> 
> But I did this already, I took my setting from my previous installation.
> 
> (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 160 :width normal :foundry "PfEd" :family "DejaVu Sans Mono")))))

No, you didn't.  The above defines the default face's font, not the
font for Hebrew.  I said to use set-fontset-font for a reason.



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

* [serious bug] (was: after reinstalling Ubuntu, and compiling emacs 29.2, default hebrew font is different)
  2024-07-21 16:04     ` Eli Zaretskii
@ 2024-07-21 16:30       ` Uwe Brauer
  2024-07-21 16:35         ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Uwe Brauer @ 2024-07-21 16:30 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Uwe Brauer, emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1403 bytes --]

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

> [Now it's personal email? why?]

Because you didn't want it on the devel list.


>> But I did this already, I took my setting from my previous installation.
>> 
>> (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
>> 160 :width normal :foundry "PfEd" :family "DejaVu Sans Mono")))))

> No, you didn't.  The above defines the default face's font, not the
> font for Hebrew.  I said to use set-fontset-font for a reason.


Ok, I started now emacs -Q


Then the hebrew font is indeed closer to ariel and therefore ok.

However when I press in the menu:
options-->set-default-font-->more-fonts-->select family


Then not only Emacs freezes but my whole Laptop and I have to reboot.

I am on Ubuntu 24, and I tried out various windows manager, gnome,
trinity (a kde 3 fork) always the same result.

I am not sure who is the culprit.

And how to send a bug report.

Any comments, or advice?



-- 
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the EU and NATO membership of Ukraine. 


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5684 bytes --]

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

* Re: [serious bug] (was: after reinstalling Ubuntu, and compiling emacs 29.2, default hebrew font is different)
  2024-07-21 16:30       ` [serious bug] (was: after reinstalling Ubuntu, and compiling emacs 29.2, default hebrew font is different) Uwe Brauer
@ 2024-07-21 16:35         ` Eli Zaretskii
  0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2024-07-21 16:35 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: Sun, 21 Jul 2024 18:30:51 +0200
> 
> However when I press in the menu:
> options-->set-default-font-->more-fonts-->select family
> 
> 
> Then not only Emacs freezes but my whole Laptop and I have to reboot.

"Freezes" for how long?  AFAIR, what you did scans all the fonts on
the system, so if you have a lot of them installed, it can take a
long time.

In any case, it's a different issue.

> I am on Ubuntu 24, and I tried out various windows manager, gnome,
> trinity (a kde 3 fork) always the same result.
> 
> I am not sure who is the culprit.
> 
> And how to send a bug report.
> 
> Any comments, or advice?

I'd first submit a bug report to Ubuntu and see what they say.



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

end of thread, other threads:[~2024-07-21 16:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-21 15:07 after reinstalling Ubuntu, and compiling emacs 29.2, default hebrew font is different Uwe Brauer via Emacs development discussions.
2024-07-21 15:50 ` Eli Zaretskii
     [not found]   ` <87y15uenvg.fsf@mat.ucm.es>
2024-07-21 16:04     ` Eli Zaretskii
2024-07-21 16:30       ` [serious bug] (was: after reinstalling Ubuntu, and compiling emacs 29.2, default hebrew font is different) Uwe Brauer
2024-07-21 16:35         ` Eli Zaretskii

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