![]() |
#16 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
You left off the closing parenthesis in your @font-face definition, so the css doesn't parse. I noticed that in your post above, but thought you'd just failed to copy it over for the post. Also, you've added numbers to the end of the names of the font files that need to be removed.
So replace your font-face definitions with Code:
@font-face { font-family: "Times New Roman"; font-weight: normal; font-style: normal; src: url(../Fonts/Times New Roman Regular.ttf); } @font-face { font-family: "Times New Roman"; font-weight: bold; font-style: normal; src: url(../Fonts/Times New Roman Bold.ttf); } @font-face { font-family: "Times New Roman"; font-weight: normal; font-style: italic; src: url(../Fonts/Times New Roman Italic.ttf); } Use the css attribute text-indent:1 em to indent the first line of a paragraph. Embedding a bunch of non-breaking spaces isn't a good idea. |
![]() |
![]() |
![]() |
#17 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 802
Karma: 4727110
Join Date: Aug 2010
Location: Sweden
Device: Iriver Story
|
You're the man, Charleski! Thanks.
I still get some funny results. Stanza has not changed its behaviour. It gives me no italics but shows the pinyin correctly. Adobe works fine with both italics and pinyin. Calibre turns everything into italics, and shows the pinyin correctly, and my Iriver shows both italics and pinyin as it should. I must have missed the closing bracket once when I copied the @fontface statements, and not noticed it even when Valloric pointed out the small 'f' instead of a capital 'F' in the Fonts path. I'll have a look at what you mean by the numbers at the end of the names of the font files. Don't know where they came from. And I noticed the non-breaking spaces and assumed this was added by either calibre or sigil and wondered why ems weren't used, but was more concerned with getting the pinyin and italics showing, so I didn't do anything about that. Now I'll try and learn how to do that, and Zelda's epub of TMOAB should help me there. Anyway, you've solved my problem for me, and I'm extremely grateful. Now I'll set about including the jpegs in the appropriate place, and I can load my own novel onto my own ebook reader, and maybe even upload it somewhere and see if it wakes any interest. Thanks again. |
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Just for the record, Sigil does not add nbsps to the start of paragraphs.
|
![]() |
![]() |
![]() |
#19 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,936
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Stanza does not support embedded fonts. Stanza should be avoided at all costs. Stanza uses a sub-par rendering engine that needs a lot of work to fix it.
|
![]() |
![]() |
![]() |
#20 | |
Booklegger
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,801
Karma: 7999816
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
|
Quote:
Not the embedded fonts part, the sub-par part. When will we create a suite of conformance tests? |
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,936
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The problem is that the only real test for ePub is not a real test. That would be ePubCheck. Just because it passes does not mean it works and just because it fails doesn't mean it doesn't work.
|
![]() |
![]() |
![]() |
#22 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 802
Karma: 4727110
Join Date: Aug 2010
Location: Sweden
Device: Iriver Story
|
Quote:
Any suggestions for what might be more appropriate as a tool for testing epub files one creates oneself, apart from Adobe, of course, and the reading part of Calibre. Can't remember whether Sigils divided screen shows exactly what one has ordered, but that might be another one to use. |
|
![]() |
![]() |
![]() |
#23 | |
Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 345
Karma: 3473
Join Date: Apr 2007
Location: Brooklyn, NY, USA
Device: iRex iLiad v1, Blackberry Tour, Kindle DX, iPad.
|
Quote:
I actually don't use Stanza very much, but I did notice that it implements hyphenation, which no other e-reader does (as far as I know). So based on that, I thought that they were actually a bit ahead of the competition. On the other hand, their hyphenation implementation is really quite poor. |
|
![]() |
![]() |
![]() |
#24 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,936
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#25 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,936
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#26 |
temp. out of service
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,813
Karma: 24285242
Join Date: May 2010
Location: Duisburg (DE)
Device: PB 623
|
wasn't lack of support of SVG book covers also one of them?
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Embedded fonts, Calibre, and choice of fonts | AlexBell | ePub | 8 | 05-30-2010 06:00 AM |
iPad Embedded Fonts | JSWolf | Apple Devices | 24 | 04-26-2010 02:41 PM |
Embedded fonts in epub | erik5000 | ePub | 7 | 12-08-2009 11:55 AM |
Using embedded fonts with italics only | sherman | Calibre | 2 | 06-27-2009 04:32 AM |
ePub + Embedded Fonts | Cygfrydd | ePub | 11 | 03-02-2009 05:56 PM |