Issue 43029 - support PS-OpenType/OTF/(SFNT with CFF) fonts for PDF export and printing
Summary: support PS-OpenType/OTF/(SFNT with CFF) fonts for PDF export and printing
Status: CLOSED FIXED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: 680m69
Hardware: All All
: P2 Trivial with 229 votes (vote)
Target Milestone: OOo 3.2
Assignee: eric.savary
QA Contact: issues@gsl
URL:
Keywords:
: 37991 50522 72697 75271 107759 (view as issue list)
Depends on: 78858
Blocks: 16032 30202 97765 107831
  Show dependency tree
 
Reported: 2005-02-17 20:03 UTC by ousia
Modified: 2017-05-20 10:30 UTC (History)
19 users (show)

See Also:
Issue Type: FEATURE
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Writer document with Minion Pro (14.34 KB, application/vnd.sun.xml.writer)
2005-02-17 20:04 UTC, ousia
no flags Details
PDF export with the missing font (39.42 KB, application/pdf)
2005-02-17 20:07 UTC, ousia
no flags Details
Writer document with Minion Pro (12.75 KB, application/vnd.oasis.opendocument.text)
2005-02-17 20:16 UTC, ousia
no flags Details
issue 104011: document of oo 2.1.0 (1.59 MB, application/vnd.oasis.opendocument.graphics)
2009-08-06 01:29 UTC, hussnain
no flags Details
issue 104011: document of oo 2.1.0 (correct pdf export) (852.72 KB, application/pdf)
2009-08-06 01:31 UTC, hussnain
no flags Details
In the attached image the top string is from kword 2.0.1 while bottom is from OOo, both using the same otf font: linux libertine O (15.49 KB, image/png)
2009-08-20 14:53 UTC, rgb
no flags Details
odf for Professional Printing after PDF shows Kerning problems (2.52 MB, application/vnd.oasis.opendocument.formula)
2009-08-20 16:00 UTC, sos
no flags Details
sample of faulty PDF export in OOo 3.2.0 Build 9418 (239.97 KB, application/x-compressed)
2009-08-20 19:40 UTC, foniq
no flags Details
Example that works under Ubuntu 9.04 (118.78 KB, text/plain)
2009-08-20 21:13 UTC, ferossan
no flags Details
Example that works under Ubuntu 9.04 (118.78 KB, text/plain)
2009-08-20 21:15 UTC, ferossan
no flags Details
Screenshot illustrating errors in full justification and certain Type1 fonts, with test build from 8/20/2009 (183.39 KB, image/png)
2009-08-21 01:36 UTC, oikoi
no flags Details
Make a PDF to see the spacing problems (9.49 KB, application/vnd.oasis.opendocument.text)
2009-08-21 12:46 UTC, sos
no flags Details
Make a PDF to see the spacing problems (9.49 KB, application/vnd.oasis.opendocument.text)
2009-08-21 12:48 UTC, sos
no flags Details
I prepared a Writer document using different fonts to see which kern correctly and which don't. (10.00 KB, application/vnd.oasis.opendocument.text)
2009-12-17 16:07 UTC, szal
no flags Details
The document converted to PDF using OOo PDF export. Take a look at the lines set in Myriad Pro, Gill Sans MT Pro and Adobe Garamond Premier Pro (all OTF w/ Type1 outlines). (181.75 KB, application/pdf)
2009-12-17 16:10 UTC, szal
no flags Details
Here, for comparison purposes, I substituted Gill Sans MT Pro and Garamond Premier Pro with TTF versions I converted from the OTFs used in the 1st PDF myself (would've done the same w/ the Myriad Pro, but that is more complicated due to font locations). (175.24 KB, application/pdf)
2009-12-17 16:13 UTC, szal
no flags Details
Missing i und ä in exported PDF. (31.05 KB, application/x-7z-compressed)
2009-12-21 20:57 UTC, e7
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description ousia 2005-02-17 20:03:42 UTC
In the attachment you have a file with a text that uses the Minion Pro font
family. Minion Pro is an OpenType font with Postscript outlines. The full
version of the free Adobe Reader 7 for Windows includes the font family (in
Resources\Fonts).

Writer displays the font right, but when it comes to PDF export, the font is not
embedded in the output file (I also enclose the PDF output).
Comment 1 ousia 2005-02-17 20:04:44 UTC
Created attachment 22749 [details]
Writer document with Minion Pro
Comment 2 ousia 2005-02-17 20:07:45 UTC
Created attachment 22750 [details]
PDF export with the missing font
Comment 3 ousia 2005-02-17 20:16:50 UTC
Created attachment 22751 [details]
Writer document with Minion Pro
Comment 4 christof.pintaske 2005-02-21 10:08:44 UTC
cp->pl: please have a look
Comment 5 philipp.lohmann 2005-02-21 10:14:04 UTC
pl->hdu: and again type 1 on windows; also would this work on Linux ? we'd have
to extract a type1 there if possible.
Comment 6 hdu@apache.org 2005-02-22 08:13:53 UTC
Being able to embed or subset also fonts with CFF glyph outlines would indeed be
a nice feature.
Comment 7 ousia 2005-03-25 03:17:26 UTC
By the way, I have installed the last version (1.9.87) on my Linux box and it
doesn't evem recognize the Minion Pro font (this bug has been already reported).

The PDF export should be able to handle Postscript fonts properly. Partial
embedding is one of the required features but no the only one (proper embedding
is needed first). I don't have a deep knowledge of the PDF generation process,
but since Ghostview is an interpreter and does it task right, I think that
taking a look at its code (no to copy it, but only to see how it could work)
would be great.
Comment 8 hdu@apache.org 2005-06-09 13:36:28 UTC
*** Issue 50522 has been marked as a duplicate of this issue. ***
Comment 9 prspectiv2 2005-11-10 01:52:45 UTC
I have just run into the same problem.  Writer embedded an OpenType font with 
truetype outlines, but two Adobe OpenType fonts with Postscript outlines were 
substituted by a flavor of Times New Roman.  I would send samples but I believe 
it's not Kosher to post the Adobe fonts on the web.  In any case, I can verify 
the problem and attest to its utmost extremity of unsettlingnessness.

Thank you.
Comment 10 prspectiv2 2005-11-10 02:12:42 UTC
Hmmmm...  I have a Question.  Shouldn't this "feature" be a "defect" if the 
issue makes Export to PDF unusable for the end user?  That is to say, isn't the 
PDF feature somewhat useless to large groups of people if it can't interpret 
widely used fonts that ship with industry standard applications, such as 
Illustrator?
Comment 11 vdvo 2005-12-29 03:06:04 UTC
Dupe of issue 10218?
Comment 12 hdu@apache.org 2006-01-02 15:10:16 UTC
> Dupe of issue 10218

Related but not duplicate...
Comment 13 xavier_robin 2006-03-11 15:58:56 UTC
To work around this bug, I use extendedPDF :
http://www.3bview.com/pages/epdf-download.php
It's a little difficult to install, but Opentype fonts with PS outlines ou PS
fonts are correctly embedded into the PDF File.
Hope it can help.
Comment 14 ousia 2006-03-13 08:26:13 UTC
Thanks, Xavier. It is a workaround, but not being able to embed the right glyphs
is not an enhancement (as it would be the font subsetting), but a real bug.
Comment 15 chrisnewton2 2006-07-09 02:30:51 UTC
I've hit the same problem using Zapfino Extra. This is a show-stopper for me,
and it's particularly serious because you might only find out about it after
spending a lot of time working on a document, just as you're about to send it to
the bureau for printing.
Comment 16 ckolivas 2006-08-29 16:19:35 UTC
This is also about oo.o not yet supporting .otf files since that's how all the
Adobe pro fonts are sold now. This is mentioned at issue 16032
http://www.openoffice.org/issues/show_bug.cgi?id=16032 as an enhancement
request. The best workaround currently is to convert your .otf files to ttf with
software like fontforge http://fontforge.sourceforge.net/ . Note that conversion
to ttf means all hinting from the professional otf font will be lost since it's
an incompatible format, and the automated ttf hinting in fontforge is pretty
much useless currently. However the printed fonts still look excellent as
hinting is really only relevant on screens and printing ultra small fonts I
believe. Nonetheless it would be nice if oo.o supported .otf files for both
rendering and their extra features since freetype works fine with them.
Comment 17 lohmaier 2006-12-20 14:15:12 UTC
*** Issue 72697 has been marked as a duplicate of this issue. ***
Comment 18 jwf 2006-12-20 19:03:43 UTC
I also have just the same problem with all open-Type-fonts which were included 
in the Adobe CreativeSuite 2, i.g. Minion Pro, Caslon Pro, Jenson Pro, Caparral 
Pro, Courier Std and Gozuka Gothic Pro. Only Adobe Garamond works well.
Comment 19 jdefouw 2007-02-15 10:03:19 UTC
In my opinion this is a defect and not a feature. This is really a show stopper
for using OpenOffice. The suggested workarounds are not end-user friendly and
moreover ttf fonts cannot contain the complete character set from the otf version.
Comment 20 ckolivas 2007-02-15 13:40:53 UTC
No one said this is a feature. We're just waiting patiently for support.
Comment 21 hdu@apache.org 2007-06-22 09:18:48 UTC
Adjusted the issue summary to help bug reporters find duplicates.
Comment 22 hdu@apache.org 2007-06-22 15:37:35 UTC
*** Issue 75271 has been marked as a duplicate of this issue. ***
Comment 23 meneteqel 2007-06-23 10:08:18 UTC
I wonder if the two problems discussed in this issue:
(1) support for OTF font embedding in PDFs, and
(2) complete lack of OTF support under Linux
shouldn't be separated.

The summary of the issue only refers to the first problem. The second problem, 
that under Linux you can't use OTF fonts at all (although other Linux 
applications can use them) seems to me even more serious, specially as Ubuntu 
with a lot of  OTF fonts by default. The number of OTF fonts increases 
continually, not only Adobe has completely switched to OTF, but also many free 
fonts are published as OTF, like Jos Buivenga's fonts, the Greek Font Society 
etc.
Comment 24 hdu@apache.org 2007-06-25 14:28:24 UTC
@menetegel: Good idea! I split off issue 78858 (just displaying PS-OpenType fonts)
Comment 25 ckolivas 2007-06-25 14:35:46 UTC
I don't understand. How is just displaying them without being able to print them
of any use? Doesn't this just dilute the copious votes this issue is getting
even further?
Comment 26 hdu@apache.org 2007-06-25 14:45:55 UTC
@ckolivas: Being able to display and measure them is just an important first step. I don't think people 
should dilute their votes for the other issue.
Comment 27 hdu@apache.org 2007-10-18 09:34:33 UTC
*** Issue 82703 has been marked as a duplicate of this issue. ***
Comment 28 burmashave 2007-10-26 19:56:39 UTC
I agree with jdefouw. This is a show stopper for me because I have many
OpenType-Postscript outline fonts. I find it hard to use document software that
limit the use of fonts I have purchased.

I say this with much regret because I have been a vocal proponent of OO since
its days as Star Office. It is, of course, also regrettable because otherwise, I
much prefer OO Writer over MS Word.
Comment 29 nmailhot 2007-11-02 16:16:37 UTC
Note that the STIX project (http://www.stixfonts.org/) just released a first
version of its scientific and engineering fonts after 12 years of work, a lot of
their glyphs are not present in common fonts (only in very expensive commercial
fonts), so anyone doing scientific or engineering work on FLOSS systems (where
OO.o is common) is going to use them.

And guess what? they're OTF fonts with Postscript outlines.
Comment 30 phil82 2007-11-23 11:07:44 UTC
Please note, that issue 31764 (Need to support GPOS kerning) is linked to this
issue. The GPOS-table must also be interpreted for TrueType-fonts (which are not
directly mentioned here.) It might be therefore useful to change the summary
field to: "support basic OpenType and postscript outline fonts for PDF export
and printing" or to create a seperate issue on this, though I'd recommend (due
to the fact that OpenType tables are the same for TrueType and PS/CFF
OpenType-fonts) to see this problem as one issue.
Comment 31 pravi 2007-12-30 10:42:46 UTC
We had to convert Rachana Malayalam OpenType Font to a TrueType font just for
being able to use in OpenOffice (It works in every other application). I have
also voted for this fix.
Comment 32 merkri 2008-03-11 17:09:32 UTC
I can't use anymore votes on this issue, but I believe it should have much
higher priority, so I thought I would comment. OpenType is pretty much the
standard at this point, and it's really worrisome to me that OO doesn't support
it fully. I love OO, but this is a big problem and has caused me to have to use
other software at times. 
Comment 33 burmashave 2008-03-14 01:31:00 UTC
I have to agree with merkri. This issue has caused me to move back to MS Word
after years of primarily using OO Writer. It doesn't make sense for me to give
up font choices to use OO Writer, even though OO Writer is vastly superior in
many other ways. If I could cast more votes for this issue, I would.
Comment 34 softadm 2008-03-14 09:21:36 UTC
Yes, the lack of OTF support is a real show stopper. Given, that there's a large
open source code base out ther, which is able to cope with OpenType/CFF (e.g.
freetype) is should be possible to tackle this issue within a fair amount of time.
Comment 35 ousia 2008-04-10 22:17:10 UTC
This bug is already three years old. The milestone is targeted for later. The
question that arises here is: later than what? Later than version 3.0?

