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

Bug #1373649 reported by Dion Graham
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
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.

Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.