[webkit-dev] Fonts for WebKit tests on OS X?

Michael Catanzaro mcatanzaro at igalia.com
Sat Mar 12 08:04:40 PST 2016


On Sat, 2016-03-12 at 10:27 +0100, Frédéric WANG wrote:
>  So it's relatively easy for users to install the fonts.
> Ideally, the Latin Modern package should be a dependency of
> WebKitGTK+,
> which I think I (or Martin Robinson) already asked in the past to
> some
> distro maintainers when we added Latin Modern Math to the test
> environment.

Not sure I agree that WebKit should pull in any particular font
package. I'd prefer to just add some math font that's installed by
default. Other apps will want it too.

> In the case of Fedora, the good news is that STIX is installed by
> default in the normal setup. The bad news is that the current 1.1
> release of STIX has many bugs making it bad for math layout albeit
> not
> as bad as with the obsolete version shipped in OS X. However, I'm
> confident the Fedora package will be updated to version 2 when it is
> released.
> 
> See (*) for more details, which also gives an overview of the
> situation
> in other operating systems. Given the lack of availability of math
> fonts, workarounds have been considered but they add burden for each
> actor:

I considered adding texlive-lm-math to the list of packages installed
by default in Fedora. This takes about two minutes to change, so it's
normally no problem at all.

But it seems to depend on a bunch of perl and texlive packages:

perl-Digest, perl-Digest-MD5, perl-Filter, perl-Text-Unidecode, perl-
Tk, perl-XML-XPath, perl-encoding, perl-open, texlive-base, texlive-
hyphen-base, texlive-kpathsea, texlive-kpathsea-bin, texlive-kpathsea-
lib, texlive-metafont, texlive-metafont-bin, texlive-tetex, texlive-
tetex-bin, texlive-texlive.infra, texlive-texlive.infra-bin

I'm hesitant to add texlive dependencies. Also, I don't see it in Font
Viewer, so I guess it requires the fontconfig change suggested by that
wiki page to work, and that would require coordination with fontconfig
upstream. I suspect there is some good reason that texlive fonts are
not available to applications by default?

Perhaps the easiest solution is to do nothing, and wait for a new STIX
release?

Michael


More information about the webkit-dev mailing list