Bug 977764

Summary: missing gnu-free fonts cause warnings when anaconda is run
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: LiveCDAssignee: Matthias Clasen <mclasen>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: awilliam, jreznik, kevin, mfabian, petersen, pnemade, psatpute, robatino, tagoh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: AcceptedFreezeException
Fixed In Version: spin-kickstarts-0.19.8-1.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-28 07:16:17 UTC 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:
Bug Depends On:    
Bug Blocks: 834090, 834091    
Attachments:
Description Flags
missing fonts dialog
none
malayalam fonts missing inside anaconda none

Description Kamil Páral 2013-06-25 09:47:21 UTC
Created attachment 764998 [details]
missing fonts dialog

Description of problem:
We have removed gnu-free-*-fonts as part of bug 958426. This causes dialogs about missing fonts displayed every time you run anaconda on a LiveCD. See screenshots.

Version-Release number of selected component (if applicable):
F19 RC1

How reproducible:
always

Steps to Reproduce:
1. boot LiveCd
2. run anaconda
3. wait for it... wait for it... now!

Comment 1 Kamil Páral 2013-06-25 09:47:58 UTC
Created attachment 764999 [details]
malayalam fonts missing inside anaconda

Comment 2 Kamil Páral 2013-06-25 09:49:10 UTC
We should discuss whether this is a polish issue that we want to fix on a final product, or not. Proposing for discussion.

Comment 3 Kamil Páral 2013-06-25 10:57:20 UTC
I tried to create a x86_64 ISO with the current kickstart, and with the fonts added. The result is:

999292928 default
1004535808 fonts added

However, RC1 x86_64 Live is 996147200, which is smaller than my "default". I think the difference is that RC1 contains some builds from updates-testing, and I used just a stable repository. So the fonts might actually fit in, but it would be best tested by releng.

Comment 4 Jaroslav Reznik 2013-06-25 12:27:35 UTC
Hmm, I'd be +1 to fix it. It really does not look good to show such warning every time installation starts and ask users to download missing fonts. But it has to be coordinated with Gnome team to make sure we fit (so maybe another pruning would be required to be sure we fit?).

Comment 5 Jaroslav Reznik 2013-06-25 13:47:51 UTC
gnu-free-sans-fonts should be enough, Kamil have you tried adding all fonts back or just sans?

Comment 6 Matthias Clasen 2013-06-25 13:54:12 UTC
If it is just Malayalam, we can include lohit-malayalam-fonts instead.
That only weighs 86k

