tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: font missing in firefox



Thomas Klausner <wiz%NetBSD.org@localhost> wrote:
>On Sat, Feb 25, 2023 at 08:12:14PM +0100, Manuel Bouyer wrote:
>> Hello,
>> I noticed that my firefox on NetBSD is not displaying some fonts.
>> For example https://www.lip6.fr/?LANG=en on the top right there are
>> links to change language, link to webmail and to intranet. These links are
>> UTF-8 characters that should show some icons, on linux they show up properly
>> but on NetBSD (10-beta) it just display a rectangle with some hex in it.
>> It's possible I'm missing some fonts on my install but from what I understood>>,
>> firefox should download them. The debugger shows that the font used it
>> "opensans-bold", and I didn't find a package for this.
>
>I think these are webfonts that are automatically loaded by the page.
>
> In my NetBSD firefox they are displayed and I see that they have
> colors (the flag is a UK flag, the mailbox and lock are blue) so my
> guess is that they are fonts using PNGs internally.

I see a blue mailbox and lock, the language selection menu is just G B
or F R characters in blue, I don't get flags but don't see the hex in
a rectangle for missing unicode fonts.

> For that you need a freetype2 with PNG support. The one included in
> NetBSD does not support this (because that'd mean we need to
> distribute libpng), but the pkgsrc version has png support enabled by
> default.

I think this would depend on when the packages that Manuel is using were
built.

Right now, pkgsrc-current will always build freetype2, it won't use the
native one. The change that caused this was done on 2023-01-29, you then
updated the package version to 2.13.0 on 2023-02-09.

I am running packages built against a local hack to freetype2 to make
it use the builtin version.


Home | Main Index | Thread Index | Old Index