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

Re: woff file triggers lintian



On Fri, Dec 14, 2018 at 09:04:00AM -0700, Bobby de Vos wrote:
> Greetings,
> 
> Last year on this list we worked out that WOFF files should not go under
> /usr/share/fonts/ as this causes a bug for some applications. I updated
> some of the font packages I maintain to place the WOFF files under
> /usr/share/<packagename>/woff
> 
> However, lintian is flagging that location as incorrect, the error is
> https://lintian.debian.org/tags/font-outside-font-dir.html

Lintian merely follows what its maintainers think is our policy.  As the
message includes, that policy is
https://wiki.debian.org/Fonts/PackagingPolicy which in turn points to this
very list.

Thus, all that we need is to come to agreement in this thread, update our
policy, then let lintian folks know.  There's no formal process, merely a
discussion of members of this list, of which you are one.

> You can see the Andika package (as one example) at
> https://lintian.debian.org/full/pkg-fonts-devel@lists.alioth.debian.org.html#fonts-sil-andika
> 
> Can lintian be fixed so it does not report an error for WOFF files
> placed where this list decided they should be placed?

I agree.  The problem is, the definition of what a "font" means is pretty
unclear.  It only says "where fonttype is the type (?OpenType, TrueType,
Type1, etc)".  What _I_ believe is that it's about fonts meant to be
configured for use by _any_ X/Wayland program running on that system.

Ie, a .psf.gz file is a "font" but doesn't count here, as it's meant for
console not X.  Likewise, WOFF files are meant for a web server -- so even
though _some_ programs can use them directly, your interpretation sounds
good to me.  Even TrueType files might be not generally usable
(/usr/lib/firefox/fonts/TwemojiMozilla.ttf comes to mind -- it's all
embedded non-standard images).


Meow!
-- 
⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁ Ivan was a worldly man: born in St. Petersburg, raised in
⢿⡄⠘⠷⠚⠋⠀ Petrograd, lived most of his life in Leningrad, then returned
⠈⠳⣄⠀⠀⠀⠀ to the city of his birth to die.


Reply to: