Welcome to NeoOffice Forums
NeoOffice
 
Official online support site for NeoOffice

Trinity
· Home
· Private Messages
· Your Account


RSS Feeds
· NeoOffice Releases
· Forum Posts
· Beta Releases
· Headlines


Twitter Feeds
· @NeoOffice


Download NeoOffice
· Get NeoOffice
· Get the Latest Patch
· Language Packs
· User Guide
· User Guide Volume 2


Other Websites
· NeoOffice.org
· NeoWiki


Languages
Select Interface Language:



  
trinity.neooffice.org :: View topic - PDF Export: OpenType fonts with PostScript outlines broken
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Private MessagesPrivate Messages   Log inLog in 

PDF Export: OpenType fonts with PostScript outlines broken
Users who have purchased direct support within the last year can post

 
Post new topic   Reply to topic    trinity.neooffice.org Forum Index -> NeoOffice Support
View previous topic :: View next topic  
Author Message
infotexture
Blue Pill


Joined: Jul 03, 2012
Posts: 1

PostPosted: Tue Aug 21, 2012 4:08 pm    Post subject: PDF Export: OpenType fonts with PostScript outlines broken Reply with quote

Earlier versions of NeoOffice on SnowLeopard embedded OpenType fonts with PostScript outlines (*.otf) properly during PDF Export, but v3.2.1 & 3.3 beta 2 under Lion seem to have introduced a regression that prevents such fonts from being properly embedded, whereas OpenType fonts with TrueType outlines (*.ttf) are embedded as expected.

According to http://www.oooforum.org/forum/viewtopic.phtml?t=29103, which quotes
https://issues.apache.org/ooo/show_bug.cgi?id=16032#c4, this is apparently an old bug in the OOo codebase.

Quote:
OpenOffice (1.1.1) supports OpenType fonts with TrueType outlines (*.ttf ones, like recent Times New Roman versions), but doesn't support OpenType fonts with PostScript outlines (*.otf).


A quick test file with both .ttf & .otf fonts shows that .ttf fonts work in PDF Export, but .otf variants don't.
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11410
Location: California, USA

PostPosted: Tue Aug 21, 2012 4:21 pm    Post subject: Reply with quote

This is an invalid feature request. NeoOffice has supported OpenType fonts since NeoOffice 3.2 when we switched to using Apple's Core Text text rendering APIs.

We do not use OpenOffice.org or LibreOffice's obsolete Mac code. Neither of them have upgraded to Core Text nor does either use Apple's native "draw text to PDF" functions that NeoOffice uses so your new feature request is really a support request and I have moved it to the NeoOffice Beta Support forum where it belongs.

To be thorough, I will download a sample OpenType font to determine if any Mac OS X 10.8 changes have broken our existing support, but before you pay more to reply, you should verify that your OpenType font is not copy protected as Mac OS X will honor any copy protection that the font vendor is put in the font.

Edit by pluby: added link to our features page that explains what Core Text adds to NeoOffice

Patrick

_________________
NeoOffice engineer
Back to top
View user's profile Send private message Visit poster's website
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11410
Location: California, USA

PostPosted: Tue Aug 21, 2012 4:53 pm    Post subject: Reply with quote

I have confirmed that this is a new bug that appears only on Mac OS X 10.7 and 10.8 and works correctly on Mac OS X 10.6.

I used Apple's STIX General Regular OpenType PostScript font on all 3 Mac OS X versions so the mostly likely cause of this bug is that Apple changed the PDF output format for embedded OpenType fonts in Mac OS X 10.7.

I will need to investigate what changes Apple made in Mac OS X 10.7. Once I determine what changes they made and I have a fix, I will post a test patch.

Patrick

_________________
NeoOffice engineer
Back to top
View user's profile Send private message Visit poster's website
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11410
Location: California, USA

PostPosted: Tue Aug 21, 2012 5:25 pm    Post subject: Reply with quote

I forgot to mention that this bug does not affect NeoOffice's printing of OpenType fonts so there is a workaround: print the document and, in the native Print dialog, select the PDF :: Save As PDF option.

This workaround prints directly to a PDF file and bypasses our native "draw to PDF" code that we use to get font data to OpenOffice.org's Export as PDF feature.

Patrick

_________________
NeoOffice engineer
Back to top
View user's profile Send private message Visit poster's website
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11410
Location: California, USA

PostPosted: Fri Aug 24, 2012 12:52 pm    Post subject: Reply with quote

I think that I have fixed this bug. Only a small tweak to our "draw glyphs to PDF file" code was needed to handle the changes that Apple made in Mac OS X 10.7.

The following test patch works with Apple's bundled STIX fonts. If anyone has OpenType fonts with PostScript outlines, can you install the test patch and tell us if the fonts are displayed when you open a PDF that was created using NeoOffice's Export as PDF toolbar or menu in Mac OS X's Preview application?:

Intel:
http://sally.neooffice.org/test/NeoOffice-3.3-Patch-0-Test-3-Intel.dmg

Edit by pluby: I moved this topic into the NeoOffice Support forum and tweaked the topic title to reflect that this is a bug in NeoOffice 3.3.

Patrick

_________________
NeoOffice engineer
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    trinity.neooffice.org Forum Index -> NeoOffice Support All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.05 Seconds