Bug 2068726

Summary: Culmus Hebrew fonts aren't usable by TeXLive after installation
Product: [Fedora] Fedora Reporter: nik <nikita>
Component: tex-fonts-hebrewAssignee: Dan Kenigsberg <danken>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: danken, i18n-bugs, matan, petersen, pnemade, psatpute, vishalvijayraghavan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description nik 2022-03-26 09:58:38 UTC
Description of problem:
On a clean Fedora 35 after installing texlive, babel-hebrew, and tex-fonts-hebrew, I can't use pdflatex to render a Hebrew document.

Version-Release number of selected component (if applicable):
texlive               9:2021-48.fc35
texlive-babel-hebrew  9:svn30273.2.3h-48.fc35
tex-fonts-hebrew      0.1-35.fc35

How reproducible:
Always

Steps to Reproduce:
1. Start a new Fedora 35 container: podman run -it fedora:35
2. dnf install texlive texlive-babel-hebrew tex-fonts-hebrew
3. Try to render hello.tex document listed below (this is a basic
   Hebrew document) using pdflatex (pdflatex hello.tex).

\documentclass{article}
\usepackage[utf8x]{inputenc}
\usepackage[english,hebrew]{babel}
\begin{document}
שלום!
\end{document}

Actual results:
Blank PDF

Expected results:
PDF with Hebrew text

Additional info:
On Fedora 33 this document caused an error, on Fedora 35 something changed and the error no longer appears, but the result is a bad document.

Comment 1 Matan Ziv-Av 2022-07-12 18:58:10 UTC
Culmus fonts were moved from /usr/share/fonts/culmus/ to a single directory for each font family, such as /usr/share/fonts/clm-aharoni-fonts/.

The spec file for tex-fonts-hebrew package was not updated accordingly, so it fails to create the tex font file, resulting in empty font files, and thus blank hebrew letters.

As a workaround, use tex-fonts-hebrew from Fedora 34 or older, which you can download from here:
https://kojipkgs.fedoraproject.org//packages/tex-fonts-hebrew/0.1/34.fc34/noarch/tex-fonts-hebrew-0.1-34.fc34.noarch.rpm