99problems icon indicating copy to clipboard operation
99problems copied to clipboard

ADE chrashes if empty media queries exists

Open finanzer opened this issue 10 years ago • 1 comments

If in css file empty media queries exists, then ADE (tested with 2.0 and 4.0) and readers (e.g. tolino) or software (blue fire reader) with adobe engine chrashes. Here an example file:

@font-face { 
    font-family : "Gentium"; 
    font-weight : normal; 
    font-style: normal; 
    src: url("../Fonts/GentiumPlus-R.ttf"); 
}

@media amzn-kf8
{
}

@media not amzn-mobi
{
}

Repair is naturally easy: remove the empty media queries

finanzer avatar Jan 12 '15 21:01 finanzer

I tested it with ADE 4.0.3.117585. ADE didn't crash but wouldn't open the epub file.

madevelopers avatar Jun 23 '15 03:06 madevelopers