Bug#939748: Newest version breaks rendering of bitmap fonts in GTK applications.

2020-04-07 Thread Antonio Ospite
On Sun, 08 Sep 2019 11:20:28 +
"Gong S."  wrote:

> The newest version in the experimental repo, 1.44.6-1, breaks the
> displaying of XLFD bitmap fonts in GTK applications.
>

Pango 1.44.7-3 has been uploaded to unstable so I expect this will break
even more setups.

> If you set the UI font to a bitmap font (Fixed) in /etc/gtk2/gtkrc,
> all characters are replaced by empty glyphs.
>

A simpler use case is people using bitmap fonts in gnome-terminal, I for
example was using xfonts-terminus.

For the discussion on the upstream issue tracker refer to
https://gitlab.gnome.org/GNOME/pango/issues/386

One possible solution discussed there is to use OpenType versions of the
bitmap font, these are still supported.

Fedora has some info about converting bitmap fonts to OpenType:
https://fedoraproject.org/wiki/BitmapFontConversion

For Terminus I was able to convert it locally and make it work with
Pango: https://superuser.com/a/1539389

So the issue could be fixed at the font level, wrt. Terminus I will try
to have an otf variant uploaded to Debian.

I hope this info is useful for other people missing bitmap fonts.

Ciao,
   Antonio

-- 
Antonio Ospite
https://ao2.it
https://twitter.com/ao2it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?



Bug#939748: Newest version breaks rendering of bitmap fonts in GTK applications.

2019-09-08 Thread Jason Crain
On Sun, Sep 08, 2019 at 11:20:28AM +, Gong S. wrote:
> The newest version in the experimental repo, 1.44.6-1, breaks the
> displaying of XLFD bitmap fonts in GTK applications.

My understanding is that dropping bitmap font support was intentional.
See:

https://blogs.gnome.org/mclasen/2019/05/25/pango-future-directions/

and

https://blogs.gnome.org/mclasen/2019/08/07/pango-1-44-wrap-up/



Bug#939748: Newest version breaks rendering of bitmap fonts in GTK applications.

2019-09-08 Thread Gong S.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Package: pango1.0
Version: 1.44.6-1
Severity: important

The newest version in the experimental repo, 1.44.6-1, breaks the displaying of 
XLFD bitmap fonts in GTK applications.
If you set the UI font to a bitmap font (Fixed) in /etc/gtk2/gtkrc, all 
characters are replaced by empty glyphs.
I do not have GTK3 installed (since I dislike the direction GTK is taking), but 
it should affect GTK3 as well.
Downgrading the packages "libpangoft2-1.0-0", "libpangocairo-1.0-0" and 
"libpango-1.0-0" from 1.44.6-1 to 1.42.6-7 fixes the problem.
See attached screenshots for the issue.

PS: Before you say "nobody is using bitmap fonts", you should consider that not 
everybody has a high-definition screen or want to see blurry text.
-
Please limit your reply to 7-bit ASCII.
I refuse to see your idiotic emoji in a TTY.
-BEGIN PGP SIGNATURE-
Version: ProtonMail

wsBcBAEBCAAGBQJddOP1AAoJENi1YDlFXXQfzh4H/Ax28fn3LDpSxDCoNGaq
vbl+Fq7UPt+gszhXlC8z6j6YO2tFnC5aHS7iZ+Maw7KkXg7QbcQEUFqll1dI
91fd28sLusNQufCbW4vKdQckpBRivetl4QNkOGm9J4Fftm6vN/HcEKWNxBHp
YcQ33xY21Pl7OrS+bZaWLYSZgqn9ITdb9iq9WwfiK2K1laN1txNIPgXibu9i
bpOe6MgysTCbVj4aBO2/rIZMY+VJOAbyyP0XwPkqiMqTk56jLx/nawtUd1hB
rB33HBSFOPlfZMfmedLaBKEshrTchDGQ8f6dodnC9QheNaLh1Ac/If+iylZT
z4gTwPrx9uB8x39ltw7CJ3Y=
=SO62
-END PGP SIGNATURE-



before-update.png.sig
Description: PGP signature


after-update.png.sig
Description: PGP signature


publickey - pthfdr@protonmail.ch - 0xAB77ABA4.asc
Description: application/pgp-keys


publickey - pthfdr@protonmail.ch - 0xAB77ABA4.asc.sig
Description: PGP signature