07-21-2009, 04:42 PM | #1 |
Fanatic
Posts: 527
Karma: 1048576
Join Date: May 2009
Device: bebook; prs-950; nook simple touch; HTC Jetstream tablet
|
font size in table
I have a simple table that works in my PC MobiReader and in my Bebook Lbook firmware; however, although the table is ok in both, the font size does not carry through into the Bebook although it is fine in MobiReader:
<TABLE WIDTH=100%> <TR> <TD WIDTH=50% VALIGN="TOP" > <div style="font-size:.5em"><P><CENTER>Text</CENTER></P><P><CENTER>Text</CENTER></P><P><CENTER>Text</CENTER></P></div> </TD> <TD WIDTH=50% VALIGN="TOP" > <div style="font-size:.5em"><P><CENTER>Text</CENTER></P><P><CENTER>Text</CENTER></P><P><CENTER>Text</CENTER></P></div> </TD> </TR> </TABLE> Does anyone know how to make the font size change work in Lbook firmware? Bob |
07-21-2009, 06:38 PM | #2 |
Fanatic
Posts: 527
Karma: 1048576
Join Date: May 2009
Device: bebook; prs-950; nook simple touch; HTC Jetstream tablet
|
To tentatively answer my own question after looking at the settings options for prc files on my bebook with Lbook firmware, it seems that unlike with my fb2 files that allow changing font sizes, with prc files only one font size is allowed. Thus smaller or larger font sizes in a table is not possible (?)
I guess a better question, then, is this problem unique to the Lbook firmware or is it a feature of all prc files on an ebook reader regardless of firmware? Bob |
Advert | |
|
07-21-2009, 09:53 PM | #3 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
MobiPocket does not internally support font-size, but MobiPocket Creator is probably converting it to something that MOBI handles. What MOBI has natively is the big and small tags, from Kindle Formatting: The Complete Guide by Joshua Tallent:
Code:
<p><small><i>The Four Million</i>, copyright © 1906 by O. Henry.</small></p> You could also try your original version but run through Calibre to convert it to MOBI. Calibre does a better job than MobiPocket Creator on converting HTML tags and styles to MOBI. Since the Hanlin only has 3 font sizes for MOBI, I'm not sure how these are mapped. I'm pretty sure you would need to be on the middle or large size for a smaller font request to have any effect. Most other devices using the Java MobiPocket Reader have many more font sizes than this. |
07-22-2009, 03:21 AM | #4 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Table support in many versions of the Mobi Reader is very poor; FBReader does not support tables at all. The CyBook (randomly) seems to ignore column width specifications - the identical HTML code sometimes has its columns correctly sided, and other times does not.
My experience is that if you really must use tables in a Mobi document, keep them as simple as possible. If you have a small, single-page, table, it may be better to replace it with a graphic. |
07-22-2009, 04:52 PM | #5 |
Fanatic
Posts: 527
Karma: 1048576
Join Date: May 2009
Device: bebook; prs-950; nook simple touch; HTC Jetstream tablet
|
Thanks for the info, Harry. Actually I had tried "small" also among my many experiments and that did not work either (although the table text stayed the same size when I used the enlarge font button.) It's too bad that hanlin has such a few font sizes, esp. compared to the fb2 format that I like much better for reading but doesn't ever seem to make it to MobileRead uploads.
I reinstalled my BeBook firmware in place of the Lbook one, but prc still did not have any font size change in the ok button options; the only font size change comes from the magnify button. Bob |
Advert | |
|
07-22-2009, 04:59 PM | #6 |
Fanatic
Posts: 527
Karma: 1048576
Join Date: May 2009
Device: bebook; prs-950; nook simple touch; HTC Jetstream tablet
|
[QUOTE=wallcraft;529016]MobiPocket does not internally support font-size, but MobiPocket Creator is probably converting it to something that MOBI handles. What MOBI has natively is the big and small tags, from Kindle Formatting: The Complete Guide by Joshua Tallent:
Code:
<p><small><i>The Four Million</i>, copyright © 1906 by O. Henry.</small></p> Thanks Wallcraft - I'll experiment more but even though Kindle mobi supports "small", I don't see much evidence that Hanlin mobi does, at least in a table. I'll have to experiment more with a trial document and nested tags. Bob |
07-23-2009, 07:54 AM | #7 |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
I've used <font size="+1"> and <font size="-1"> with success... I think I haven't tried larger numbers.
|
07-23-2009, 08:08 AM | #8 |
Grand Sorcerer
Posts: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
|
I believe the problem is with the "font-size:.5em"
The "font-size: x-small" (and other steps) work |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't change font or font size in ereaders | jmacg | Sigil | 30 | 10-23-2010 09:21 PM |
fixed table size | JiYu | Amazon Kindle | 4 | 09-26-2010 12:02 PM |
PRS-300 Med font size too big, but small font size too small | eli2k | Sony Reader | 4 | 05-28-2010 09:47 AM |
Font Size | notebook | Sigil | 0 | 11-29-2009 12:18 PM |
Font Size | HawaiianLungs | Sony Reader Dev Corner | 6 | 04-25-2009 08:51 PM |