|  09-26-2017, 04:46 AM | #1 | 
| Wizard            Posts: 2,625 Karma: 3120635 Join Date: Jan 2009 Device: Kindle PW3 (wifi) | 
				
				Suppressing font-face declarations
			 
			
			Hi Within the "Tools" menu, could it be possible to enable the "Filter style information" window to destroy some @paragraphs we find in the stylesheets, mainly @font-face declarations of this kind: Code: @font-face {
  font-family: "LinLibertineSC-G30";
  src: url(../Fonts/LinLibertineSC-G30-Regular.ttf);
  font-weight: normal;
  font-style: normal;
  } | 
|   |   | 
|  09-26-2017, 05:06 AM | #2 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			I'm not sure I understand. If you want to remove a font from a book, use the Font manager and click remove selected font. It will automatically remove the @font-face rule for you. Or use the subbset fonts which will go also automatically remove all unused fonts.
		 | 
|   |   | 
| Advert | |
|  | 
|  09-26-2017, 05:46 AM | #3 | 
| Wizard            Posts: 2,625 Karma: 3120635 Join Date: Jan 2009 Device: Kindle PW3 (wifi) | 
			
			You're right. Sorry.    | 
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| @font-face is not embedded | iliakan | Conversion | 2 | 01-12-2015 02:29 AM | 
| Editing stylessheet containing @font-face entry crashes edit book | DrChiper | Editor | 9 | 07-12-2014 06:40 AM | 
| @media amzn-kf8 and @font-face | phossler | Calibre | 2 | 12-21-2013 11:25 AM | 
| Kindle Previewer Font Face grayed out? | katl | Kindle Formats | 7 | 05-01-2013 05:44 PM | 
| Am I using @font-face correctly? | phossler | Sigil | 12 | 11-30-2012 04:38 PM |