|
Bugzilla – Full Text Bug Listing |
| Summary: | libpango no longer supports rendering of bitmap fonts | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Aleksa Sarai <asarai> |
| Component: | GNOME | Assignee: | E-mail List <gnome-bugs> |
| Status: | RESOLVED WONTFIX | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | dimstar, f4tmike, fcrozat, jacob |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | screenshot of broken text rendering | ||
I have the same issue, but with gvim using the Misc Fixed font, which I have been using for ~15 years now without issue until my latest update in TW. Fonts like DejaVu work ok. Also worth noting is that Misc Fixed shows up properly in KDE's font viewer (System Settings -> Fonts -> Font Management) and works as expected in the terminal urxvt. I forgot to mention that xorg-x11-server was upgraded to 1.20.6+0-1.1 and gvim to 8.1.0401-1.1 gvim's gui font picker (set guifont=*) does not see Misc Fixed. Just read that libpango (which was just upgraded to 1.44.7+11-1.1) dropped support for bitmap fonts in 1.44 [1]. Therefore, anything using libpango, which AFAIK is anything using gtk (which includes gvim) no longer has support for bitmap fonts. [1] https://gitlab.gnome.org/GNOME/pango/issues/386 Found a workaround: fonttosfnt Use fonttosfnt to wrap a bitmap font in a sfnt wrapper, which is a font file that is acceptable by libpango. Steps: 1) fonttosfnt -r -o "output.otb" "input.pcf" 2) install the output.otb font into your system (I used KDE's font manager) Done. Reassigning to pango maintainers. Nothing will change on the pango side (see upstream discussion). The proper way to move this would be to fix the offending fonts package to provide the font into OTB format. One way to do it is explained at https://gitlab.gnome.org/GNOME/pango/issues/386#note_613754 *** Bug 1173553 has been marked as a duplicate of this bug. *** (In reply to Frederic Crozat from comment #6) > Nothing will change on the pango side (see upstream discussion). The proper > way to move this would be to fix the offending fonts package to provide the > font into OTB format. > > One way to do it is explained at > https://gitlab.gnome.org/GNOME/pango/issues/386#note_613754 IE, not a bug, but a feature. |
Created attachment 825704 [details] screenshot of broken text rendering My normal font is Dina (dina-bitmap-fonts) and after the most recent update, both Termite and i3 (namely i3status and i3 itself) display all characters as though they are unknown unicode glyphs (see attached screenshot). Strangely, dmenu and i3-nagbar (which use the same font) display properly. Changing to a non-bitmap font like DejaVu Sans Mono fixed the issue, but I would like to be able to use a font that worked in the past.