I don't know whether this is the most important/critical issue that OOo has. But
not being able to use OpenType fonts (althought it seems that they will be
displayed in OOo 3.0) makes OOo less usable.

Just in case it might help, I think that considering cairo for efficient PDF
generation would be interesting and helpful. But I wonder whether cairo could
generate hybrid PDF files.

Thanks, Pablo.
Comment 36 jurf 2008-04-11 01:56:24 UTC
More votes for this issue. I sympathise with the previous poster's frustration
at seeing this defect milestoned as "OOo Later". Three years ago there may still
have been a little bit of scepticism regarding OTF, but there's no question now
about it not being the standard. We're not asking for OpenType *feature* support
on this issue, just the ability to embed OTFs in exported PDFs, which is
something that any PDF-printer-driver program can do (eg PDFCreator).

This should not be flagged as feature but DEFECT.

At the very least the blurb writers could be a little more honest when flaunting
OOo's PDF export feature, but somehow I doubt that "The PDF export feature will
screw up your layout unless you only use TrueType fonts" is quite so attractive
to potential punters.

Grrrrr...
Comment 37 e7 2008-04-11 10:31:02 UTC
Yes. It's much more important than most of other bugs. Much times, I have
destroyed PDFs - I'm forced to use a PDF-printer, but there's nothing like
clickeable links, headlines as navigation a.s.o. IMHO is the priority to low,
because this is a real bug/defect.
Comment 38 mbayer 2008-04-11 12:40:12 UTC
Although I also think that the current situation is unsatisfying, I want to
remind my fellow users of our issue description guidelines (just click above on
the links “issue type”, “priority”, and so on): this IS an issue of the type
“feature” and of the priority “3”.

And what makes things worse is not the fact that this issue is open for more
than 3 years now, but that 3 years ago Adobe announced to “phase out” PostScript
Type 1 fonts and to target only on OpenType fonts, and that hence OOo must
support OpenType fonts just as it supported (and sill supports) Type 1 fonts.

Thus I also feel that the target “later” does not reflect the community's wishes
and prioritizing for OpenType support appropriately.
Comment 39 nmailhot 2008-04-11 13:11:15 UTC
On the Linux side I can tell you the majority of the new fonts we've integrated
in Fedora these past months were OTF fonts, and at the same time a lot of old
unmaintained Type1 fonts were dropped from the distribution.

The the switch to OTF is pretty much already happening on our platform. OTF
fonts work everywhere except for OO.o
Comment 40 simos.bugzilla 2008-04-11 13:13:21 UTC
What can the community do to help with this issue in a more active way?

There have been several similar cases in other FOSS projects as well (for
example, in Firefox) where bugs have been bugging us for years.

If we were to get a contributor/developer to work on this, what would they have
to do? On which part of the code tree would they need to look?
Comment 41 hdu@apache.org 2008-04-11 14:42:48 UTC
> What can the community do to help with this issue in a more active way?

Implement font subsetting for CFF based OpenType fonts that is suitable for PS printing and PDF 
export.

> On which part of the code tree would they need to look?

