[openstack-dev] [horizon] Font awesome currently broken with Debian Sid and Horizon

Radomir Dopieralski openstack at sheep.art.pl
Mon May 28 06:35:36 UTC 2018


I did a quick search for all the glyphs we are using:

~/dev/horizon(master)> ag 'fa-' | egrep -o 'fa-[a-z-]*' | sort | uniq
fa-
fa-angle-left
fa-angle-right
fa-arrow-down
fa-arrow-up
fa-asterisk
fa-b
fa-bars
fa-bolt
fa-bug
fa-calculator
fa-calendar
fa-caret-down
fa-caret-up
fa-check
fa-chevron-down
fa-chevron-right
fa-circle
fa-close
fa-cloud
fa-cloud-upload
fa-code
fa-cog
fa-desktop
fa-download
fa-exclamation
fa-exclamation-circle
fa-exclamation-triangle
fa-eye
fa-eye-slash
fa-font-path
fa-fw
fa-group
fa-home
fa-icon
fa-info-circle
fa-lg
fa-list-alt
fa-lock
fa-minus
fa-pencil
fa-plus
fa-question-circle
fa-refresh
fa-save
fa-search
fa-server
fa-share-square-o
fa-sign-out
fa-sort
fa-spin
fa-spinner
fa-square
fa-th
fa-th-large
fa-times
fa-trash
fa-unlock
fa-upload
fa-user
fa-var-check-square-o
fa-var-circle-o
fa-var-dot-circle-o
fa-var-sort
fa-var-sort-asc
fa-var-sort-desc
fa-var-square-o
fa-warning

The lone "fa-" comes from table actions, where the icon is defined in code,
and pretty much anything can be used —
since plugins can define their own actions with their own icons — but I
don't think we use anything exotic there.

On Sat, May 26, 2018 at 7:37 PM, Thomas Goirand <zigo at debian.org> wrote:

> Hi Horizon team!
>
> I'm not sure if you're aware of that, but the upstream authors of
> fontawesome decided it was a good idea to break everyone. See this
> Debian bug entry:
>
> https://bugs.debian.org/899124
>
> So, what happened is that fontawesome-webfont has been split into 3 sets
> of fonts: solid, regular and brands fonts. Thus there is no drop in
> replacement for the old fontawesome-webfont.xxx.
>
> As my python3-xstatic-font-awesome removes the embedded fonts, and just
> points to /usr/share/fonts-font-awesome, Horizon is broken and cannot
> even be installed currently in Debian Sid. Of course, I'm considering
> reverting the removal of the data folder from the xstatic package, but
> it then defeats the purpose of Xstatic, which is avoiding duplication of
> static files already packaged in the distribution.
>
> So, ideally, I would like to know first if I can use the fa-solid-900
> for Horizon, or if other glyphs are in use (it's very much possible that
> only fa-solid-900 stuff are in use, but I really don't know how to check
> for that the correct way). If that's the case, then I can workaround the
> issue (at least temporarily), and synlink stuff in the data folder to
> the new fa-solid-900 files.
>
> Second, it'd be nice if Horizon could adapt and use the new v5
> font-awesome, so that the problem is completely solved.
>
> Cheers,
>
> Thomas Goirand (zigo)
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20180528/7b8eeace/attachment.html>


More information about the OpenStack-dev mailing list