redundancy icon indicating copy to clipboard operation
redundancy copied to clipboard

IE font problems

Open cmllr opened this issue 9 years ago • 8 comments

cmllr avatar Mar 05 '15 11:03 cmllr

What exactly do you want to issue?

christianmalek avatar Mar 06 '15 13:03 christianmalek

IE does not load font properly

cmllr avatar Mar 06 '15 14:03 cmllr

Method was removed. https://github.com/Redundancycloud/redundancy/commit/46c5c95e1cd18098eac0f73993befe7866dee1fc

Another solution without JS may be a better way.

cmllr avatar Mar 06 '15 14:03 cmllr

May I ask what this hack did, exactly? Unless you're targeting < IE8 there should be no need for any fancy things to get a custom font loaded properly.

elomatreb avatar Mar 06 '15 16:03 elomatreb

It was a terrible workaround because IE does not load the font. We may need a css based solution

Fehler bei der Berechtigungsprüfung für die OpenType-Einbettung in "@font-face". Die Berechtigung muss "Installable" sein.

cmllr avatar Mar 06 '15 16:03 cmllr

I've traced the issue. IE does not load fonts that do not have the TTF-flag "embeddable" set to true.

Unless you would like to use a third-party service (I would recommend Google Fonts), I would propose to solve this issue by using a "Webfont Kit" generated by Font Squirrel, which would also include EOT, SVG, and WOFF(2) files. These additional files would improve support on various *NIX systems, for example OS X and various Linux desktops.

EDIT: I tried to create a PR for this, sadly I was not able to understand the structure of your CSS. Why is the theme file only available minified? Are there non-minified source files? Additionally, I would like to ask for all CSS files to be located in a single place/directory and/or sensibly concatenated into a single file.

elomatreb avatar Mar 06 '15 17:03 elomatreb

I think @Phisherman can answers this questions

cmllr avatar Mar 06 '15 17:03 cmllr

@elomatreb Therefor exists the redundancy-stylesheets repo. You need to compile this file to get the CSS file. Custom overrides are defined at the end of the file.

christianmalek avatar Mar 06 '15 17:03 christianmalek