COMPLIANCE WITH OFL LICENSE
---------------------------

Source Sans 3 is released by Adobe under the OFL 1.1 license with the Reserved
Font Name of Source.  To be compliant with this license, any distributed binary
fonts must be identical to those distributed upstream.  It is frequently
difficult to comply with this requirement when building from source as small
differences in build environments result in slightly different font binaries.

Information about how to deal with this restriction in Debian is summarized on
the font wiki.

https://wiki.debian.org/Fonts/Bugs/rfn-violation

This package uses the third option for compliance with the OFL.

"Build the font from source using tools from Debian main during the package
build but distribute the upstream build in the binary package instead. In this
case it is not required to move the font to contrib."

Upstream ships their source and their compiled binary fonts in two distinct
Git branches.

Source:

https://github.com/adobe-fonts/source-sans/tree/main

Compiled binary fonts:

https://github.com/adobe-fonts/source-sans/tree/release

Uscan downloads from these two locations and stores them as separate tarballs:

fonts-adobe-sourcesans3_<version-number>.orig.tar.xz
fonts-adobe-sourcesans3_<version-number>.orig-precompiled-binary-fonts.tar.xz

The build process compiles Source Sans 3 from source, but then uses the fonts
from precompiled-binary-fonts when populating the binary package.

To create a package using the fonts built from source instead of the binary
fonts shipped upstream, modify debian/install following the instructions in its
comments.


DOWNLOADING NEW UPSTREAM SOURCE
-------------------------------

'gbp import-orig --uscan' doesn't seem to have support for MUT (Multiple
Upstream Tarballs).  To download the source, run the following command:

uscan --download-version <version>

Running 'uscan --download-current-version' fails because uscan passes the
current version to the first download but doesn't pass it to the second.
However, manually specifying the version correctly passes it to both downloads.
So, for example, you can run 'uscan --download-version 3.052'.

Once the MUT has been downloaded, it can be imported into gbp (git-buildpackage)
by running:

gbp import-orig ../<tarball>

 -- Soren Stoutner <soren@debian.org>  Tue, 27 Aug 2024 11:08:22 -0700
