Bug 1209460

Summary: Use langtable for console font information
Product: [Fedora] Fedora Reporter: Marko Myllynen <myllynen>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 23CC: anaconda-maint-list, awilliam, g.kaviyarasu, jonathan, mfabian, momcilo, psatpute, pschindl, robatino, vanmeeuwen+fedora
Target Milestone: ---Keywords: i18n
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: RejectedBlocker https://fedoraproject.org/w/index.php?title=Common_F22_bugs&action=submit#console-font
Fixed In Version: anaconda-23.18-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-06 19:58:12 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: 1182479    

Description Marko Myllynen 2015-04-07 12:08:21 UTC
Description of problem:
The default console font was changed in bug 1182527 and while that works ok it presents a downside that since eurlatgr doesn't support Arabic/Cyrillic/Hebrew those scripts are unreadable on console when eurlatgr is in use.

Anaconda is already using langtable for keyboards, locales, timezones, etc, so it might be a good idea to use langtable also for selecting the most appropriate console font.

The following is a trivial example to see how current langtable (since bug 1146002) handles this correctly:

[root@localhost ~]# cat test.py 
#!/usr/bin/python3

import langtable
from langtable import list_consolefonts

print(list_consolefonts(languageId="de", territoryId="DE"))
print(list_consolefonts(languageId="fi"))
print(list_consolefonts(territoryId="GR"))
print(list_consolefonts(languageId="ru", territoryId="RU"))
print(list_consolefonts(languageId="ru"))
print(list_consolefonts(languageId="he"))
[root@localhost ~]# python3 ./test.py
['eurlatgr']
['eurlatgr']
['eurlatgr', 'iso07u-16', 'LatGrkCyr-8x16']
['latarcyrheb-sun16']
['latarcyrheb-sun16']
['latarcyrheb-sun16']
[root@localhost ~]# rpm -q langtable langtable-python3
langtable-0.0.31-1.fc22.noarch
langtable-python3-0.0.31-1.fc22.noarch
[root@localhost ~]# 

Version-Release number of selected component (if applicable):
Fedora 22 Beta

Comment 1 Marko Myllynen 2015-04-20 10:07:42 UTC
Proposing this as FinalBlocker to allow this to be properly evaluated.

The tracker bug for the https://fedoraproject.org/wiki/Changes/NewDefaultConsoleFont feature is the above mentioned https://bugzilla.redhat.com/show_bug.cgi?id=1182479.

Thanks.

Comment 2 Petr Schindler 2015-04-20 16:29:27 UTC
Discussed at today's blocker review meeting [1].

This bug was rejected as Final blocker but accepted as Freeze Exception - we agreed this looks like a significant issue for users of affected languages, but it didn't quite seem to cross the threshold to violating any of the release criteria. We would very much like to see it fixed however

[1] http://meetbot.fedoraproject.org/fedora-blocker-review/2015-04-20/

Comment 3 Adam Williamson 2015-06-10 22:27:50 UTC
Clearing F22 accepted / nominated freeze exception status as F22 has shipped, per https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Trackers . You may nominate as an Alpha, Beta or Final freeze exception for F23 if desired using the web application - https://qa.fedoraproject.org/blockerbugs/propose_bug (though it is not currently set up for F23) - or by marking the bug as blocking AlphaFreezeException, BetaFreezeException, or FinalFreezeException.

anaconda team, can we fix this for 23? It's a significant issue for affected languages.

Comment 4 David Shea 2015-10-06 19:58:12 UTC
mkolman fixed this a while ago, see 515f0679