Comment 7 Kamil Páral 2013-06-25 13:55:20 UTC
(In reply to Jaroslav Reznik from comment #5)
> gnu-free-sans-fonts should be enough, Kamil have you tried adding all fonts
> back or just sans?

All of them.

Comment 8 Jaroslav Reznik 2013-06-25 14:14:48 UTC
(In reply to Matthias Clasen from comment #6)
> If it is just Malayalam, we can include lohit-malayalam-fonts instead.
> That only weighs 86k

With lohit-malayalam-fonts I don't see any other fonts being missing, and labels in installer when Malayalam is selected looks ok (but can't prove it - don't know the language but I'd assume so).

Comment 9 Parag Nemade 2013-06-25 14:25:10 UTC
If you look for reference into lorax package then we have 2 fonts added for Malayalam language, lohit-malayalam-fonts and smc-meera-fonts. We have smc-meera-fonts given as a higher priority.

Comment 10 Kamil Páral 2013-06-25 15:06:36 UTC
smc-meera-fonts-5.0.1-5.fc19.noarch are present on Live, but don't render the required characters.

Comment 11 Adam Williamson 2013-06-25 15:54:47 UTC
At least +1 FE, I'm really +1 blocker for the dumb warning dialog but I don't have a criterion argument handy just at present. But let's fix it for RC2.

Comment 12 Kevin Fenzi 2013-06-25 16:15:58 UTC
Yeah, what Adam said... +1 FE at least.

Comment 13 Matthias Clasen 2013-06-25 16:54:55 UTC
I've pushed a change to spin-kickstarts that adds lohit-malayalam-fonts to the desktop spin.

Comment 14 Adam Williamson 2013-06-25 16:57:17 UTC
commit 15305b2c82c04090452fdd86da1b38884f9010ec
Author: Matthias Clasen <mclasen>
Date:   Tue Jun 25 12:50:24 2013 -0400

    desktop: Add lohit-malayalam-fonts

= MODIFIED. Setting acceptedFE with implied vote from kparal.

Comment 15 Dennis Gilmore 2013-06-25 16:57:35 UTC
+1 to FE

Comment 16 Jens Petersen 2013-06-26 00:44:13 UTC
Stange that smc-meera-fonts is not enough.

Comment 17 Adam Williamson 2013-06-26 01:34:23 UTC
Confirmed fixed in RC2, the Malayalam entry in the language selector is no longer Unicode boxes, and no 'font needed' popup occurs.

Comment 18 Adam Williamson 2013-06-26 04:36:50 UTC
For the record, I'm waiting till we have a spin-kickstarts package build to close all these bugs fixed in spin-kickstarts; seems like a good way to make sure we get a spin-kickstarts build for final.

Comment 19 Pravin Satpute 2013-06-26 11:13:15 UTC
smc-meera-fonts is traditional script font and most of the community prefers it as a default fonts.

On the other hand lohit-malayalam is Malayalam new script fonts.

1. Removing smc-meera-fonts will create regression. 

2. There is no harm in having Lohit Malayalam as well in default installation as it does not create any redundancy.

smc-meera-fonts has all characters listed in fontconfig Malayalam orthography file. Still wondering why those square boxes instead of Malayalam characters.

Comment 20 Pravin Satpute 2013-06-26 11:56:39 UTC
Dunno why smc-meera-fonts is not there in fc-cache with F19-RC1, just doing "fc-cache -f" in live cd F19-RC1 solves the problem. 

Does not found anything in smc-meera-fonts spec file.

Comment 21 Kamil Páral 2013-06-26 12:51:30 UTC
(In reply to Pravin Satpute from comment #20)
> Dunno why smc-meera-fonts is not there in fc-cache with F19-RC1, just doing
> "fc-cache -f" in live cd F19-RC1 solves the problem. 

Interesting, could you please report a new bug against LiveCD and link it here? It seems that there are some problems when creating the cache during LiveCD creation.

Comment 22 Parag Nemade 2013-06-26 13:36:29 UTC
Pravin, you are right. I just got RC1 live downloaded with me. Previously tested with RC1 and RC2 dvd media rendering for Malayalam language is correct.

When you start RC1 Gnome live desktop, look into rendering for Malayalam in gucharmap and you will see all boxes.

After doing "fc-cache -f", rendering started for Malayalam. So, its cache creation issue.

Can we have new test iso which will bring back smc-meera-fonts as a default font?

Comment 23 Adam Williamson 2013-06-26 14:14:44 UTC
We don't really have time to fiddle with it further at this point.

Comment 24 Fedora Update System 2013-06-26 15:17:15 UTC
spin-kickstarts-0.19.7-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/spin-kickstarts-0.19.7-1.fc19

Comment 25 Parag Nemade 2013-06-26 15:22:39 UTC
okay we don't need another spin. I thought we removed smc-meera-fonts but its not and both smc-meera-fonts and lohit-malayalam-fonts are present in RC2 Live.

Comment 26 Pravin Satpute 2013-06-26 17:00:18 UTC
Looks good to me as well.

Comment 27 Pravin Satpute 2013-06-26 18:17:42 UTC
(In reply to Kamil Páral from comment #21)
> 
> Interesting, could you please report a new bug against LiveCD and link it
> here? It seems that there are some problems when creating the cache during
> LiveCD creation.

Reported https://bugzilla.redhat.com/show_bug.cgi?id=978526

Comment 28 Fedora Update System 2013-06-28 04:45:57 UTC
spin-kickstarts-0.19.8-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/spin-kickstarts-0.19.8-1.fc19

Comment 29 Fedora Update System 2013-06-28 07:16:17 UTC
spin-kickstarts-0.19.8-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.