
some updates: the fontset retrieved by pango_font_map_load_fontset
is non empty, but the height of the font metrics of the font set is 0, which in turn causes the main issue

@mflatt I have a dumb question: A minimal set of fonts is installed in the installation's "share"
directory under "fonts". The Fontconfig package is patched to
redirect the default configuration location to that directory.
Is the set of fonts generated by the patched fontconfig or is it stored somewhere in the repo?

Are you building for natipkg on Linux? That would be unusual.

I wonder whether the issue is related to a font not being found — especially “Helvetica”, since some others ran into trouble with that one recently. Does anything change if you replace Helvetica
in “draw-lib/racket/draw/private/font-dir.rkt” with Sans
?

I was drunk by looking at this issue for too long. I mistook the native-libs/README as the main README.rkt

Let me try it out later today

@greg ping again

@samth About 5 years ago I changed it not to run any I/O tests on the package build server: https://github.com/greghendershott/http/commit/31382e11c8ebcb99d094f85d831a192d87cfc597

Is it possible the server changed recently and no longer has the PLT_PKG_BUILD_SERVICE
env var defined?

This is about DrDr which is a different machine

(and which has a working network so the tests ought to work)

OK I’ll keep checking …

I just opened an issue with my state of knowledge https://github.com/greghendershott/http/issues/12

basically it’s a real failure for me locally too

Hmm, maybe http://microsoft.com\|microsoft.com like many sites auto-redirects HTTP -> HTTPS — but changed how that works, recently. I’ll investigate and reply more on the GitHub issue (thank you for opening that).

That seems like the most likely change to me

It hangs for me locally, too, and I am (like you, IIRC) running on Linux. So my theory is that it is hanging on an “Upgrade to Windows 11 today!?” yes/no prompt. :smile:

I forgot to mention, I used pango apis directly to find the unusual layout size issue.

But it seems it has something to with pango being unable to load fonts

pango 1.50.7 introduced this change https://gitlab.gnome.org/GNOME/pango/-/commit/1f29168ed4441b7e1406ceaa9f417dc50da93105#040e7970ad775a08e8a75312df70d8fedde46048_6628_6627

[one month ago, racket 8.4 could be built against pango 1.50.6 successfully]

since the font family I chose was 'default
, so I think the default font face in this case was “Sans”

I ran fc-match Sans
, which printed out: ➤ fc-match Sans
n019003l.pfb: "Nimbus Sans L" "Regular"

updates: added another font package as a build dependency. The problem went away