Page MenuHomePhabricator

change the default Hebrew font
Closed, ResolvedPublic

Assigned To
Authored By
Aug 18 2011, 10:51 AM
Referenced Files
F8306: hebrew.jpg
Nov 21 2014, 11:57 PM
F8304: test_taamy_frank.pdf
Nov 21 2014, 11:57 PM
F8305: test_freefont.pdf
Nov 21 2014, 11:57 PM


The PDF export started working in right-to-left languages recently, which is very good, and the extension was enabled on the Hebrew Wikipedia. However, the default font for Hebrew seems to be Ezra, which is a very old-fashioned font.

Please change the default font for Hebrew to Taamey Frank CLM. It is a freely-licensed font, that can be downloaded here:

Thank you.

Version: unspecified
Severity: normal
See Also:



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:57 PM
bzimport added projects: Collection, I18n.
bzimport set Reference to bz30437.
bzimport added a subscriber: Unknown Object (MLST).

volker.haas wrote:

Unfortunately the diacritics(?) are misplaced when using the Taamy Frank font. Currently we are using Freefont where this is not an issue. See the two test PDFs I attached

Do you have another suggestion for a better font than what is currently used?

Hmm :/

Thanks for the quick response.

This is quite strange, because Taamey Frank was designed to support diacritics well. This may be a problem in the rendering library.

Can you please try this with SBL Hebrew ( )? It's not freely-licensed and its style is also quite old, but everyone agrees that its diacritics support is superb. If it doesn't work with SBL Hebrew, than it's definitely a problem in the rendering library.

volker.haas wrote:

The result with SBL Hebrew is the same as with Taamey Frank (broken). Your assumption that it's the rendering engines fault is probably correct. But: fixing the rendering engine is very hard. Therefore I vote for using a font which works with the "broken" rendering engine.

You're welcome to make more font suggestions, I'll render sample and upload the results if they look promising.

Oh well.

It's a rather curious bug. Can you please send me the font file that you are using now? I can ask the developer of Taamey Frank to compare them.

volker.haas wrote:

Currently GNU FreeFont is used. On debian/ubuntu it's the package 'ttf-freefont'. Alternatively you can download them here:

We are currently using

Some investigation reveals the source of the hebrew glyphs:


volker.haas wrote:

In another ticket [1] I was made aware of the discussion about a bug in mozilla firefox which might be related [2]. But I am just guessing here.

But you should also keep in mind that the rendering engine we are using was never designed to work with complex scripts...therefore the bug might be quite random


Original description suggested the Taamey Frank CLM font. I made it more generic.

Volker, can you please send me the rendering of the following web page on the same computer on which you created the PDF files? Please indicate the browser version and the operating system version. Thank you.

volker.haas wrote:

Amir, I believe you forgot to include the URL in your previous comment.

Here it is:

Taamey David CLM and Taamey Frank CLM are both OK.

volker.haas wrote:

Unfortunately I can't access the computer that was used for the inital PDF renderings. But the machine at my disposal now, should have a pretty identical configuration regarding fonts.

The screenshot I'll attach was done with Firefox 9.0.1 on Xubuntu 11.10

volker.haas wrote:

Screenshot of Browser displaying hebrew text


hebrew.jpg (919×810 px, 140 KB)

Hmm, the browser screenshot is fine, but the PDF is broken.

Can you maybe switch the font rendering to something like Harfbuzz? It should render it well.

volker.haas wrote:

I can't switch the rendering engine. We are using a python framework that uses it's own rendering engine. Switching the rendering engine means rewriting all the software involved with PDF rendering. Also there are downsides to alternative rendering engines - we would trade some current shortcomings with some other problems.

For the problem with the misplaced diacritics for the Taamy Frank font: this can be worked around if the font file is manually tweaked. I know this is somewhat silly, but currently the only solution I see to the problem. This workaround has been done for an arabic font where the exact same problem occured. Unfortunately I am not able to find the ticket right now.

(In reply to Amir E. Aharoni from comment #0)

The PDF export started working in right-to-left languages recently, which is
very good, and the extension was enabled on the Hebrew Wikipedia. However,
the default font for Hebrew seems to be Ezra, which is a very old-fashioned

(In reply to Volker Haas from comment #1)

What font is used now?

A better one, probably one of the Culmus Frank fonts. Essentially fixed. Thanks for the ping.