Re: font stuff

Robert Swindells <[email protected]> Mon, 09 Dec 2024 19:36:31 +0000
Newsgroups gmane.os.netbsd.devel.x11
Message-ID <[email protected]>
Thomas Klausner <[email protected]> wrote:
>On Fri, Feb 24, 2023 at 07:04:40PM +0000, Robert Swindells wrote:
>> 
>> matthew green <[email protected]> wrote:
>> > for at least freetype, the pkgsrc version also enables png,
>> > and brotli (though i have brotli ready to go for xsrc, i'm
>> > less happy to have to update png on branches etc. when the
>> > inevitable security issues come - png has been a lot better
>> > the last few years, so maybe we can...)
>> 
>> I got pkgsrc to use the native font libraries by commenting out the
>> brotli line in graphics/freetype2/buildlink3.mk. The setting of the
>> png option doesn't seem to affect it.
>> 
>> Why does freetype need to link to libpng anyway?
>
> emoji fonts for emojis that have more than the two colors black and
> white often distribute their emojis as pngs (inside the font).

Would it be worth updating native freetype2 but configuring it to build
without png?