[Fedora-packaging] doxygen and copied font files

Richard W.M. Jones rjones at redhat.com
Sat Apr 13 12:53:13 UTC 2013


https://bugzilla.redhat.com/show_bug.cgi?id=905255
(long bug -- comment 43 onwards is probably the place to start)

This package (open-vm-tools) uses doxygen to generate API
documentation.  doxygen copies a font file from
'/usr/share/fonts/gnu-free/FreeSans.ttf' into the API docs directory,
and as a result [assuming you don't do anything else] the font file
gets copied into the final RPM as part of the %doc.

I don't quite understand how precisely this font file is used.  The
CSS (doxygen.css) contains a reference to "FreeSans" as a font choice,
but I didn't know that browsers would use this reference to start
downloading *.ttf files from the same directory.  Removing the font
file shows no obvious change to the doxygen docs when viewed in my
Firefox browser.

So question: Should the font file be removed?  Left alone?  Linked?
Something else?

Also there's a suggestion that this is a bug in doxygen:
http://lists.fedoraproject.org/pipermail/devel/2009-January/019434.html
although it was closed as NOTABUG (I don't think the doxygen packager
understood Nicolas Mailhot's bug report).

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/


More information about the packaging mailing list