Bug 1919932 - Culmus Hebrew fonts aren't usable by TeXLive after installation
Summary: Culmus Hebrew fonts aren't usable by TeXLive after installation
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: culmus-fonts
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Parag Nemade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-25 12:11 UTC by nik
Modified: 2021-11-30 16:08 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-30 16:08:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Basic Hebrew document (180 bytes, text/x-tex)
2021-01-25 12:11 UTC, nik
no flags Details
first.log (7.86 KB, text/plain)
2021-01-25 12:12 UTC, nik
no flags Details
second.log (2.01 KB, text/plain)
2021-01-25 12:13 UTC, nik
no flags Details

Description nik 2021-01-25 12:11:55 UTC
Created attachment 1750496 [details]
Basic Hebrew document

Description of problem:

On a clean Fedora 33 after installing texlive, babel-hebrew, and tex-fonts-hebrew, I
can't use pdflatex to render a Hebrew document. Detailed steps to reproduce and
a possible fix are provided below.


Version-Release number of selected component (if applicable):
texlive                9:2020-34.fc33         
texlive-babel-hebrew   9:svn30273.2.3h-34.fc33
tex-fonts-hebrew       0.1-33.fc33            

How reproducible: Always

Steps to Reproduce:

1. Start a new Fedora 33 container: podman run -it fedora:33
2. dnf install texlive texlive-babel-hebrew tex-fonts-hebrew
3. Try to render hello.tex document attached to this bug report (this is a basic
   Hebrew document).

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

Actual results:
We get the following error message:

!pdfTeX error: pdflatex (file rdavid): Font rdavid at 600 not found
 ==> Fatal error occurred, no output PDF file produced!
 
Full log is at first.log.

Expected results:
Document is rendered :)

Additional info:
We need two steps to resolve the problem here. I'm not sure if these steps are
the idiomatic way to fix the issue, but it worked for me...

The first issue that that culmus.map is not included in the pdflatex.map, even
though culmus.map is enabled in /etc/texlive/web2c/updmap.cfg. I was able to
solve it with
- updmap-sys --syncwithtrees
- updmap-sys
to recreate the map file. It would be nice the Culmus will do this by default as
part of the installation. (Another temporary per-document solution is to add
\pdfmapfile{culmus.map} to the Hebrew document.)

Now if we re-run pdflatex we get a new error:

!pdfTeX error: pdflatex (file DavidCLM-Medium.pfa): cannot open Type 1 font file for reading
 ==> Fatal error occurred, no output PDF file produced!

The full log is in second.log.

There are multiple ways around this problem:

1. Note that /usr/share/texmf/fonts/type1/public/ has a broken symlink to
   culmus. Even if we fix the symlink to point to /usr/share/fonts/culmus/, it
   doesn't work because pdflatex doesn't seem to follow directory symlinks. But
   if we actually create a directory and symlink fonts individually, it will
   work, like this:

mkdir /usr/share/texmf/fonts/type1/public/culmus2
for i in /usr/share/fonts/culmus/*; do ln $i /usr/share/texmf/fonts/type1/public/culmus2/${i##*/}; done

2. A more "general" fix is to edit /etc/texlive/web2c/texmf.cnf instead and set
   OSFONTDIR to /usr/share/fonts/, but it seems like this change extends beyond
   Culmus so I'm not sure how practical is it to edit OSFONTDIR as part of
   installation.

After building the map file and teaching latex to find Type1 Culmus fonts the
Hebrew document can compile successfully.

I hope that it will be possible to adjust the Culmus package so that Hebrew
latex works out of the box.

Thanks! I'm available for questions and clarifications.

Comment 1 nik 2021-01-25 12:12:41 UTC
Created attachment 1750497 [details]
first.log

Comment 2 nik 2021-01-25 12:13:12 UTC
Created attachment 1750498 [details]
second.log

Comment 3 Fedora Admin user for bugzilla script actions 2021-06-14 12:05:47 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 4 Ben Cotton 2021-11-04 13:55:36 UTC
This message is a reminder that Fedora 33 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '33'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 33 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 5 Ben Cotton 2021-11-04 14:25:01 UTC
This message is a reminder that Fedora 33 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '33'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 33 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 6 Ben Cotton 2021-11-04 15:22:41 UTC
This message is a reminder that Fedora 33 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '33'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 33 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 7 Parag Nemade 2021-11-29 05:47:35 UTC
Please note culmus-fonts have dropped bitmpa-fonts now and only opentype fonts are packages.
Do check this bug against F35 and report fresh bug if exists

Comment 8 Ben Cotton 2021-11-30 16:08:16 UTC
Fedora 33 changed to end-of-life (EOL) status on 2021-11-30. Fedora 33 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.