06-03-2013, 10:28 PM | #1 |
Junior Member
Posts: 9
Karma: 10
Join Date: May 2013
Device: PocketBook Basic (613)
|
Spaces vs. kerning for laying out quotes and symbols?
Hi all,
I've read some threads here about using the various spaces in unicode to layout quotes and nested quotes in various languages. Is that better and more supported than editing the kerning in a typeface and embed it with @font-face in the CSS? Last edited by jackwoe; 06-03-2013 at 10:28 PM. Reason: Grammar. |
06-04-2013, 03:40 AM | #2 |
frumious Bandersnatch
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
I prefer kerning, but not embedding the font.
Do not alter the book text adding specific spacing that will look nice in this or that font on this or that reader, but rather rely on the device's font rendering to do the right thing. Sure most devices will have a crappy font with no proper kerning, but that's not the book's fault. Personally, I edit my preferred font to fix kernings and upload it to my device, so I can use it for every book (without embedding). |
06-10-2013, 02:31 PM | #3 |
Junior Member
Posts: 9
Karma: 10
Join Date: May 2013
Device: PocketBook Basic (613)
|
I was actually thinking of the French spacing for punctuation.
Unfortunately, I was unable to showcase language sensitive kerning. I don't know if I simply did it wrong, or if neither Firefox nor my ereader support it. The idea was to embed a font with a negative kerning between and ! and other punctuation for the French spacing rules, sensitive only when xml:lang="fr" is in effect. But that's something I'll come back to later I suppose. |
06-11-2013, 05:44 AM | #4 | |
frumious Bandersnatch
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Oh, that... what a nightmare
In this case I'm more pragmatic and add thin non-breaking spaces where needed. Quote:
|
|
06-12-2013, 12:23 PM | #5 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
The easiest method to get a narrow space is to shrink the font size for nbsp to the value you want using a span. All the other methods will be more complicated and less likely to work.
|
Tags |
@font-face, css, spaces, typeface, unicode |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Change single quotes to double quotes | Elfwreck | Workshop | 16 | 04-26-2013 10:06 AM |
Free story (Kindle UK) Six Geese A-Laying [Festive Chick-Lit] | ATDrake | Deals and Resources (No Self-Promotion or Affiliate Links) | 5 | 12-13-2011 12:51 PM |
Single quotes to double quotes? | lunixer | General Discussions | 35 | 10-10-2010 05:47 AM |
convert straight quotes to curly quotes | alansplace | Calibre | 3 | 09-25-2010 03:51 PM |
Sony laying off 8000 workers | Elsi | News | 1 | 12-09-2008 10:26 AM |