Notalib / LYT

m.e17.dk
GNU Lesser General Public License v3.0
10 stars 12 forks source link

I can choose the font "Dyslexia" in settings in books with text and it looks all right #501

Closed andmand closed 10 years ago

andmand commented 11 years ago

Besides Classic and Modern we need to integrate a new font into the reader, it's called Dyslexia and is a webfont. This is done with a font-face kode:

"You can include from the studiostudio server a CSS file with the @font-face code. After that you can call the Dyslexie typeface on every place your want by using this code in CSS:

font-family: 'dyslexieRegular';

saebekassebil commented 11 years ago

This was removed from the scope of LYT 2, at the meeting @ Republikken - wasn't it? If so, the Milestone should be removed

mzedeler commented 11 years ago

I have moved this to the Sprint 12 milestone.

mzedeler commented 11 years ago

Large.

mzedeler commented 11 years ago

Tasks:

We host the font on our own server.

points: 5.

thomasbrix commented 11 years ago

As part of this issue the webserver needs to be configured to serve otf files. I have done that on test by adding the following lines to the web.config file:

    <staticContent>
        <remove fileExtension=".otf" />
        <mimeMap fileExtension=".otf" mimeType="font/otf" />
    </staticContent>
thomasbrix commented 11 years ago

Kan testes her: http://testmstr02/tbx/

mzedeler commented 11 years ago

@andmand: this should be ready for you to test.

everhoej commented 10 years ago

Done.