sul-dlss / sul_styles

A gem for adding Stanford University Libraries styles to Rails applications
Other
1 stars 1 forks source link

Add Dejavu Sans Extra Light font to gem? #1

Open cbeer opened 9 years ago

cbeer commented 9 years ago

We're using dejavu_sansextralight in searchworks and requests for displaying item titles (something about diacritics [1]). Is it worth pulling it into this gem too (e.g. [2])?

[1] https://github.com/sul-dlss/sul-requests/issues/204 [2] https://github.com/sul-dlss/sul-requests/pull/211

mejackreed commented 9 years ago

Possibly, if it can be done in an opt-in type of way. I know that we have to support the diacritics, but I really hate having to load 3 fonts for each app. Ideally the way to do this would be to serve it from a common location for caching. So that requests would sul-requests would not have to reload the same font that SW already did.

:disappointed:

cbeer commented 9 years ago

:+1: I was hoping this gem could possibly mediate that behavior.