|
|
#1 |
|
Enthusiast
![]() Posts: 36
Karma: 10
Join Date: Mar 2011
Device: none
|
So where do I put it and what code are they?
|
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,690
Karma: 772746
Join Date: Sep 2010
Device: Sony PRS 650, Kindle for PC
|
you can see how t font size is defined from your picture - just add it / amend it for other styles. look at book code to see what styles are being used & where.
I don't use font-types : command but it has similar syntax - google font-type css |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,419
Karma: 1040308
Join Date: Jan 2009
Device: Kindle, iPad (not used much for reading)
|
You may not want to specify the font or the base size, as then you might not be able to modify it on the ereader or app. If this is for just your own use, then fine, but if potentially for other users, leave it to be adjusted by the user.
|
|
|
|
|
|
#4 |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 455
Karma: 1152752
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Amazon Kindle 3 Wi-Fi & B&N Nook Tablet & B&N Nook HD+
|
You should be able to see font-size on each of several different classes in your css. Different classes may possibly have different size text. chaptertitle may have a size of 1.5 while "normal" text may be 1. Depending on what text it is you're wanting to change, how many classes your epub had, where and how they're used, you may only need to modify one or a very few classes or you may need to modify many. You'll need to look through the epub to determine that.
- Byron |
|
|
|
|
|
#5 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,690
Karma: 772746
Join Date: Sep 2010
Device: Sony PRS 650, Kindle for PC
|
most e reader devices replace all fonts with their own built-in fonts anyway - certainly both Kindle & Sony readers do - so focus mainly on font sizes,
there is in HTML / EPUB an option to use "simple" font sizes of small , large etc rather than precise measurements. also text in header tags will default to being larger than text in paragraphs without you specifying it in detail. |
|
|
|
|
|
#6 | |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 455
Karma: 1152752
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Amazon Kindle 3 Wi-Fi & B&N Nook Tablet & B&N Nook HD+
|
Quote:
You can set your own size/weight/color/whatever for your headers. I rarely like how large some of the larger headings get so I set my own size. |
|
|
|
|
|
|
#7 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,754
Karma: 2485852
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
I have specified size for headers. Some of this is to allow nested TOC entries based upon H#, and to keep the size down to fit a 5" device.
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
|
#8 |
|
Enthusiast
![]() Posts: 36
Karma: 10
Join Date: Mar 2011
Device: none
|
Thanks for the reply.
------------- there is in HTML / EPUB an option to use "simple" font sizes of small , large etc rather than precise measurements. Where do I get this option? |
|
|
|
|
|
#9 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,754
Karma: 2485852
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
How well it is supported on your (and other) readers ?
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
|
#10 |
|
Enthusiast
![]() Posts: 36
Karma: 10
Join Date: Mar 2011
Device: none
|
Oh thanks.
------------- But editing format in Sigil is a tedious work especially there are many styles. Can I do the formating in a word processing program and still have the same results? |
|
|
|
|
|
#11 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,754
Karma: 2485852
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
in the first placeWord processors tend to make trashy conversions ![]() There is no reason a simple book should have more than 10 styles. Body cover style titlepage style Chapter title block style First Paragraph (optional), dropcap (optional) regular paragraphs (can be default body stle. so redundent scene break style fine-print style (copyright, raves)
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
|
#12 |
|
Enthusiast
![]() Posts: 36
Karma: 10
Join Date: Mar 2011
Device: none
|
But which is better in formating Sigil or Word? In terms of ePub and PDF.
|
|
|
|
|
|
#13 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,754
Karma: 2485852
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
![]() PDF is a PAPER Print format, NOT a re-flowable, 'reader' format, therefor TERRIBLE for ebooks on smaller screens. WORD is also for creating documents that have NO LAYOUT RESTRICTIONS. EPUB is a special set of XHTML. The minute you include a an 'illegal command' in your Word document, your perceived formatting advantage is blown
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
|
#14 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,690
Karma: 772746
Join Date: Sep 2010
Device: Sony PRS 650, Kindle for PC
|
my sony prs650 had in issue with a font name & style arial italic bold font.
I was reading a tweaked book, which looked fine in sigil & in calibre, but on the sony my chapter titles had vanished! I checked the CSS and the chapter titles were explicity set , with a style of arial and also of italic , as well as being tagged as <h2> once I removed the font name from CSS ,and also removed the italic for good measure, & re-sent to sony all was well again. |
|
|
|
|
|
#15 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,754
Karma: 2485852
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to change .article_description font size? | tfeld | Recipes | 0 | 12-30-2010 05:32 PM |
| Can't change font or font size in ereaders | jmacg | Sigil | 30 | 10-23-2010 09:21 PM |
| Change font size? | Jabby | Sigil | 1 | 10-23-2010 05:59 PM |
| Font Size Change | Phonella | Calibre | 10 | 01-28-2009 12:46 PM |
| LRF Font Size Change | Brandon202000 | Sony Reader | 5 | 12-04-2007 05:53 PM |