Bug 140021
Summary: | Console font chosen for new installed systems makes colors worse. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dmitry Butskoy <dmitry> | ||||
Component: | anaconda | Assignee: | Jeremy Katz <katzj> | ||||
Status: | CLOSED NOTABUG | QA Contact: | Mike McLean <mikem> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | nobody+pnasrat | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2004-11-22 17:17:37 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Dmitry Butskoy
2004-11-19 11:55:06 UTC
Created attachment 107048 [details]
Simple patch, trying to solve quickly this bug
Anaconda chooses parameter SYSFONT (for /etc/sysconfig/i18n in the installed
system), according to file "/usr/share/anaconda/locale-list". This file is
auto-generated at rpmbuild time by "scripts/genlocalelist.py" from anaconda`s
source. Therefore, the patch is against this script.
Currently, only "latarcurheb-sun16" can be chosen for "utf8" charmap. The
idea of my patch is try to guess appropriate per-language sysfont by "old"
non-utf8 data still exists in this script.
Of couse, it is not a final correct variant for the described problem. But,
IMHO, it is not worse than current behavior -- one common font under utf8 for
all... :-)
This is required to support UTF-8 locales, sorry. Have you correctly understood my report? Nothing should be changed for anaconda install itself. UTF-8 for installed system is not changed too. Just the default console font for new systems should be 256-glyph... The maximum number of glyphs in a console font is 512. Anyway, it is impossible to put all the world languages in one font. Except for lat, arabic, cyrillic and hebrew ("latarcyrheb"), still is Greek, Georgian and many other "simple", "non-like-a-china" languages. It is impossible to put all of them into one, even 512-glyph font. It can be considered as precedent. If there are some reasons to use "latarcyrheb" glyphs, then may be better to split it to several 256-glyph fonts? But there are already such a fonts (lat0-sun16, cyr-sun16 etc.), and this fonts work well even under UTF8 locale. Can you write some additional words about this problem? It is important for us as we want to promote Fedora and RHEL for the people which use another distros, and this people are afflicted with bad console colors. Yes, but the goal is to get maximal coverage. Yes, we can't get it all but doing the best possible is the goal. Also, eg, lat0-sun16 isn't actually good enough for UTF-8 latin1 languages (I don't remember exactly which glyphs it was missing as it's been ~ 2 years now) |