12-07-2014, 04:15 AM | #1 |
Member
Posts: 23
Karma: 10
Join Date: Apr 2014
Location: Paris
Device: ipad 2, Ubuntu
|
[SOLVED] e-book viewer: images don't resize according the zoom factor
In the e-book viewer, although I define the width, height and vertical-align of an image in "em" (and not in pixels), when I click on one of the two buttons "bigger" or "smaller", the images don't resize in accordance with the size of the font. It seems that e-book viewer does not update the em when you change the zoom factor (it works well by example in iBooks or Gitden Reader).
Is it a bug or a feature? Thanks for all. Denis Last edited by dmonasse; 01-06-2015 at 11:29 AM. Reason: Problem solved |
12-07-2014, 06:15 AM | #2 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
The two buttons are Increase font size and Decrease font size. There is no on the fly image zoom in the viewer. You can enter a custom css in the viewer preferences that could in theory zoom all images by 150%. I am not a html / css expert so you would have to research that aspect.
|
Advert | |
|
12-07-2014, 08:05 AM | #3 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If you want to see a zoomed up version of the image, right click on it and choose to open it in a separate window.
|
12-07-2014, 08:44 AM | #4 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
|
12-07-2014, 01:25 PM | #5 |
Member
Posts: 23
Karma: 10
Join Date: Apr 2014
Location: Paris
Device: ipad 2, Ubuntu
|
Sorry, but that does not solve my problem. I insert in the text some images (by example mathematical formulas when I don't want to use MathML) an it is critical that, when I apply a zoom factor to the font, the same zoom factor applies to the image (that's the reason why I set the sizes of the image in em and not in pixel). I think it is natural that when I change the size of the fonts, the em change accordingly, don't you think so? Chrome, Firefox, iBooks and Gitden Reader work in this way.
Thanks for all (and for your quick response). Denis |
Advert | |
|
12-07-2014, 07:06 PM | #6 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Do you realize that Kovid's answer allows you to zoom in on any image? It may not be your ideal but it does work well.
|
12-08-2014, 10:10 AM | #7 |
Member
Posts: 23
Karma: 10
Join Date: Apr 2014
Location: Paris
Device: ipad 2, Ubuntu
|
Do not get angry. I appreciate very much Kovid's work. It was just a suggestion and I was not aggressive. If some day .....
|
12-08-2014, 11:09 AM | #8 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
|
12-09-2014, 12:46 AM | #9 |
Wizard
Posts: 1,759
Karma: 30063305
Join Date: Dec 2006
Location: Singapore
Device: Boyue
|
Uncalled for post sorry was in a mood took it out on you
Last edited by Dopedangel; 12-09-2014 at 08:41 AM. |
12-09-2014, 02:12 AM | #10 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
......
My point was one of clarification. When you follow Kovid's advice the image does not zoom by itself. I simply inquired if he realized that once opened in the other window that the image can indeed be zoomed to any size required. And since he never answered my question I still do not know if he is aware of this fact. So you are the arbitrator of what is and is not required? Good to know. |
12-09-2014, 10:56 AM | #11 |
Member
Posts: 23
Karma: 10
Join Date: Apr 2014
Location: Paris
Device: ipad 2, Ubuntu
|
I don't want any polemic and I understand that, in the Navy, the language may be a bit rude. I'm just a mathematics and computer science teacher and perhaps my english is not so good (I never learnt it at school, just german, latin and greek). Sorry for the inconvenience.
But I have to explain precisely my difficulties. I insert in the text some images (mathematical or chemical formulas, and so on). By example, look at the following in ebook viewer without zooming: If I apply a positive zooming, I obtain the following result: and with a negative zooming Look at the html original code Code:
Soit <span style='display:inline-block; vertical-align:-0.211em; width:5.263em; height:1.105em;'><img src='exosetoiles_pict_463.png' style='width:100%;'/></span>. On suppose que tous les coefficients de <span style='display:inline-block; vertical-align:0.000em; width:0.711em; height:0.895em;'><img src='exosetoiles_pict_18.png' style='width:100%;'/></span> sont des entiers naturels et que l'ensemble <span style='display:inline-block; vertical-align:-0.316em; width:13.816em; height:1.316em;'><img src='exosetoiles_pict_464.png' style='width:100%;'/></span> est fini. Montrer que <span style='display:inline-block; vertical-align:0.000em; width:0.711em; height:0.895em;'><img src='exosetoiles_pict_18.png' style='width:100%;'/></span> est une matrice de permutation. As you see, zooming the image in another window is not always the solution. Thanks in advance for any help. Denis Last edited by dmonasse; 12-09-2014 at 10:59 AM. |
12-09-2014, 04:00 PM | #12 | |
null operator (he/him)
Posts: 20,570
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
This optional calibre PI ==>> [GUI Plugin] Open With (← click) provides the wherewithal to open file types in alternate programs (including jpeg for the editing of covers), its similar in function to the Windows Open With, with the added feature that they can be given keyboard shortcuts. I have Sigil, ADE and EPUBReader (firefox extension) in there for EPUB; if/when I can figure out how, I'll have Readium (chrome extension) in there too There are web sites that will convert an image of a formula to mathML, I've used them a couple of times with some success. Disassociating images from the adjacent text into a separate window also doesn't work effectively for traditional graphs and infographs. But it is good for maps because one often wants to refer to them repeatedly. However, I would prefer that my default image viewer be used rather than the one provided by calibre. BR |
|
12-09-2014, 07:47 PM | #13 |
Grand Sorcerer
Posts: 12,167
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Wouldn't you be best finding a TrueType font that included all the math symbols and just using that instead of images?
|
12-09-2014, 09:54 PM | #14 | ||
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
Quote:
BetterRed offers an excellent alternative, explaining how to open your book in another program that might suit your needs better. Good Luck. |
||
12-10-2014, 04:10 AM | #15 |
Member
Posts: 23
Karma: 10
Join Date: Apr 2014
Location: Paris
Device: ipad 2, Ubuntu
|
I understand. I will advise readers of the books from my publisher house to use Readium instead Calibre on a computer. It's a shame because in many ways Calibre is much better. I didn't believe it was so difficult to correct this point of detail: redefine the "em" to make it coherent with the font size. I understand that Kovid has many other things to do. May be in the future? Thanks for all.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Two suggestions: Background color + zoom in images viewer/editor | arspr | Editor | 7 | 08-05-2014 04:41 PM |
Looking for freeware to batch resize images. | GoldThreader | Workshop | 10 | 04-23-2012 12:58 PM |
resize images ? | cybmole | Sigil | 5 | 04-03-2011 08:27 AM |
Images Folder - Resize files | Fossil | Sigil | 9 | 07-24-2010 11:36 AM |