https://bugzilla.redhat.com/show_bug.cgi?id=1889049
Bug ID: 1889049 Summary: blender-fonts installs droidsans.ttf as DejaVu Sans Product: Fedora Version: 32 Status: NEW Component: blender Assignee: luya_tfz@thefinalzone.net Reporter: lantw44@gmail.com QA Contact: extras-qa@fedoraproject.org CC: design-devel@lists.fedoraproject.org, kwizart@gmail.com, luya_tfz@thefinalzone.net, negativo17@gmail.com, promac@gmail.com Target Milestone: --- Classification: Fedora
Description of problem: blender-fonts installs /usr/share/fonts/blender/droidsans.ttf as DejaVu Sans, causing fontconfig to choose it instead of /usr/share/fonts/dejavu-sans-fonts/DejaVuSans.ttf when an application requests DejaVu Sans. This is unlikely an expected behavior. blender-fonts should not steal the font name of the other package.
Version-Release number of selected component (if applicable): blender-fonts-2.83.5-5.fc32.noarch
How reproducible: Always
Steps to Reproduce: 1. Run fc-match 'DejaVu Sans'
Actual results: droidsans.ttf: "DejaVu Sans" "Regular"
Expected results: DejaVuSans.ttf: "DejaVu Sans" "Regular"
Additional info: droidsans.ttf seems to contain a lot of glyphs copied from Droid Sans Fallback. I don't like CJK glyphs of Droid Sans, so I have the following lines in /etc/fonts/local.conf to prevent fontconfig from choosing it:
<selectfont> <rejectfont> <glob>/usr/share/fonts/google-droid-sans-fonts/DroidSansJapanese*</glob> <glob>/usr/share/fonts/google-droid-sans-fonts/DroidSansFallback*</glob> </rejectfont> </selectfont>
droidsans.ttf surprised me by displaying https://discourse.gnome.org/ with Droid Sans Fallback glyphs even if Firefox told me it was using DejaVu Sans. It took me about an hour to realize it was blender-fonts that caused the problem.
https://bugzilla.redhat.com/show_bug.cgi?id=1889049
Luya Tshimbalanga luya@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED CC| |luya@fedoraproject.org Resolution|--- |NOTABUG Doc Type|--- |If docs needed, set a value Last Closed| |2020-10-17 18:22:00
--- Comment #1 from Luya Tshimbalanga luya@fedoraproject.org --- /usr/share/fonts/blender/droidsans.ttf is specifically customized by upstream for their Blender interface. See https://github.com/dfelinto/blender/blob/master/release/datafiles/LICENSE-dr... and https://github.com/blender/blender/tree/master/release/datafiles/fonts
https://bugzilla.redhat.com/show_bug.cgi?id=1889049
Ting-Wei Lan lantw44@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |NEW Resolution|NOTABUG |--- Keywords| |Reopened
--- Comment #2 from Ting-Wei Lan lantw44@gmail.com --- (In reply to Luya Tshimbalanga from comment #1)
/usr/share/fonts/blender/droidsans.ttf is specifically customized by upstream for their Blender interface. See https://github.com/dfelinto/blender/blob/master/release/datafiles/LICENSE- droidsans.ttf.txt and https://github.com/blender/blender/tree/master/release/datafiles/fonts
Shouldn't it use a different name such as 'Blender DejaVu Sans' or 'Blender Main I18n', so it doesn't replace the font installed by other packages? The other file in the same directory, bmonofont-i18n.ttf, is called 'Blender Mono I18n', not 'DejaVu Sans Mono'.
https://bugzilla.redhat.com/show_bug.cgi?id=1889049
--- Comment #3 from Luya Tshimbalanga luya@fedoraproject.org --- (In reply to Ting-Wei Lan from comment #2)
(In reply to Luya Tshimbalanga from comment #1)
/usr/share/fonts/blender/droidsans.ttf is specifically customized by upstream for their Blender interface. See https://github.com/dfelinto/blender/blob/master/release/datafiles/LICENSE- droidsans.ttf.txt and https://github.com/blender/blender/tree/master/release/datafiles/fonts
Shouldn't it use a different name such as 'Blender DejaVu Sans' or 'Blender Main I18n', so it doesn't replace the font installed by other packages? The other file in the same directory, bmonofont-i18n.ttf, is called 'Blender Mono I18n', not 'DejaVu Sans Mono'.
Unfortunately, the issue cannot get fixed here as that font file is used for 3D context. You will need to ask usptream Blender to resolve it. https://wiki.blender.org/wiki/Process/Bug_Reports
https://bugzilla.redhat.com/show_bug.cgi?id=1889049
Luya Tshimbalanga luya_tfz@thefinalzone.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |UPSTREAM Last Closed|2020-10-17 18:22:00 |2020-11-23 01:10:51
--- Comment #4 from Luya Tshimbalanga luya_tfz@thefinalzone.net --- Closing this report because it is an upstream issue.
https://bugzilla.redhat.com/show_bug.cgi?id=1889049
Neil Roberts bpeeluk@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bpeeluk@yahoo.co.uk
--- Comment #5 from Neil Roberts bpeeluk@yahoo.co.uk --- *** Bug 1911255 has been marked as a duplicate of this bug. ***
https://bugzilla.redhat.com/show_bug.cgi?id=1889049
--- Comment #6 from Neil Roberts bpeeluk@yahoo.co.uk --- I think this really is a problem with the Fedora package rather than the upstream source. The upstream source of Blender installs the font in a “datafiles” directory that is internal to Blender and won’t get picked up by fontconfig. Blender accesses the font directly by the filename so it doesn’t matter what the name is in the ttf file and it doesn’t need to use fontconfig.
For some reason the Fedora package patches the source to move the font to /usr/share/fonts where it interferes with the system fonts. I don’t think there is a good reason to install it there because it is meant as an internal font and shouldn’t be used elsewhere via fontconfig.
Could we just remove this patch from the Fedora package?
https://src.fedoraproject.org/rpms/blender/blob/master/f/blender-2.90-droid....
https://bugzilla.redhat.com/show_bug.cgi?id=1889049
--- Comment #7 from Neil Roberts bpeeluk@yahoo.co.uk --- Is there any chance we could reopen this bug considering the above comment?
https://bugzilla.redhat.com/show_bug.cgi?id=1889049
Ting-Wei Lan lantw44@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |NEW Resolution|UPSTREAM |---
https://bugzilla.redhat.com/show_bug.cgi?id=1889049
--- Comment #8 from Nicolas Chauvet (kwizart) kwizart@gmail.com --- (In reply to Neil Roberts from comment #6) ..
Could we just remove this patch from the Fedora package? https://src.fedoraproject.org/rpms/blender/blob/master/f/blender-2.90-droid.
Given the bad effects from the move of the blender font as a system fonts, I would agree with the above. There is a need to revert the patch "and" to merge back the blender-fonts package into the blender, thanks for pointing that issue.
Any blender maintainers disagree ?
https://bugzilla.redhat.com/show_bug.cgi?id=1889049
Luya Tshimbalanga luya_tfz@thefinalzone.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(negativo17@gmail. | |com)
--- Comment #9 from Luya Tshimbalanga luya_tfz@thefinalzone.net --- @negativo17@gmail.com
Is it okay?
https://bugzilla.redhat.com/show_bug.cgi?id=1889049
Simone Caronni negativo17@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(negativo17@gmail. | |com) |
--- Comment #10 from Simone Caronni negativo17@gmail.com --- Fine!
https://bugzilla.redhat.com/show_bug.cgi?id=1889049
Mamoru TASAKA mtasaka@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends On| |1917244
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1917244 [Bug 1917244] F34FailsToInstall: blender
https://bugzilla.redhat.com/show_bug.cgi?id=1889049 Bug 1889049 depends on bug 1917244, which changed state.
Bug 1917244 Summary: F34FailsToInstall: blender https://bugzilla.redhat.com/show_bug.cgi?id=1917244
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |RAWHIDE
https://bugzilla.redhat.com/show_bug.cgi?id=1889049
Luya Tshimbalanga luya_tfz@thefinalzone.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |ERRATA Last Closed|2020-11-23 01:10:51 |2021-02-09 08:55:33
--- Comment #11 from Luya Tshimbalanga luya_tfz@thefinalzone.net --- As agreed, blender-fonts is dropped. Closing this report.
design-devel@lists.fedoraproject.org