1. CFF subsetting (http://gsl.openoffice.org/source/browse/gsl/psprint/source/fontsubset/)
2. PS printing (http://gsl.openoffice.org/source/browse/gsl/vcl/unx/source/gdi/pspgraphics.cxx)
3. PDF export (http://gsl.openoffice.org/source/browse/gsl/vcl/source/gdi/pdfwriter_impl.cxx)

Hope this helps.
Comment 42 adrianjohnson 2008-04-11 15:03:34 UTC
> > What can the community do to help with this issue in a more active way?
> Implement font subsetting for CFF based OpenType fonts that is suitable for PS
> printing and PDF export.

Done:

http://gitweb.freedesktop.org/?p=cairo;a=blob;h=53c5a175dffc11f038c6ea07dc709c80ef80e073;hb=9166686abd92f8b2c7067002b051220e2f8fe780;f=src/cairo-cff-subset.c

Licensed under MPL/LGPL or ask me if you want a different license.

All you have to do is integrate the code into OpenOffice.
Comment 43 hdu@apache.org 2008-04-14 10:29:11 UTC
@nmailhot: Fedora is replacing its Type1 fonts by their CFF-OTF counterparts? That is very interesting 
and changes the priority of the feature request.

@adrianjohnson: good to see you here. Welcome!

I had a closer look at the PS export and especially its font handling. For CFF fonts the fallback method 
seems to be used: The glyph outlines get wrapped into a Type1, but hints are lost. Of course hints in 
Type1 fonts are not as important as for TTFs, but since the conversion between CFF and Type1 can be 
done without any loss, I was hoping for that. I already have some code that does that, but it is not 
reliable enough yet. If we need a quick solution the fallback to outlines seems to be a reasonable 
alternative though. On the other hand experts advocating CFF outlines over TTF outlines seem to be 
extremely sensitive about this topic.

The full-CFF to subset-CFF conversion used in cairo's PDF export is very nice indeed. Thanks for the 
pointer! We'll need CFF-subsetting on Windows too, but don't have any use for other parts of cairo on 
that platform yet. There are not too many deep dependencies into cairo's infrastructure, so if breaking 
this part out is technically feasible I'd like to do it, if you agree.
Comment 44 nmailhot 2008-04-14 14:18:11 UTC
hdu> @nmailhot: Fedora is replacing its Type1 fonts by their CFF-OTF
counterparts? hdu> That is very interesting and changes the priority of the
feature request.

It's not a project goal but has been happening de facto lately. Active font
projects use TTF or OTF format. In fact except for projects that specifically
target OO.o on Linux, OTF is the default format for new fonts, because it's the
default in font creation tools (both open and closed).

Therefore the number of shipped OTF fonts grows. OTF works well in every major
Linux GUI app but OO.o.

At the same time if a font still uses the Type1 format, that's because no one is
working on it. Therefore any new problem report (technical or legal) can lead to
the conclusion there's no one to fix it. Since Fedora does not ship unmaintained
material, the direct result is that the font gets pulled. Unlike a few years ago
we have alternatives font-side, so problematic Type1 fonts (such as the ones
that used to be bundled with Xorg) are not tolerated anymore.
Comment 45 adrianjohnson 2008-04-14 15:01:30 UTC
> I had a closer look at the PS export and especially its font
> handling. For CFF fonts the fallback method seems to be used: The
> glyph outlines get wrapped into a Type1, but hints are lost. Of course
> hints in Type1 fonts are not as important as for TTFs, but since the
> conversion between CFF and Type1 can be done without any loss, I was
> hoping for that. I already have some code that does that, but it is
> not reliable enough yet. If we need a quick solution the fallback to
> outlines seems to be a reasonable alternative though. On the other
> hand experts advocating CFF outlines over TTF outlines seem to be
> extremely sensitive about this topic.

Yes, subsetting CFF to Type 1 would be better. I looked into this when
I wrote the CFF subsetting but never got around to actually writing any
code. Preserving the hinting in PDF was the priority while subsetting
CFF to Type 1 for PS was in the "nice to have" category.

> The full-CFF to subset-CFF conversion used in cairo's PDF export is
> very nice indeed. Thanks for the pointer! We'll need CFF-subsetting on
> Windows too, but don't have any use for other parts of cairo on that
> platform yet. There are not too many deep dependencies into cairo's
> infrastructure, so if breaking this part out is technically feasible
> I'd like to do it, if you agree.

You are welcome to use the code. I am interested in seeing free
software have full support for OTF/CFF fonts. The only dependencies I
am aware of are cairo-array.c and cairo-hash.c. Of course it would
also be nice for cairo to receive any bug fixes and enhancements you
make to the code.

I have been thinking about whether adding API to cairo to expose the
font subsetting code would be useful. I don't know if anything like
that would be useful to you. However breaking out whatever you need
is probably the easiest solution.
Comment 46 ousia 2008-05-16 18:40:37 UTC
PDF export and printing of PostScript fonts would be an interesting feature to
have on version 3.

Will this feature be available in version 3?

Thanks,


Pablo
Comment 47 mbayer 2008-05-17 00:43:11 UTC
mbayer->ousia: As you can deduce from this issue's target milestone “OOo Later”,
the feature requested won't be available in one of OOo's releases in the near
future. For further inquiries, please contact the dev@gsl.openoffice.org mailing
list.
Comment 48 burmashave 2008-06-02 17:58:35 UTC
I am generally very patient with open source projects; however, I am
increasingly frustrated with this issue. It was opened over 3 years ago, is
still marked as "OO Later" and is not scheduled for 00 version 3. Are we to
assume that this bug will not be fixed until OO version 4?

As has been pointed out, this is not a "nice to have" feature. It is a
capability that has been available for many years in commercial products. For
some reason, I still start projects with OO Writer. At some point, I become
frustrated that I have many entire font families that I cannot use in OO. Then,
I give up and fall back to MS Word. 

jurf has pointed out that, with regard to this defect, OO should reconsider its
claim for PDF export capabilities. Also, it has been pointed out by several
members that this issue should be classified as a bug, given that the behavior
is not at all what a user might expect. OTF fonts have become standard in
Fedora. Sadly, in my opinion this defect is not as severe as the widely reported
bug regarding PS fonts in MS Vista.

I cannot understand why this issue has not been elevated to defect. Also, I do
not understand why, after 3 years, this issue still has no target date for a
fix. As a member of OS projects, I know that resources are limited; however, the
concern of many members seems to be that this issue has had a lower priority
than is reasonable.
Comment 49 vgivanovic 2008-06-06 20:58:56 UTC
I agree with burmashave: I too do not understand why this issue has not been
reclassified as a defect. It is way past the point where is could be called an RFE.

I cannot use OpenOffice at work unless is seamlessly supports Microsoft format
documents, and they support OTF.

Note: My version of KWord (1.6.3) supports OTF.
Comment 50 davidcesarino 2008-06-08 21:02:21 UTC
The real point is not if it fits the definition of defect. It is, instead, the
urgency that is requests. See? Not being a defect doesn't exclude the
possibility of being urgent (in general yes, but it shouldn't always, according
to any reason). That's why:

Read Writer Guide, chapter five, third edition. Available at:

http://documentation.openoffice.org/manuals/oooauthors2/

1- On page 145, it says without any exceptions that OOo can export documents to
PDF. It's widely advertised as a PDF-capable program... you can clearly see that
the publicity doesn't say anything about incapable of dealing with this or that
font format. And OTF-PS is not a niche font format by any means, so even common
sense  would not apply (to justify the lack of remarks). So there should be at
least remarks.

2- Also, at least on Windows, OTF-PS fonts are displayed just fine but PDF
export is done without any warning... the problem is not the lack of support,
but the fact that if one doesn't check the PDF (in a hurry to e-mail it), you
can't know that the document will be completely different from the original (Times).

3- This is also, in my opinion, very bad for the program image as a whole... on
point 2, people will wonder if Writer may misbehave on other things as well,
without warning them.

So, there are indeed "features" that are more urgent than many "defects" out there.
Comment 51 joel_salomon 2008-06-11 04:10:34 UTC
So how do we users go about raising the priority of this issue to P2?

I've had PDF (which I thought meant "safe") copies of my résumé go out with
mangled fonts.  This is becoming an issue important enough that I'm considering
purchasing one of the commercial suites.
Comment 52 ousia 2008-06-11 17:08:20 UTC
I have raised the priority to P2. Ad added two votes (because I'm not allowed to
spend more votes on this issue).
Comment 53 mbayer 2008-06-16 14:47:39 UTC
As already said, neither changing this issue's type from “Enhancement” to
“Defect”, nor setting it's priority to an arbitrary value, nor holding
discussions in this issue at all is productive.

Instead, please start a discussion on the discuss@ux.openoffice.org mailing
list, in order to convince the UX team to recommend this issue for development.
Comment 54 simos.bugzilla 2008-06-16 14:54:39 UTC
I subscribed to the list, at
http://ux.openoffice.org/servlets/ProjectMailingListList

(apparently there are a few "discuss"@ mailing lists from different subprojects).
Comment 55 simos.bugzilla 2008-06-23 00:47:27 UTC
I reported this to the discuss@ux.openofffice.org on Friday,
http://ux.openoffice.org/servlets/ReadMsg?list=discuss&msgNo=1852
There was no reply yet (probably due to weekend).

It might be good to chip in the discussion.
Comment 56 goncaloferraz 2008-06-27 14:21:05 UTC
Exporting an Impress file with ArnoPro font but PDF shows a cracky Arial after
export.
Comment 57 nmailhot 2008-07-24 14:03:41 UTC
After some discussion, the consensus Fedora-side seems to be that shipping
OpenType TT (as opposed to OpenType CFF) fonts just for OpenOffice is not
reasonable, so all our future font packages are likely to use the font creator
preferred format (which happens to be OpenType CFF, don't ask me why, I blame
Adobe years of marketing)

http://www.redhat.com/archives/fedora-fonts-list/2008-July/msg00088.html
Comment 58 hdu@apache.org 2008-07-24 14:21:29 UTC
The good news is that CFF subsetting looks good for OOo 3.2, maybe even 3.1. Including hints and all 
that. Though CFF fonts may be common they are strange beasts, e.g. the length of some charstring 
opcodes depends on all instructions ever executed for one glyph and there are sooo many other implicit 
assumptions... anyway, the prototype works very well and getting it integrated into 3.x is quite certain.
Comment 59 nmailhot 2008-07-24 15:16:29 UTC
Thank you for the status update!
Comment 60 softadm 2008-07-25 07:35:22 UTC
Big thanks for finally announcing a target milestone ;-)

My vote for OOo-3.1, since many users expected this feature to already appear in 3.0

  Best regards,

    Wolfgang
Comment 61 burmashave 2008-07-25 15:25:48 UTC
Thanks for announcing the milestone, hdu! Thanks to all the dev's, etc. who are
moving this forward. We appreciate it very much.
Comment 62 merkri 2008-08-08 23:03:31 UTC
Yes, very glad to see this getting worked on. Thanks very much to everyone
helping to make this happen.
Comment 63 vga 2008-08-09 02:19:34 UTC
Unless I'm mistaken, OOo is using ICU. There's a TeX derivative called XeTeX
(http://scripts.sil.org/xetex) that (on Linux and Windows) uses a modified
version of ICU over fontconfig and freetype to access and "render"
system-installed OpenType fonts. I put render in quotes since XeTeX doesn't
really draw the glyphs, but it does need to determine font metrics etc. XeTeX
supports both flavors of OpenType equally well, and it has *full* support for
OpenType layout features: you can set any feature tag directly if you like and
there's also an abstraction layer.

It may be worth looking at, especially for ICU modifications...
Comment 64 jimdelahunt 2008-08-21 02:42:58 UTC
I'm glad to see work on this issue has started. I just put money down for a
widely-known commercial productivity suite because OOo doesn't let me format,
print, and save to PDF even English-language text with CFF-flavour OpenType
fonts (*.otf). 

This bug was a deal-breaker for me.  My preferred fonts for English-language
letters, reports, and other business documents are all CFF-flavour OpenType.  I
regret that it took 3 years to get it into implementation.
Comment 65 lcdsantos 2008-08-25 17:59:51 UTC
vga, Can I download and install XeTeX into my Linux, and after this I would use
any "PS outlined" opentype font on my OOo? Hassle free?
Comment 66 vgivanovic 2008-08-26 04:36:43 UTC
@lcdsantos,

What XeTeX can and cannot do is independent of what OOo can and cannot do. They
are two different programs, each with different capabilities, written for
different purposes. (OOo is a productivity suite that includes a word processor,
and XeTeX is a high quality page description language that can use OpenType fonts.)

So the answer to your questions, "No."

Installing XeTeX allows you to use OpenType fonts *only if they are already
present on your system* and only if you also have TeX/LaTeX installed. OOo
cannot use OpenType fonts currently, regardless of which fonts are installed.
Comment 67 ferossan 2008-09-06 23:19:58 UTC
Support for OTF (with CFF) is "a must". Hope soon have some certain good news
about it.
Comment 68 r 2008-10-13 05:08:48 UTC
You were mentioned on /., BTW:
http://tech.slashdot.org/tech/08/10/11/227236.shtml
Comment 69 john_jason_jordan 2009-02-27 18:32:27 UTC
I just noticed that using OpenType fonts with PostScript outlines on Linux will
not be in 3.1. I have given this issue 2 votes. I am not a programmer so I can't
help with the code necessary to implement this, but is there anything else I can
do? Money? Bribes? A .357 magnum? I'll do anything I can to help.
Comment 70 ousia 2009-02-28 13:14:46 UTC
This issue is already 4yo (although the issue 16032 will be 6yo this June, so
the issue is already 5yo).

I don't know how many other issues have more votes than this, but having 237 is
not bad (412 considering the votes for 16032).

Code has been provided to fix the issue, although it needs to be adapted.

Sorry for not being able to code the patch that will fix this issue.

But once the target milestone has been set for release 3.2, please keep it so.
Delay this release as long as it might take to fix the issue, but please, do not
postpone this issue for a latter milestone.

Thanks for your help,


Pablo
Comment 71 hdu@apache.org 2009-03-02 09:59:34 UTC
Looks good for 3.2... unless other high priorities like the Mac-Port, DrawingLayer rework, BiDi+CTL 
issues, Vista issues, bad but subtle regressions introduced by fontconfig- and cairo-integration, I18N 
issues etc. get in the way again...
Comment 72 softadm 2009-03-02 10:41:22 UTC
Big hads hdu ;-)

  This sounds really good. This issue is too old in order to further postpone it. 

Many, many, many thank in advance,

  Wolfgang
Comment 73 ousia 2009-05-07 21:16:23 UTC
Since version 3.1 has already been released, the next stable version 3.2 will
have this issue solved, won't it?

Thanks for your help,


Pablo
Comment 74 Ariel Constenla-Haile 2009-05-08 02:27:13 UTC
.
Comment 75 hdu@apache.org 2009-05-18 12:10:11 UTC
Childworkspace "otf01" looks good for a OOo 3.2 target.
Comment 76 xavier_robin 2009-06-08 16:11:22 UTC
Je cherchais justement comment obtenir cette possibilité. Dommage que ce ne soit
pas possible. J'ai voté, mais le développement n'étant pas démocratique, ce n'a
probablement aucun effet (voir le
[url=http://qa.openoffice.org/issues/show_bug.cgi?id=43029]le bug sur l'export
PDF des polices OpenType[/url] dont la correction est sans cesse repoussée
malgré les 250 votes).
Comment 77 hdu@apache.org 2009-08-05 10:20:48 UTC
*** Issue 104011 has been marked as a duplicate of this issue. ***
Comment 78 hussnain 2009-08-06 00:43:30 UTC
regaring issue nr. 104011 i have exported the file with OO DEV300m53 (Build
9412) to pdf, but no improvements.

Relating to previous OO versions, i could export the same document to pdf with
OO version 210 with no problems. But from version 221 onwards fonts have
problems in pdf.
Comment 79 hussnain 2009-08-06 01:29:12 UTC
Created attachment 63976 [details]
issue 104011: document of oo 2.1.0
Comment 80 hussnain 2009-08-06 01:31:17 UTC
Created attachment 63977 [details]
issue 104011: document of oo 2.1.0 (correct pdf export)
Comment 81 hdu@apache.org 2009-08-19 13:20:40 UTC
Done in CWS otf01.
The biggest part was the glue code to the existing PDF-export and PS-printer code.
Another interesting detail is that small text prints well also on older printer (with PSLL<3) as the hints are 
preserved.
Comment 82 hdu@apache.org 2009-08-19 14:59:31 UTC
@es: please verify in CWS otf01 (printing on UNX, PDF-export on WIN/UNX/OSX)
Comment 83 ferossan 2009-08-19 16:45:03 UTC
Great news!!! I would like to test it. Could you please confirm the version
where is it fixed. Is it the develoment version "OOo-Dev 3.2.x"? (for linux debian)
http://openoffice.bouncer.osuosl.org/?product=OOo-Dev&os=linuxinteldeb&lang=en-US&version=DEV300_m55
Sorry the ignorance.
Comment 84 auberon 2009-08-19 18:33:57 UTC
@ferrosan:
read the release notes here
http://download.openoffice.org/next/other.html#dev2
to see if the CWS is included in the last release.

You can also check what is the status of the CWS in:
http://tools.services.openoffice.org/EIS2/GuestLogon

Child Workspace > browse > per release > OOo 3.2
The CWS otf01 is now in the folder "ready for QA"
After a CWS is "integrated", the feature (or the bug fix) is usually found in
the next developer release.
Comment 85 eric.savary 2009-08-20 13:39:41 UTC
Hi!

I am QA Representative for the the CWS otf01.
We decided make this CWS install sets public in order for every one to check the
fix *before* integration.

Install sets can be found here:
ftp://qa-upload.services.openoffice.org/otf01

Please give your feedback.
Try to see if something is broken. Bugs which already existed before the CWS
shouldn't be discussed here. Please write new issues for them.
Features or further implementation should also be handled in separated issue.

Thank you!
Comment 86 rgb 2009-08-20 14:34:54 UTC
Not sure if this must be discussed here or elsewhere... The otf support on this
build seems to be partial: the otf fonts are recognized but their advanced
features (like ligatures) are not used. Also, when I export to pdf the font is
embed as "type 1"
Comment 87 rgb 2009-08-20 14:53:09 UTC
Created attachment 64268 [details]
In the attached image the top string is from kword 2.0.1 while bottom is from OOo, both using the same otf font: linux libertine O
Comment 88 hdu@apache.org 2009-08-20 15:31:54 UTC
The issue with the optional OpenType features is already tracked in issue 16032. Let's focus on the 
WYSIWIG aspect of printing and PDF embedding here.

The fonts are subsetted to Type1 because the PS-printing code and the PDF-exporter have not been 
extended to support CFF-embedding yet. Since some important PS-printers do not support CFF-subsets 
being able to do it via Type1 is required anyway. And the subset is about the same size.

There'll be a task for PS-printing and PDF-export to support CFF-subsets, but that is another issue. Let's 
focus on the WYSIWIG aspect of using PS-OTF in printing and PDF embedding here.
Comment 89 sos 2009-08-20 15:54:49 UTC
Type 1 subsets are OK sinds Adobe do's the same thing and thats still the 
standard for Proffesional Printing !
However there is something wrong with the "kerning" between words and 
characters. As far i can see the OO-kerning settings are totaly ignored with 
results in to large or to small line lenghts.  
Comment 90 sos 2009-08-20 16:00:45 UTC
Created attachment 64269 [details]
odf for Professional Printing after PDF shows Kerning problems
Comment 91 foniq 2009-08-20 18:19:08 UTC
I'm sorry to say it, but in the Mac version (OOo 3.2.0 / DEV300m55 / Build 9418 running on an intel Mac 
with OS 10.5.8) nothing is fixed.

The regular PDF-export of documents that use OpenType fonts produces only garbage, just like in all the 
previous versions.


@ sos
OOo is not meant for professional layout anyway.
;)
Comment 92 sos 2009-08-20 18:40:39 UTC
@foniq
I did not mentioned Layout but Professional "Printing" like Books and Magazines.
We produces over 6.000 full color Trade Magazine Pages/year. Just using OO-
writer and Adobe Acrobat for the PDF output :-) 
Comment 93 ferossan 2009-08-20 18:53:52 UTC
Good results under Ubuntu 9.04 and OOo Build 9418. OTFs are seen fine on screen
and prints very well on PDF's. Regarding to kerning problems, not seems to
appear here, not at least in a preliminary review.
@sos: Are you using the OOo Windows version?
Comment 94 eric.savary 2009-08-20 18:54:52 UTC
To ALL: PLEASE READ:

The meaning of providing install set before integration was not to make this
issue longer than it already is but to get exact descriptions about
*regressions* and *failed fix*.

If you find the same problems as before please describe:
- your system (which OS)
- which font(s) are used
- whether PDF and/or printing are affected
- Attach the document which shows a bad print/export.
- PDF: Attach the exported PDF and a screenshot of the exact area affected in
the PDF.

Conter examples:

"something wrong with the "kerning" between words" -> Where exatcly in the
export. Add a screenshot demonstrating the missing kerning.


Comment 95 eric.savary 2009-08-20 19:34:18 UTC
(apart from the currently discussed kerning problems...)

Compared 3.1 and CWS otf01 with the document (prueba_griego.odt) of the
submitter and the Minion Pro font installed on Windows Vista.
- 3.1: font not embedded in the PDF and fallback to "Reprise Rehearsal" font instead
- CWS otf01: Minion Pro is embedded and is displayed as in Writer.

I would consider this issue as verified.
Comment 96 foniq 2009-08-20 19:40:54 UTC
Created attachment 64280 [details]
sample of faulty PDF export in OOo 3.2.0 Build 9418
Comment 97 foniq 2009-08-20 19:44:47 UTC
@es

ok. here we go:

• OS 10.5.8 (intel Mac)

• a random selection of OpenType fonts from different manufacturers:
– ITC Barcelona Std 
– Berthold Formata Pro 
– Adobe Jenson Pro 
– Linotype Avenir Std 
– Monotype Gill Sans Pro

• Only the PDF-export is affected.
Generating a PDF through the Apple OS print dialogue works fine though. But that worked fine in 
previous versions  of  OOo too.

And here is the attachment:
http://www.openoffice.org/nonav/issues/showattachment.cgi/64280/sample.zip
Comment 98 hdu@apache.org 2009-08-20 19:52:16 UTC
> [...] in the Mac version [...] DEV300m55 [...] nothing is fixed

Please see #desc86 to learn where to get the test version.

Please see http://wiki.services.openoffice.org/wiki/ChildWorkSpace to understand
that such a test version means step 15 of the issue handling process. Only when
this test phase is over there will be a chance that the feature will ever get
into a released development milestone (step 21) such as DEV300_mXX. And if we're
lucky then CWS otf01 may get there in time for OOo 3.2.
Comment 99 eric.savary 2009-08-20 20:08:14 UTC
@HDU: please confirm that the not yet confirmed "kerning problem" might be an
other follow up issue and that I can set this one to VERIFIED based on my
findings in #desc96.

Thank you!
Comment 100 ferossan 2009-08-20 21:13:09 UTC
Created attachment 64283 [details]
Example that works under Ubuntu 9.04
Comment 101 ferossan 2009-08-20 21:15:11 UTC
Created attachment 64284 [details]
Example that works under Ubuntu 9.04
Comment 102 ferossan 2009-08-20 21:17:55 UTC
Testing 3 fonts used by foniq under Ubuntu 9.04 I had no problems on screen nor
printing a PDF.
Fonts used:
– Adobe Jenson Pro 
– Linotype Avenir Std 
– Monotype Gill Sans Pro
I'm attaching pdf, odt and png files.
http://www.openoffice.org/nonav/issues/showattachment.cgi/64283/ejemplo.zip
Sorry double posting the attachment.
Comment 103 oikoi 2009-08-21 01:35:34 UTC
On Mac OS X 10.5.8, with the test build
OOo_3.2.0_090820_MacOSXIntel_install.dmg, I can generate a PDF that subsets the
OTF-CFF fonts, and it appears that their ligatures are preserved.  However, full
justification appears to be disabled or faulty, not only with the OTF fonts, but
any font (tested OTF/CFF, TrueType, and Type1.)  Also, certain Type1 fonts
(e.g., "Olympian") are output in the PDF as garbage (see attachment).
Comment 104 oikoi 2009-08-21 01:36:56 UTC
Created attachment 64285 [details]
Screenshot illustrating errors in full justification and certain Type1 fonts, with test build from 8/20/2009
Comment 105 oikoi 2009-08-21 01:50:11 UTC
OK, scratch that, make that *any* Type1 font I try gets turned into garbage in
the exported PDF file.  The "DIN-Medium" in the screenshot was actually
TrueType, sorry about that.  Trying other Type1 fonts ("Frutiger 57 Condensed",
"Legacy Sans") resulted in the same garbage as with "Olympian".
Comment 106 eric.savary 2009-08-21 01:59:42 UTC
@oikoi, you said:
"*full justification* appears to be disabled or faulty, *not only with the OTF
fonts*"

