Book Editor - Font Subsetting does not recognize pseudo-element declarations

Bug #1373649 reported by Dion Graham on 2014-09-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Undecided
Unassigned

Bug Description

It appears that the editor does not recognize fonts when they are declared in pseudo-elements and will delete them from the book when subsetting.

eg:
@font-face {
  font-family: "Goudy-Initial";
  font-style: normal;
  font-weight: normal;
  src: url(../Fonts/GoudyIni.ttf);
  }

p.first:first-letter {font-family:Goudy-Initial, serif}

This font and the associated font-face declaration will be removed.

Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers