#36 404 not found error; ui fonts are missing
Closed: Fixed None Opened 4 years ago by rcritten.

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


Will be fixed with #42.

status: new => accepted

Fields changed

milestone: => 1.0 m1

Fixed in 9638603

patch_available: => 0
resolution: => fixed
status: accepted => closed

Fields changed

rhbz: => 0

Metadata Update from @nkinder:
- Issue assigned to puiterwijk
- Issue set to the milestone: 1.0 m1

2 years ago

Login to comment on this ticket.

Metadata