tech-pkg archive

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

Re: go-ttf dependency on ttmkfdir2



On Thu, Jan 01, 2026 at 00:56:43 +0000, David Holland wrote:

> However, triggering that package to update itself when you install a
> font would require a mechanism we don't have. (Although probably we
> should grow it, because it's the right way to deal with mktexlsr and
> other similar issues. So maybe sometime...)

I think that's what apk-tools do with triggers.


>  > Why fonts need to be reinstalled if freetype2 is updated?
> 
> This is because our depends system isn't flexible/detailed enough.
> It's basically the same as library updates that do vs. don't have
> major version bumps, except here the issue is something like "the
> ttmkfdir2 output format changed".

That seems ... contrived.

Also, does anyone actually use it, because it's obviously broken?

$ awk '$NF == "-"' /usr/pkg/share/fonts/X11/TTF/fonts.scale | sort -u
Go-Bold.ttf -
Go-Italic.ttf -
Go-Medium.ttf -
Go-Mono.ttf -
$ awk '$NF == "-"' /usr/pkg/share/fonts/X11/TTF/fonts.scale | wc -l
     108

-uwe


Home | Main Index | Thread Index | Old Index