Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 02-06-2011, 05:09 AM   #1
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
epub to mobi - keep non proportional font ?

working with guitar / bass tab which is written for non proportional fonts [Non-proportional fonts, also known as monospaced fonts, assign exactly the same amount of horizontal space to each character. Monospaced fonts are ideal for creating tables of information where columns of characters must be aligned. Text created with non-proportional fonts often look as though they were produced on a typewriter. Two commonly-used non-proportional fonts are Courier and Monaco on the Macintosh and Courier New and FixedSys on Windows.]


looks good in epub:
note that epub source has courier new font explicitly set

span.sgc-1 {font-family: 'Courier New'; font-size: 11px;}


- in other fonts such as default below, the display will look wrong
intro [Pick up]
G|-----| |-------|
D|-----| X15 |-------|
A|-----| |-------|
E|-----| |-0-1-2-|
but looks good in calibre epuib viewer.

when I convert epuib to mobi & re-view, the mobi version is no longer using a proportional font so the output looks awful for Kindle.

HOw can I force mobi to use non proportional font ?
cybmole is offline   Reply With Quote
Old 02-06-2011, 05:21 AM   #2
Perkin
Guru
Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.
 
Perkin's Avatar
 
Posts: 655
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
For the whole book to be in that font...

In Conversion settings, 'Look and Feel' - 'Extra CSS' put

body {font-family: 'Courier New'; font-size: 11px;}
Perkin is offline   Reply With Quote
Advert
Old 02-06-2011, 05:52 AM   #3
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
no joy - mobi output is still rubbish in calibre viewer:

intro [Pick up]
G|-----| |-------|
D|-----| X15 |-------|
A|-----| |-------|
E|-----| |-0-1-2-|

I've condensed the tab for space, but most of it is constant 8th notes.
This is what bass plays at famous guitar line.
|---------------------------------|
|---------------------------------|second time, instead of 3301, play 3012.
|--------------------3331---------| X2
|33333333333333333333-----3333301-|


maybe its a calibre viewer config issue though - I see that defaults to times new roman but I can force it to courier new......

nah it's rubbish when opened in kindle for PC so it goes bad at mobi conversion stage not at viewer sstage

Last edited by cybmole; 02-06-2011 at 05:58 AM.
cybmole is offline   Reply With Quote
Old 02-06-2011, 06:11 AM   #4
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
When you have mobi problems like this it's usually best to suspect the Mobi format/Amazon is at fault, because they usually are:

http://www.knowing.net/index.php/200...-improvements/
http://forums.kindledirectpublishing...essageID=10385

Looks like if you put your chords in <pre> or <code> tags they might look ok on the Kindle. I'd suggest asking in the Kindle/Mobi sub-forums for more detail.

Last edited by ldolse; 02-06-2011 at 06:14 AM.
ldolse is offline   Reply With Quote
Old 02-06-2011, 08:16 AM   #5
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by cybmole View Post
looks good in epub:
note that epub source has courier new font explicitly set

span.sgc-1 {font-family: 'Courier New'; font-size: 11px;}
Does it work any better if you Tweak-epub to the more generic
Code:
span.sgc-1 {font-family: monospace; font-size: 11px;}
before converting EPUB to MOBI?
jackie_w is offline   Reply With Quote
Advert
Old 02-06-2011, 08:38 AM   #6
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
The attached zipped sample of HTML converts to a MOBI which looks OK to me in Kindle for PC and the calibre Viewer.

I don't have a Kindle so I can't test any further.
Attached Files
File Type: zip Guitar.zip (1.8 KB, 325 views)
File Type: mobi Guitar.mobi (3.3 KB, 326 views)
jackie_w is offline   Reply With Quote
Old 02-06-2011, 09:14 AM   #7
dwig
Wizard
dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.
 
dwig's Avatar
 
Posts: 1,613
Karma: 6718479
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
Quote:
Originally Posted by jackie_w View Post
...
I don't have a Kindle so I can't test any further.
Use the Kindle Previewer for a much more accurate preview of the display on a Kindle device. Check out: http://www.amazon.com/gp/feature.htm...cId=1000234621

BTW, the .MOBI file looks good in Kindle Previewer at the small font sizes. I would definitely recommend that you avoid any and all indents in the .monospace style. The long lines wrap less often when you don't waste valuable screen space with the indent.
dwig is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing font color HTML-MOBI Nuple Calibre 2 12-08-2010 01:09 AM
Different font sizes in mobi? veezh Kindle Formats 3 08-22-2010 04:28 AM
Smallest font size in Mobi hkdorama Kindle Formats 0 07-26-2010 04:07 AM
How about more font sizes with mobi? tselling Astak EZReader 22 11-21-2009 01:51 AM
Large and un-proportional PDF bellosguardo Sony Reader 0 07-10-2009 03:46 PM


All times are GMT -4. The time now is 05:59 PM.


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