#450 Recovered: 404 not found error; ui fonts are missing
Closed: Fixed by t0xic0der. Opened by t0xic0der.

https://bugzilla.redhat.com/show_bug.cgi?id=1179008

John Dennis 2015-01-05 16:26:23 EST

The ipsilon.css style sheet (/idp/ui/css/ipsilon.css) has references to 10 fonts, for example:

url('../fonts/open-sans/OpenSans-Regular.ttf')

There are all apparently in the open-sans-fonts RPM package which installs the fonts in /usr/share/fonts/open-sans

But Apache cannot resolve a font URL like this:

/idp/ui/fonts/open-sans/OpenSans-Regular.ttf

because there is no fonts directory under /idp/ui/

The 2 packaging fixes I suggest are:

  1. add a

Requires: open-sans-fonts

to the spec file

  1. In the %post section add a symbolic link in /usr/share/ipsilon/ui to /usr/share/fonts, e.g.:

    ls -l /usr/share/ipsilon/ui

    total 16
    drwxr-xr-x. 2 root root 4096 Dec 23 23:25 css
    lrwxrwxrwx. 1 root root 16 Jan 5 15:50 fonts -> /usr/share/fonts
    drwxr-xr-x. 2 root root 4096 Dec 23 23:25 img
    drwxr-xr-x. 2 root root 4096 Dec 23 23:25 js
    drwxr-xr-x. 2 root root 4096 Dec 23 23:25 saml2sp


This issue ticket was originally removed from the tracker as it clashed with the pull request.
See upstream ticket for migration details.


Metadata Update from @t0xic0der:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata