05-20-2013, 03:55 AM | #76 |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
You cannot change (in the font) the line-spacing in relation to the em-size. But you can change the glyph sizes in relation to the em-size, and therefore change the line-spacing in relation to the glyph sizes.
|
05-20-2013, 09:39 AM | #77 | |
Enthusiast
Posts: 36
Karma: 8164
Join Date: Jul 2012
Device: Kindle Keyboard
|
Quote:
It doesn't matter whether you call it line-height, line-spacing, or leading, it does not change based on the metrics of the font. |
|
Advert | |
|
05-20-2013, 10:52 AM | #78 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
You're arguing semantics, while others are describing changes to certain fonts that will make lines of text rendered in that font appear to have less empty space between them. The visual effect that the "font metric changers" are able to achieve is quantifiable. Call it whatever the hell you want.
|
05-20-2013, 11:43 AM | #79 | ||
Enthusiast
Posts: 36
Karma: 8164
Join Date: Jul 2012
Device: Kindle Keyboard
|
Quote:
Quote:
|
||
05-20-2013, 12:15 PM | #80 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Whatever. You're being overly obtuse. Have at it.
|
Advert | |
|
05-20-2013, 01:33 PM | #81 | |
Resident Curmudgeon
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
So what would you call the fact that one has a grater space between the lines the other and all that was changed was some of the font metrics? |
|
05-20-2013, 03:41 PM | #82 | |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
If I were your child I would indeed say that what was before a very high ceiling for me is now not high enough. Note that a reader (the human one) will often set the font size so that it looks right, he/she won't really care or notice if the nominal size is 12pt or 20pt, as long as the glyphs have the right size... |
|
05-20-2013, 04:09 PM | #83 |
Enthusiast
Posts: 36
Karma: 8164
Join Date: Jul 2012
Device: Kindle Keyboard
|
JSWolf, what font metrics did change to achieve that effect? I will happily admit that I'm wrong if you can send me a font that behaves this way.
|
05-20-2013, 04:51 PM | #84 | |
Resident Curmudgeon
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
For KF8 I changed Typo Ascender/Typo Descender, Win Ascent/Win Descent, and Ascender/Descender. All it takes is some experimenting to get the values you want so you don't have to use line height in CSS. It also makes KF8 usable as the line height displayed won't be too large. Take a look at my modified Charis SIL versions. They have two different line heights when used on a Kindle with KF8. https://www.mobileread.com/forums/sho...d.php?t=184056 Last edited by JSWolf; 07-18-2016 at 03:52 PM. |
|
06-03-2013, 04:30 AM | #85 |
eBook DIYer
Posts: 111
Karma: 10
Join Date: Oct 2012
Location: Europe
Device: K4, KF HD 8.9, Readium
|
The align attribute for img to define the vertical alignment doesn't pass FlightCrew ePub check. I use it in HTML coding to align a formula with the text: Exemple:
Code:
<p>La potencia <img src="potencia.gif" alt="Cálculo de potencia" align="middle" /> en vatios </p> Last edited by abeonis; 06-03-2013 at 04:41 AM. Reason: Clarification |
06-03-2013, 05:28 AM | #86 | |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
|
|
06-03-2013, 09:45 AM | #87 | |
eBook DIYer
Posts: 111
Karma: 10
Join Date: Oct 2012
Location: Europe
Device: K4, KF HD 8.9, Readium
|
Quote:
So ... WIDTH and HEIGHT attributes are supported. ALIGN attribute is not. Is there a place in internet where I can find all this information? I didn't find it with Google. |
|
06-03-2013, 10:28 AM | #88 |
Well trained by Cats
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
width and height give the same kind of error for me in flight crew and have the same in line solution. Me, I just use a class=blalblah instead of a long multi-attribute inline
|
06-03-2013, 11:15 AM | #89 |
eBook DIYer
Posts: 111
Karma: 10
Join Date: Oct 2012
Location: Europe
Device: K4, KF HD 8.9, Readium
|
width and height attributes don't give me any error in FliightCrew. I am OK to put everything in a class except for width and height, I don't want to create a class each time I use an image with different dimensions.
|
06-03-2013, 11:26 AM | #90 |
Fanatic
Posts: 580
Karma: 810184
Join Date: Sep 2010
Location: Norway
Device: prs-t1, tablet, Nook Simple, assorted kindles, iPad
|
Personally, I prefer to create an id for every image, and specify the size in the style sheet. Then nobody can accuse me of not separating content and display attributes Somehow it also seems tidier to lump all image attributes together in one corner of the stylesheet.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error: "can only concatenate list (not "unicode") to list" | bmuesse | Library Management | 2 | 01-11-2013 03:50 PM |
epub "padding left" to mobi "block quote" conversion issue | 1611mac | Conversion | 3 | 01-11-2012 02:10 PM |
Convertion error txt to epub "IndexError: list index out of range" | economix | Conversion | 6 | 12-25-2011 06:14 AM |
How to remove "Fully read" books from "Last Open" list? | pjeanetta | PocketBook | 4 | 12-08-2010 10:30 AM |
Suggestion: Don't set "color" tag in .epub css | McAlsop | Calibre | 16 | 06-17-2010 09:13 AM |