Re: Accepting contributions for Rust-based font indexing?

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

 



From: Dominik Röttsches <drott@xxxxxxxxxxxx>
Date: Fri, 06 Sep 2024 18:11:05 +0300

Hi Akira & FontConfig community,

Allow me to introduce myself, I am Dominik Röttsches, I work as an
engineer on the Chrome rendering team.

I am curious to hear your thoughts on accepting contributions to
FontConfig that provide an alternative indexing code path and build
configuration that does not require FreeType, but instead uses the
Rust-based Fontations libraries [1] developed by Google Fonts.

> * Would you be ready to consider accepting such contributions?

Assuming the Fontations library has a suitable license, that sounds
fantastic. From the subject, I hoped you were planning on re-writing
fontconfig in Rust as well, but it sounds like that's not in plan
(yet). Alas.

> * Do you see dependencies other than indexing that require FreeType?
> (FreeType specific API functions [3] would need to be compiled out in
> the Fontations build).

Many fonts lie about their code point coverage, so fontconfig has to
examine each glyph outline to see if they generate any ink. This doesn't
require rasterization, but it does require being able to see the outline
data. I'm not sure if Fontations has support for that, but you'll need
to make that work for fontconfig's coverage data to be accurate.

-- 
-keith

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux