View Single Post
Old 06-12-2010, 03:33 PM   #16
brewt
Boo-Frickety-Hoo-Erizer
brewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enough
 
brewt's Avatar
 
Posts: 251
Karma: 686
Join Date: Oct 2007
Device: Kobo Glo HD!
Usually I'm the one who can shout in a loud and confident voice "Man, am I ever doing this wrong!" So, here goes. WinXPsp3, calibre uninstalled and reinstalled at 7.1, upgraded yesterday to 7.2.

Attached: Lots of things:

MinionMyriad-source.zip - actual source before calibre 7.2, created in Word 2007, cleaned up in Dreamweaver cs4 and converted to xhtml. Word quickstyles match (close enough, anyway) to the styles.css. Xhtml and css are close to validating - couple lines here and there about colors in hyperlinks and it's there.

Clipboard01.jpg - a picture in firefox showing the top of that source with the ligatures properly in the correct fonts, Minion Pro and MyriadPro-BlackSemiExt.

Basic Set - Brewt Himself.zip - the source zip file created by calibre.

MyriadMinion3_plugin.zip - calibre plugin that embeds fonts in epubs, based on source by Paul Tomashevskyi posted in the sticky "How to Embed Fonts After Calibre" on this forum. Fonts sourced out of C:\Program Files\Calibre2\resources\fonts\MinionMyriad

fontencrypt.zip - font encryption python script written by 'Paul Durrant' posted in the thread "fontencrypt.py - Add Adobe encryption to fonts in ePub" in this forum. I am running it separately; haven't succeeded in making it a plugin yet.

BasicSet.epub - epub created by calibre with embedded fonts embeddeed by above plugin and encrypted by above python script. [Keep ligatures] checked in conversion. Results below are the same before and after encryption.

So. I can see the fonts embedded with ligatures in ADE, minion.
I don't see the ligatures, but it looks like the headline font in ade.

I can see the ligatures in Calibre viewer, minion, but only if I set the default font to minion.
I don't see the ligatures in calibre nor the correct font (myriad) in the headlines, even if I default the sans font to myriad.
No overriding css in viewer.

I see neither the ligatures nor the fonts in B&N/pc.

So. Obviously, I'm doing things, lots of things, wrong because it almost works, but only sometimes. Have at me.

-bjc
Attached Thumbnails
Click image for larger version

Name:	Clipboard01.jpg
Views:	283
Size:	97.1 KB
ID:	53278   Click image for larger version

Name:	viewer setting.jpg
Views:	283
Size:	124.3 KB
ID:	53283  
Attached Files
File Type: epub BasicSet.epub (1.10 MB, 207 views)
File Type: zip MyriadMinion3_plugin.zip (2.4 KB, 230 views)
File Type: zip MinionMyriad-source.zip (7.4 KB, 190 views)
File Type: zip fontencrypt.zip (2.2 KB, 219 views)
File Type: zip BasicSet-12 - Brewt Himself.zip (8.2 KB, 281 views)

Last edited by brewt; 06-12-2010 at 03:38 PM.
brewt is offline   Reply With Quote