08-04-2012, 03:41 PM | #1 |
ebooknut
Posts: 297
Karma: 688154
Join Date: Oct 2011
Device: Kindle Voyage & Oasis
|
Adobe New Open Source Font Doesn't Render in ADE?
Adobe has a new open-source font:
http://blogs.adobe.com/typblography/...-sans-pro.html http://store1.adobe.com/cfusion/stor...kage&code=1959 However, when I embedded it in a test epub, it failed to render in ADE and on my Sony T1. It does, however, render in Calibre's Ebook-Viewer (but with inconsistent results for italic and bold). I tried both ttf and otf versions. I also included a third open font (Fontin) as a control, and Fontin renders fine. The epub also validates using EpubCheck and FlightCrew and the CSS validates using the W3C validator. Any ideas? Thanks! Last edited by pssquirrel; 08-09-2012 at 10:51 PM. |
08-04-2012, 05:16 PM | #2 |
Grand Sorcerer
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Ironic isn't it? Adobe releases a free font that won't work in their own desktop ePub renderer.
ADE is quite finicky when it comes to embedded fonts. There are many examples of fonts that work practically everywhere but ADE. I've found that most of the time ... the OS/2 version property of the font is the culprit. Seriously. I know ... crazy, right? Fontforge seems to default to OS/2 version 4 if the setting is left to automatic when generating the TrueType or OTF fonts, and I've never found a font yet saved as OS/2 version 4 that will work in ADE (when embedded in an ePub). Ever. Long story short: open the font in FontForge, check the Font Info (Element menu) and confirm that they are OS/2 version 4, change to version 3 and re-generate the font. Bingo, bango, bongo... embedded font now works in ADE (any OS/2 version less than 4 seems to be the key here. The Fontin font—for example—is OS/2 version 1). I fixed the TTF fonts and attached them if you want to verify that it works. Hope that helps. [Removed Links to modified fonts] Last edited by DiapDealer; 08-09-2012 at 06:18 PM. |
Advert | |
|
08-04-2012, 10:34 PM | #3 |
ebooknut
Posts: 297
Karma: 688154
Join Date: Oct 2011
Device: Kindle Voyage & Oasis
|
DiapDealer! Your fixed fonts work great! (and I'm relieved it wasn't an html or css error on my part -- I double-checked and triple-checked. It was really making me crazy.)
I checked out Fontforge. Sadly, the install instructions went way over my head. I hesitate to impose, but if it's not too much trouble, might I persuade you to fix the semi-bold, semi-bold italic, black and black-italic versions of this font? If it's not too much trouble, I would be eternally grateful. Last edited by pssquirrel; 08-09-2012 at 10:51 PM. |
08-04-2012, 11:51 PM | #4 |
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
|
A bit of exercise for a quiet Saturday night... useful, I hope.
Here's the complete set of TTF files. It's easy, once you figure out that reviewing the errors (self-intersecting and missing extremity points) doesn't also save the file. I hope those errors don't cause problems; I haven't taken the time to embed these in something to check them - at all. The affected characters seemed to be out of the usual ranges. Also, this was my first attempt at generating a font; usually I just go in to check coverage. So please let me know if anything needs fixing. I hope I haven't wasted anyone's time but my own. [Download link removed] Last edited by pdurrant; 08-09-2012 at 06:34 PM. |
08-05-2012, 12:10 AM | #5 |
Resident Curmudgeon
Posts: 73,887
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
There is a version of Fontforge compiled to run under Windows.
http://www.mpetroff.net/software/fontforge-windows/ |
Advert | |
|
08-05-2012, 03:55 AM | #6 | |
Berti
Posts: 1,196
Karma: 4985964
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
|
Quote:
The font is ok, it's just the rendering-engine which fails here. |
|
08-05-2012, 09:58 AM | #7 |
ebooknut
Posts: 297
Karma: 688154
Join Date: Oct 2011
Device: Kindle Voyage & Oasis
|
everyone!
@pholy - Your fixed fonts work great! Thank you so much for taking the time to fix the complete set. @JSWolf - Thanks for the link. Unfortunately, I'm on a Mac so Fontforge compiled for Windows doesn't help me. But I appreciate your taking the time to post. @mmat1 - Thanks for the Calibre tip. Good to know. And of course, big thank you to DiapDealer for the providing the solution. To say it's ironic that ADE won't read an Adobe font is putting it mildly. Doh! |
08-05-2012, 10:16 AM | #8 |
Grand Sorcerer
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I just love a happy ending.
|
08-06-2012, 01:58 PM | #9 | |
Resident Curmudgeon
Posts: 73,887
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
08-06-2012, 03:24 PM | #10 |
Grand Sorcerer
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
08-06-2012, 06:16 PM | #11 |
ebooknut
Posts: 297
Karma: 688154
Join Date: Oct 2011
Device: Kindle Voyage & Oasis
|
This is my problem exactly. While I'm happy that Adobe has fixed the problem in ADE 1.8.3, what I really need is for Sony to update its firmware (by upgrading its version of Adobe Mobile Reader SDK?) to match since I do 99% of my reading on my T1/350. I just use ADE to test stuff on my computer.
|
08-06-2012, 07:08 PM | #12 | |
Resident Curmudgeon
Posts: 73,887
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
To be honest, I doubt you'll be getting a newer version of ADE. Maybe the T2 will have a newer ADE. But I doubt the T1 on down will have ADE updated. |
|
08-09-2012, 05:07 PM | #13 |
Junior Member
Posts: 4
Karma: 2476
Join Date: Aug 2012
Device: none
|
DiapDealer, great job at diagnosing the problem and patching the fonts. While I appreciate your efforts, I must remind you and pholy that by distributing modified versions of Source Sans Pro while using the Reserved Font Name 'Source' you are both in violation of the fonts' license.
Please disable the current font downloads, or provide them under a different font name. We're working on a revision to Source Sans Pro that will fix this and other issues, and we'll post it on SourceForge (http://sourceforge.net/projects/sourcesans.adobe/files/) as soon as it's ready. Thanks, Miguel Sousa Team Lead Type Development Adobe Systems Incorporated |
08-09-2012, 06:09 PM | #14 |
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
|
Opps, sorry, Miguel. I saw the 'open source' designation but missed the 'reserved name' qualification. I have asked the mods to remove the download link from my post, and presumably DD will do the same.
How soon do you expect to post new files? (Is it worth my while to expend the creativity to come up with a new name and regenerate all the files?) Would you please post a note here when you do? Thanks - pholy |
08-09-2012, 06:23 PM | #15 | |
Grand Sorcerer
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Gentium Book font (ttf) doesn't render correctly | therealjoeblow | Kobo Reader | 13 | 06-21-2015 09:24 AM |
Adobe released an open source font | Freeshadow | News | 5 | 08-03-2012 03:24 PM |
Open Source Font Directory for 1.9.5 | Toastedpine | Kobo Reader | 3 | 06-29-2011 02:16 PM |
Calibre E-Book Viewer and ADE render ePub TD font-size differently | Agama | Devices | 5 | 06-17-2011 02:44 AM |
Adobe ADE Font Too Small | Musicman | Astak EZReader | 2 | 09-22-2009 10:40 AM |