View Full Version : Adobe New Open Source Font Doesn't Render in ADE?


pssquirrel
08-04-2012, 04:41 PM
Adobe has a new open-source font:

http://blogs.adobe.com/typblography/2012/08/source-sans-pro.html

http://store1.adobe.com/cfusion/store/html/index.cfm?store=OLS-US&event=displayFontPackage&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!

DiapDealer
08-04-2012, 06:16 PM
Ironic isn't it? Adobe releases a free font that won't work in their own desktop ePub renderer. :smack:

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]

pssquirrel
08-04-2012, 11:34 PM
:thanks: 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.

pholy
08-05-2012, 12:51 AM
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]

JSWolf
08-05-2012, 01:10 AM
There is a version of Fontforge compiled to run under Windows.

http://www.mpetroff.net/software/fontforge-windows/

mmat1
08-05-2012, 04:55 AM
It does, however, render in Calibre's Ebook-Viewer (but with inconsistent results for italic and bold).


I noticed these inconsistent results for italic and bold with any embedded font in callibre and sigil (same engine).

The font is ok, it's just the rendering-engine which fails here.

pssquirrel
08-05-2012, 10:58 AM
:thanks: 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!

DiapDealer
08-05-2012, 11:16 AM
I just love a happy ending. :D

JSWolf
08-06-2012, 02:58 PM
:thanks: 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!

ADE 1.8.3 preview works fine with the fonts as is.

DiapDealer
08-06-2012, 04:24 PM
ADE 1.8.3 preview works fine with the fonts as is.
That's correct... but not very relevant until ADE 1.7 is dead, buried, and all devices upgraded to the new rendering engine. ;)

pssquirrel
08-06-2012, 07:16 PM
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.

JSWolf
08-06-2012, 08:08 PM
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.

But now that you know the problem and the solution, it can be fixed if you want to install Fontforge.

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.

Miguel Sousa
08-09-2012, 06:07 PM
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

pholy
08-09-2012, 07:09 PM
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

DiapDealer
08-09-2012, 07:23 PM
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.
Done. My apologies for not paying closer attention to detail. :o

pssquirrel
08-10-2012, 12:22 AM
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

Just wanted to say thanks for the great new font. I'm really liking it. Looking forward to the revision.

Miguel Sousa
08-10-2012, 03:17 PM
Thanks for addressing my request.
We should be able to announce the new version within the next two weeks. I'll certainly try to remember to post here and let you know. You can also subscribe to the project on SourceForge (http://sourceforge.net/projects/sourcesans.adobe/) to receive update notifications.

Miguel Sousa
08-10-2012, 03:40 PM
Just wanted to say thanks for the great new font. I'm really liking it. Looking forward to the revision.

Your're welcome.

JSWolf
08-10-2012, 10:05 PM
Thanks for addressing my request.
We should be able to announce the new version within the next two weeks. I'll certainly try to remember to post here and let you know. You can also subscribe to the project on SourceForge (http://sourceforge.net/projects/sourcesans.adobe/) to receive update notifications.

Is there any chance you may be doing a free serif font of good quality? Sans-serif is not a good body font.

slm
08-10-2012, 11:06 PM
This is a perfect example of why it never ever pays to rely on Adobe. While Mr. Sousa was perfectly polite, his response was a classic. Instead of, "OK: you are outside the license, but here is a license to distribute the working font you managed to create," Adobe's fix is to withdraw the font and tell everyone to wait a couple of weeks.

For an open source font!!

Not showing a whole lot of thought for their consumers are they?

PeterT
08-11-2012, 01:10 AM
No.. he did suggest that distribution COULD happen under a different font name...

DiapDealer
08-11-2012, 09:08 AM
I know I didn't feel put out at all. It was a reasonable request: change the name or remove the link. I'm terrible with coming up with names (plus I'm not interested in creating a new font—or violating the license), so I chose the latter. ;)

pholy
08-11-2012, 10:40 PM
I know I didn't feel put out at all. It was a reasonable request: change the name or remove the link. I'm terrible with coming up with names (plus I'm not interested in creating a new font—or violating the license), so I chose the latter. ;)

Me, too. Two or three weeks isn't too long to wait to avoid confusion by creating an interim release with a mangled name like SrcSansPro. I release that name to anybody who wants to go to the trouble of regenerating all twelve files. Uhmm, no I don't. Make up your own d**n name.

Creating a font, let alone a font family, is a whole lot of work. If anybody wants to reserve the name for it to themselves while still releasing the source files for any and all use and abuse, I think we pay a very small price for their work. Thanks, Adobe.

Miguel Sousa
08-20-2012, 02:02 PM
Gentlemen, the new revision is now available https://blogs.adobe.com/typblography/2012/08/source-sans-pro-revised-and-hosted-on-github.html

@slm: The Open Font License (OFL) was developed by SIL (http://scripts.sil.org/OFL) and is regarded as the one that provides the best balance of options for both the font producer and the font consumer.
The font's name is something that is reserved under other open source font licenses, such as the one that applies to Bitstream Vera for example.

mmat1
08-20-2012, 03:18 PM
Gentlemen, the new revision is now available

:thanks: Cool ! :thanks:

pssquirrel
08-20-2012, 06:18 PM
Gentlemen, the new revision is now available https://blogs.adobe.com/typblography/2012/08/source-sans-pro-revised-and-hosted-on-github.html


The new revised fonts work great! Thank you!

pholy
08-21-2012, 01:58 AM
Gentlemen, the new revision is now available https://blogs.adobe.com/typblography/2012/08/source-sans-pro-revised-and-hosted-on-github.html



Thanks, Miguel. New version, and moved to github, all in a bit more than a week. Very impressive.