Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-05-2010, 11:57 PM   #1
adrian783
Junior Member
adrian783 began at the beginning.
 
Posts: 8
Karma: 12
Join Date: Jun 2010
Device: Kobo
Bug: Calibre doen't include 'src' in css

when converting from txt to epub, i noticed that calibre ignores the 'src' line.
for example: when use the below css to link fonts, it'll fail due to the fact that src doen't get included in the epub

Code:
@font-face {
	font-style: italic;
	font-family: 'LiberationSerif', serif, sans-serif;
	font-weight: normal;
	src: url(res:///system/media/sdcard/my fonts/LiberationSerif-Italic.ttf);
}
@font-face {
	font-style: normal;
	font-family: 'LiberationSerif', serif, sans-serif;
	font-weight: normal;
	src: url(res:///system/media/sdcard/my fonts/LiberationSerif-Regular.ttf);
}
@font-face {
	font-style: italic;
	font-family: 'LiberationSerif', serif, sans-serif;
	font-weight: bold;
	src: url(res:///system/media/sdcard/my fonts/LiberationSerif-BoldItalic.ttf);
}
@font-face {
	font-style: normal;
	font-family: 'LiberationSerif', serif, sans-serif;
	font-weight: bold;
	src: url(res:///system/media/sdcard/my fonts/LiberationSerif-Bold.ttf);
}
body {
	margin-right: 8pt;
	font-family: 'LiberationSerif', serif;
}


Read more: http://nookdevs.com/Font_Changes#ixzz0srpBRrwN
Under Creative Commons License: Attribution Non-Commercial Share Alike
can someone confirm this?
adrian783 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
iPad ePub, CSS : Bug with 'position:relative' property ? Ereskelios Apple Devices 3 09-29-2014 08:53 AM
Opus Fonts directory for Calibre -> External CSS fiery Bookeen 12 02-20-2011 11:05 PM
Calibre bug? pedz Calibre 1 04-03-2010 12:48 AM
Small html/css bug twaits Calibre 5 01-12-2010 11:26 AM
css drop caps coming out of calibre brewt Calibre 3 01-18-2009 05:00 PM


All times are GMT -4. The time now is 04:35 PM.


MobileRead.com is a privately owned, operated and funded community.