1080linebooks / sigil

Automatically exported from code.google.com/p/sigil
GNU General Public License v3.0
0 stars 0 forks source link

Missing attribute in template.css #818

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. "src:../Fonts/fontname.otf);"

What is the expected output? What do you see instead?
src:url(../Fonts/fontname.otf);

What version of the product are you using? On what operating system?
v0.4.0 WinXP

Under template.css there is a missing "url(" in the font-face attribute...

Original issue reported on code.google.com by drlop...@gmail.com on 24 Mar 2011 at 10:56

GoogleCodeExporter commented 9 years ago
What template.css are you talking about?

Original comment by Strahinja.Markovic@gmail.com on 24 Mar 2011 at 11:28

GoogleCodeExporter commented 9 years ago
I'm pretty sure you're talking about an error in whatever epub file you opened. 
How is Sigil responsible for that?

Original comment by Strahinja.Markovic@gmail.com on 24 Mar 2011 at 11:34

GoogleCodeExporter commented 9 years ago
What I think is meant...

from 3.4
/* Times New Roman Font Family.  Regular, Bold and Italic */
   @font-face { font-family: "Times New Roman";
                font-weight: normal;
                font-style:  normal;
                src:         url(../Fonts/TimesNewRoman.ttf); }

and from 4b3
/* Times New Roman Font Family.  Regular, Bold and Italic */
   @font-face { font-family: "Times New Roman";
                font-weight: normal;
                font-style:  normal;
                src:../Fonts/TimesNewRoman.ttf); }

4b3 is no longer able to pick up the fonts.  When loading the file 4b3 seems to 
remove the 'url(' from the 'src:' css.

Check with my epub Template.

Original comment by shaun.voysey@outlook.com on 25 Mar 2011 at 12:49

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by Strahinja.Markovic@gmail.com on 1 Apr 2011 at 1:33