freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] WOFF2 support update and questions


From: Werner LEMBERG
Subject: Re: [ft-devel] WOFF2 support update and questions
Date: Fri, 21 Jun 2019 08:08:24 +0200 (CEST)

> Let's say I want to load the nth font inside a TTC.  Would it be
> sufficient to write an SFNT stream starting with the Offset Table
> (and not the TTC Header) along with only those tables that make up
> the nth face?

Yes.

> To put this in context of WOFF2, I want to know whether I should pass
> the SFNT stream of a WOFF2 compressed TTC font with a TTC header and
> *all* its tables, or would it be correct/sufficient to write the
> stream such that the fact that the WOFF2 is actually a collection, is
> hidden from rest of the SFNT processing (they only see the requested
> face in the stream).

A single font from a TTC collection has no references to the TTC as a
whole.  So yes, you can completely hide the fact that you are
processing a TTC.

> Do these `individual' streams function identically to a full `TTC'
> stream?

This sentence I don't understand.  Please elaborate.


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]