Created attachment 1032273 [details]
Description of problem:
Font rendering in the terminal emulator is broken.
Version-Release number of selected component (if applicable):
Change the font in the terminal on Terminus 15. The font will be blurred, incorrectly rendered. This is illustrated by the attached files
Steps to Reproduce:
1. Open terminal emulator
2. Change the font to Terminus 15
Actual Results: All characters are garbled, blurred.
Expected Results: Clear font rendering.
Additional info: see attachment
Created attachment 1033398 [details]
This is probably not a bug. But I'm not sure so I'm reassigning this to fontconfig for their expertise (if this is a bug then a fontconfig one from my point of view).
Basically you are doing this:
pango-view --dpi=96 --font="Terminus 15" --text="[int13h@d500 ~]$ fc-ca" --background=black --foreground=gray
For which fontconfig returns this font '/usr/share/fonts/terminus/ter-116n.pcf.gz' (size 16). I'm not sure why it doesn't return the '/usr/share/fonts/terminus/ter-120n.pcf.gz' because it is 72dpi equivalent of the font of size of 15 for 96dpi.
I've printed FcPattern passed to fontconfig and the resulting FcPattern in pango's pango_fc_patterns_get_font_pattern() function. You can find them in the attached file. The file shows that fontconfig actually gives us the font of size 16 even if we pass to it request for a font of pixel size 20 (size 15).
fontconfig-2.11.94-1.fc22 has been submitted as an update for Fedora 22.
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing fontconfig-2.11.94-1.fc22'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
fontconfig-2.11.94-1.fc22 appears to fix the font issues I was having (broken embedded bitmap fonts inside TTF/OTF files). Hooray!
fontconfig-2.11.94-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.