You are not logged in.

#26 2019-08-09 17:37:15

wire7ack
Member
Registered: 2019-05-18
Posts: 28

Re: Pango update: bitmap fonts display as squares

IMHO, a very strange coincidence. at the same time I asked a question on almost the same topic ; )

Last edited by wire7ack (2019-08-09 17:38:41)

Offline

#27 2019-08-09 18:24:40

EndUserOnly
Member
Registered: 2017-05-31
Posts: 26

Re: Pango update: bitmap fonts display as squares

hicolour wrote:

I started having the same issue  - squares - in the same exact time in roxterm and rofi launcher, it needs to be soemthing else causing issue across different apps.

Can you cofirm the squares you were talking is something like this https://ibb.co/592Zc9j ?

The squares in your example have legible text; The squares I had were stacked two on two, and seemed to contain non-english character.

Offline

#28 2019-08-09 20:49:35

seth
Member
Registered: 2012-09-03
Posts: 12,020

Re: Pango update: bitmap fonts display as squares

Same problem, though. A replacement is rendered, for him w/ the missing utf-8 codepoints (the first one should be "e", so unless the font is *really* crappy … ;-)

Notice that "envy code r" is originally a vector font (ttf) so there's little point if this is just some auto-generated bitmap variant.


@wire7ack - there's no strangeness here, this is currently the most opened topic (check the dustbin where your post will soon go) because nobody searches the forum before posting…

Last edited by seth (2019-08-09 20:52:37)

Offline

#29 2019-08-10 00:45:19

karabaja4
Member
From: Croatia
Registered: 2008-09-14
Posts: 875

Re: Pango update: bitmap fonts display as squares

aussieevil wrote:

This is extremely frustrating. Are all the pixel fonts in the repository going to be upgraded soon to be pango-compatible?

Yeah it is frustrating.. the transition periods of the components that don't work well together or one is lagging behind the other.

I can't really blame the Pango developers while they're doing this work for free - so I can understand when they say "meh, the fonts look fine to me", but I really wish Linux had better QA... sad

BTW - this thread is maybe in a wrong sub-forum as it is a major, and not so "newbie" issue.

Offline

#30 2019-08-10 02:44:49

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 21,929
Website

Re: Pango update: bitmap fonts display as squares

aussieevil wrote:

This is extremely frustrating. Are all the pixel fonts in the repository going to be upgraded soon to be pango-compatible?

What?  I hope not.  If you want a ttf font, use a ttf font.  I'm still using Terminus with no issues whatsoever - of course that's because I don't have pango installed.  Given that the fonts don't depend on pango, it's a bit bass akwards to expect all fonts to adapt to pango's changes - some of them likely will, but let's not let the tail wag the dog entirely.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#31 2019-08-10 18:37:01

EndUserOnly
Member
Registered: 2017-05-31
Posts: 26

Re: Pango update: bitmap fonts display as squares

That was my first thought, remove pango and start fixing everything else. But pango is heavily coded into my system IE: Openbox, and LibreOffice both call for Pango; Weston - and gtk; so I am truly  screwed. I see they have another Pango version 44-3, but I don't see the point in expecting a different result, the developers have a clear objective. To think I should have to retool completely because of pango is asinine. My wish is for developers to call for Graphite more. Pango should not have this kind of monopoly.

Offline

#32 2019-08-10 18:43:02

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 2,616

Re: Pango update: bitmap fonts display as squares

Please don't turn this into a "rant about pango" thread.

https://wiki.archlinux.org/index.php/Co … pics/rants

Offline

#33 2019-08-12 12:00:19

EndUserOnly
Member
Registered: 2017-05-31
Posts: 26

Re: Pango update: bitmap fonts display as squares

