Change font per-script?

The default Hebrew language font is very illegible (especially with diacritics), so I’d like to change it to something else. However – in Tweaks and refine – I cannot change the font exclusively for Hebrew, as you cannot choose the font per-script.

From what I found online it seems that you can do this by editing the font config files, but I couldn’t understand what specific files I would need to change and how. If someone knows of a terminal command – or, ideally – a graphical way to do this, please let me know, it would be very appreciated.

Edit: Forgot to mention, but I’m using Fedora Linux 44 (Workstation Edition).

@yaron Something for you I think?

I think you could copy /etc/fonts/conf.d/65-0-google-noto-sans-hebrew-vf.conf to /etc/fonts/conf.d/99-hebrew-custom-font.conf and then change <string>Noto Sans Hebrew</string> lines to whatever font you want to use for Hebrew. Same with /etc/fonts/conf.d/66-google-noto-serif-hebrew-vf.conf. This requires a session restart to apply everywhere.

Which font did you think of?

Can you add screenshots of the current situation and your proposal?

Alef 13 as the interface, 14 as the document font, and Cascadia Code 11 as the Monospace font.

Although I don’t exactly understand what you mean by “screenshots of the current situation and your proposal”.

Take a screenshot of the current situation so we can understand what does illegible means, is it too small? Niqqud is misplaced?

And possibly an example of the situation you would like to experience so we’ll know what to adjust and how.

Sorry for the late reply. It’s pretty much impossible for me to tell apart niqqud without zooming in or putting my face right up against the monitor. The pairs patah & tsere, segol & qamats, and shwa & hiriq are especially difficult to tell apart.

(This screenshot was taken at 100% scaling with Text Editor’s default scale on 1080p monitor.)

I can absolutely see what you’re saying, we have several ways to overcome this issue.

  1. Try and affect the default font in order to find something more suitable.
  2. I think this font is by Maxim Iorsh who founded the Culmus project (I’m not certain), if you can send me the font name I’ll check, we can send him a bug report about this with your screenshot.

Thanks for bringing that up, which font did you find more suitable for this use case?

I’m pretty sure the font is DejaVu Sans.