So it obviously has nothing to do with the current issue!

-> write an other issue for this!

Comment 107 hdu@apache.org 2009-08-21 07:14:00 UTC
> [...] kerning problem [...]

Using the provided sample document I didn't see any problem in the test version that was new 
compared to the related development milestone. Maybe something like issue 92746 or 78815 are 
meant here?

> [...] problems with Type1 fonts [...]

Using the provided sample document I didn't see any problem in the test version that was that was new 
compared to the related development milestone. Please let's focus on the new feature of PS-OTF 
support for printing and PDF-export and any eventual regressions that might have introduced.
Comment 108 sos 2009-08-21 12:13:25 UTC
Sorry: but the mentioned problems with Kerning and Spacing are not related to 
the use of OpenType Fonts.
We uses allways OpenType I was simply not aware off this problem.
I did some tests with standard Windows fonts as Arial and found out that
the OO-PDFexport simply ignorges some OO-Kerning and OO-SpaceWidth settings. As 
far I can see, the "Font" Width follows the OO-percentages but the spaces stays 
at 100%.
PLease tell me if this is a known issue (Windows)   
Comment 109 sos 2009-08-21 12:43:24 UTC
Sorry again :-)
Kerning and Space-condencing-expanding works fine only Character spacing is a 
problem
Make a PDF from my Spacing_problem.odt to see wath happens
Comment 110 sos 2009-08-21 12:44:26 UTC
Sorry again :-)
Kerning and Space-condencing-expanding works fine only Character spacing is a 
problem
Make a PDF from my Spacing_problem.odt to see wath happens
Comment 111 sos 2009-08-21 12:46:30 UTC
Created attachment 64297 [details]
Make a PDF to see the spacing problems
Comment 112 sos 2009-08-21 12:48:22 UTC
Created attachment 64298 [details]
Make a PDF to see the spacing problems
Comment 113 hdu@apache.org 2009-08-21 13:11:15 UTC
> Font Width follows the OO-percentages but the spaces stays at 100%