I installed a 2nd desktop to do a side-by-side comparison; LXQT, with Motif Window Manager (instead of Openbox)/Linux Libertine G - font. And then upgraded Pango. LXQT did not miss a beat, no problem. Went back over to LXDE and it is fine, as well. The only thing I noticed was that from time to time (pun), my clock would turn from digital to the four blank squares (LXDE). Not sure what did it, but I am satisfied with the ultimate result.

Offline

#34 2019-08-12 12:39:24

frostschutz
Member
Registered: 2013-11-15
Posts: 803

Re: Pango update: bitmap fonts display as squares

I had some issues with Inkscape (SVG editor) which defaulted to bitmap font (I guess?) for the text tool. The result was an invisible text object width 0 height 0, unable to see any text, unable to select text and change font.

As a workaround you have to go into the Text Tool settings ([T] icon up top) and then select a different, working font and "Set as default".

Last edited by frostschutz (2019-08-12 12:39:43)

Offline

#35 2019-08-13 07:26:42

Heikete
Member
Registered: 2007-04-28
Posts: 40

Re: Pango update: bitmap fonts display as squares

I'm using a lot of bitmap fonts from AUR even in my default system font is Helvetica as I like pixel-perfect rendering and hinting is not always good. Am I doomed to convert all the fonts that I use to OTB?
What is the simplest, probably scriptable way to do that?
I'm missing especially:

artwiz-fonts 1.3-10
bdf-unifont 12.1.01-1
envypn-font 1.7.1-3
tamsyn-console-font 1.11-1
uw-ttyp0-font 1.2-1

Offline

#36 2019-08-13 19:09:08

Heikete
Member
Registered: 2007-04-28
Posts: 40

Re: Pango update: bitmap fonts display as squares

OK so the situation isn't that bad.
1. Some packages have already been ported to OTB, notably terminus and unifont.
2. The script using fontforge as an interpreter is fairy simple and allows batchable processing:
Script:

#!/usr/bin/fontforge
Open($1)
Generate($1:r + ".otb")

And we can run this for a lot of files:

 for f in *.pcf.gz; do ./convert.pe ${f}; done 

I wish we had a tool though to add otb conversion as an installation step to all bitmap font packages in AUR.

Offline

#37 2019-08-13 22:55:30

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 21,929
Website

Re: Pango update: bitmap fonts display as squares

Heikete wrote:

I wish we had a tool though to add otb conversion as an installation step to all bitmap font packages in AUR.

https://wiki.archlinux.org/index.php/Pacman#Hooks


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#38 2019-08-14 10:33:02

mr-straw
Member
Registered: 2019-08-14
Posts: 1

Re: Pango update: bitmap fonts display as squares

Heikete wrote:
#!/usr/bin/fontforge
Open($1)
Generate($1:r + ".otb")

I couldn't get this to work for Tamzen (bdf) or Termsyn (pcf), the resulting otb doesn't look good (font spacing seems wrong)

Last edited by mr-straw (2019-08-14 10:33:18)

Offline

#39 2019-08-14 11:00:55

progandy
Member
Registered: 2012-05-17
Posts: 3,469

Re: Pango update: bitmap fonts display as squares

mr-straw wrote:

I couldn't get this to work for Tamzen (bdf) or Termsyn (pcf), the resulting otb doesn't look good (font spacing seems wrong)

You can also try fonttosfnt in the AUR. The spacing issue sounds more like you'll need a new cairo version (1.17.2+17) which is currently only available in testing

https://gitlab.gnome.org/GNOME/pango/is … ote_567758

Edit: Forgot that I hadn't updated pacman yet. It seems my daily update discipline is lacking at the moment.

Last edited by progandy (2019-08-14 12:25:00)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Online

#40 2019-08-14 12:08:52

svito
Member
Registered: 2018-12-25
Posts: 8

Re: Pango update: bitmap fonts display as squares

cairo 1.17.2+17+g52a7c79fd-1 is week as in [community] repo, no need to enable [testing].

Last edited by svito (2019-08-14 12:09:37)

Offline

Board footer

Powered by FluxBB