To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=36691


User hdu changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |FIXED
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Fri Feb 23 15:16:53 +0000 
2007 -------
Ok, I understand the PDFWriterImpl::registerGlyphs() method now better for the
case of non-subsettable fonts. The problem in the code for this case was that
though the glyphids (which were determined by the layout engine) are correct
they get ignored. The assumption in the method that the glyphids correspond
directly to the text's unicode was wrong.

The best solution for this wrong assumption would be to map the layout engine's
glyphids (i.e. FreeType's synthetic glyphid for a Type1 font) back to unicode
and only then to the embeddable font's encoding. But this reverse mapping is not
easily available and adding the infrastructure for it would be a lot of work
(e.g. on WIN32).

With the new knowledge about PDFWriterImpl::registerGlyphs() I was no longer
able to come up with a realistic scenario that wouldn't work with Alan's patch
and applied it. There might be problems with Type1 fonts that do not map
unicodes<=U+007F to the same encoding points. If this scenario should ever
become realistic we'll have to reexamine the fix.


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to