capfredf
2022-5-11 17:50:57

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


capfredf
2022-5-11 18:10:03

@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?


mflatt
2022-5-11 18:38:09

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


mflatt
2022-5-11 18:39:55

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?


capfredf
2022-5-11 18:40:39

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


capfredf
2022-5-11 18:43:17

Let me try it out later today


samth
2022-5-11 19:01:47

@greg ping again


greg
2022-5-11 19:49:34

@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


greg
2022-5-11 19:50:01

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


samth
2022-5-11 19:50:35

This is about DrDr which is a different machine


samth
2022-5-11 19:50:56

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


greg
2022-5-11 19:51:08

OK I’ll keep checking …


samth
2022-5-11 19:51:23

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


samth
2022-5-11 19:51:35

basically it’s a real failure for me locally too


greg
2022-5-11 19:53:31

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).


samth
2022-5-11 19:53:48

That seems like the most likely change to me


greg
2022-5-11 19:57:20

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:


capfredf
2022-5-11 23:57:00

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


capfredf
2022-5-11 23:57:26

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



capfredf
2022-5-11 23:59:22

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


capfredf
2022-5-12 00:07:36

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


capfredf
2022-5-12 00:10:06

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


capfredf
2022-5-12 01:40:02

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