Opened 13 years ago
Last modified 13 years ago
#306 closed defect (FIXED)
wiki @font-face links incorrectly
Reported by: | Odin Hørthe Omdal | Owned by: | Jef van Schendel |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ui | Keywords: | |
Cc: | Parent Tickets: |
Description
The style on the wiki: :: @font-face { font-family: 'Lato'; font-style: italic; font-weight: 700; src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(http://wiki.mediagoblin.org/skins/mediagoblin/fonts/Lato-BoldItalic.ttf?2011-11-02T15:46:40Z) format('truetype'); } @font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; src: local('Lato Regular'), local('Lato-Regular'), url('fonts/Lato-Regular.woff') format('truetype'); } The last line should probably be: :: src: local('Lato Regular'), local('Lato-Regular'), url('http://wiki.mediagoblin.org/skins/mediagoblin/fonts/Lato-Regular.woff') format('truetype'); Right now **all** browsers show the wrong font, because noone can get the Lato-regular one. However, it does look worse in Opera, because Opera chooses to display the italic font instead of the bold, whilst the other browsers bolds everything. Well, looks crappy in all of them, but you can see it's wrong easier in Opera ;-)
Change History (4)
comment:2 by , 13 years ago
Working well now, yes :-) I'll also file a bug at work for Operas not exactly incorrect, but not too smart font fallback selection.
Note:
See TracTickets
for help on using tickets.