That's probably either issue 89129 or 104212, which seem to happen independently of PS-OTF or PS-
TTF. I'm not sure if I already mentioned it but please let's focus on issues specific to the PS-OTF-support 
and the test-build...
Comment 114 eric.savary 2009-08-21 16:10:15 UTC
Verified in CWS otf01.

Tested PDF export and printing on Solaris, Windows, MAC and Linux.
Comment 115 jurf 2009-08-22 23:57:25 UTC
Verified in Win XP - congratulations!

Tested with Iwona, TeXGyre fonts, Yanone Kaffeesatz and other open-sourcers.

If this test release seems fine to others, any idea when this might make it into
a Dev build?

Thanks.
Comment 116 hussnain 2009-08-23 14:34:15 UTC
otf fonts in arabic/urdu fonts using otf features are still not beeing exported
to pdf correctly with the oo otf1 version. tested it with the already posted
document here for this issue and for the issue 104011 on Windows XP.
Comment 117 eric.savary 2009-08-23 15:22:05 UTC
@hussnain: Cannot confirm.
On vista, I installed the Urdu fonts mentioned in issue 104011 and made again an
export to PDF from your document:
- The Urdu fonts are embedded in the PDF
- the PDF "looks good" (so far I don't understand the text and cannot judge
about its quality).

So obviously this you don't have the problem fixed by the current issue and
issue 104011 has been assumed erroneously to be a duplicate of this one.

Feel free to reopen issue 104011 but please detail there *exactly* what and
where the problem is: "still not beeing exported to pdf correctly" or "are
broken and not readable" are to general description.
Describe which characters are broken and if possible and a screenshot of how
they should look like.
Comment 118 eric.savary 2009-08-24 10:35:19 UTC
@jurf: login there...

http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300%2Fotf01

and watch the field "Milestone (integrated)" from time to time.

Might be m57 or m58.
Comment 119 szal 2009-12-17 16:05:30 UTC
The PS-OTF kerning issue persists in OOO320m8 (OOo 3.2.0-rc1) in Linux; see also
Issue #107739.  Updated attachments follow.
Comment 120 szal 2009-12-17 16:07:51 UTC
Created attachment 66695 [details]
I prepared a Writer document using different fonts to see which kern correctly and which don't.
Comment 121 szal 2009-12-17 16:10:24 UTC
Created attachment 66697 [details]
The document converted to PDF using OOo PDF export. Take a look at the lines set in Myriad Pro, Gill Sans MT Pro and Adobe Garamond Premier Pro (all OTF w/ Type1 outlines).
Comment 122 szal 2009-12-17 16:13:36 UTC
Created attachment 66698 [details]
Here, for comparison purposes, I substituted Gill Sans MT Pro and Garamond Premier Pro with TTF versions I converted from the OTFs used in the 1st PDF myself (would've done the same w/ the Myriad Pro, but that is more complicated due to font locations).
Comment 123 hdu@apache.org 2009-12-18 08:16:00 UTC
*** Issue 107759 has been marked as a duplicate of this issue. ***
Comment 124 e7 2009-12-21 20:55:18 UTC
Congratulations, this very useful feature is really neccessary!

But I've done a simple test and I'm still missing some characters. Copy text out
of the PDF is correct, and space for missing characters is calculated correct,
but maybee some glyhpes aren't exportet in PDF.

I will attach an example.
Comment 125 e7 2009-12-21 20:57:27 UTC
Created attachment 66754 [details]
Missing i und ä in exported PDF.
Comment 126 hdu@apache.org 2009-12-22 14:43:26 UTC
See followup issue 107831 for support of the deprecated SEAC operator in PS-OTF Type2 charstrings. 
Some PS-OTFs still used this obsolete operator for some of their accented characters because they were 
converted 1:1 from their Type1 ancestors. If there are some important fonts that have not been converted 
to use valid and non-deprecated charstring operators then adding support for this ancient and very 
limited "feature" will be considered.
Comment 127 hdu@apache.org 2010-06-09 09:31:10 UTC
*** Issue 37991 has been marked as a duplicate of this issue. ***
Comment 128 alex.thurgood 2011-01-09 13:50:24 UTC
Hi all,

Did this CWS finally get integrated or not ? From the EIS link posted here
already, it appears that it did not because it was assigned to 3.2, but
should've been assigned to 3.3 or 3.4.

Anyone care to comment as to where it is now, and whether it finally got
integrated or not ? Otherwise, if it isn't integrated, the fix isn't much use to
anyone is it ?

TIA,

Alex