View Single Post
Old 09-20-2009, 03:41 PM   #25
pepak
Guru
pepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura about
 
Posts: 610
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-T3, Kobo Libra H2O
calibre-debug -c "from calibre.utils.fonts import test; test()"
Code:
[u'Arial',
 u'Courier New',
 u'Franklin Gothic Medium',
 u'Lucida Console',
 u'Lucida Sans',
 u'Lucida Sans Unicode',
 u'Marlett',
 u'Microsoft Sans Serif',
 u'Tahoma',
 u'Times New Roman',
 u'Trebuchet MS',
 u'Verdana',
 u'Wingdings']
{}
None
Pattern has 3 elts (size 16)
	family: "liberation serif"(s)
	slant: 100(i)(s)
	weight: 200(i)(s)
ebook-convert 1.txt 1.lrf --serif-family="Times New Roman"
Code:
1% Converting input to HTML...
InputFormatPlugin: TXT Input running on D:\Tmp\1.txt
InputFormatPlugin: HTML Input running on D:\Tmp\temp_calibre_txt_input_to_html.html
Language not specified
Creator not specified
Title not specified
Building file list...
34% Running transforms on ebook...
Merging user specified metadata...
Detecting structure...
Auto generated TOC with 0 entries.
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Cleaning up manifest...
Trimming unused files from manifest...
Creating LRF Output...
67% Creating LRF Output
Unable to find serif family Times New Roman
Processing u'temp_calibre_txt_input_to_html.html'
	Parsing HTML...
	Converting to BBeB...
LRF output written to D:\Tmp\1.lrf
Output saved to   D:\Tmp\1.lrf
pepak is offline   Reply With Quote