https://bugs.documentfoundation.org/show_bug.cgi?id=95221

--- Comment #7 from Tom Yan <tom.t...@gmail.com> ---
Created attachment 119850
  --> https://bugs.documentfoundation.org/attachment.cgi?id=119850&action=edit
fixed roman.pdf by replacing/injecting objects

It seems like LibreOffice has always been including useless BaseFont and CMap
objects. Since they the only ones roman.pdf have, the font cannot be rendered
correctly.

But in roman-old.pdf, extra useful BaseFont, Encoding and CMap objects are
included in addition so the pdf works fine.

Since the embedded font stream is fine, as long as I put the useful objects
into roman.pdf, it will basically work again.

Attached is a fixed version of roman.pdf created with simple editing in emacs.
I just replaced the BaseFont and CMap objects, added the Encoding object,
change the relevant object indexes; I also need to change
"<E0>2<E8>-5<EC>3<F2F9>" to "<00>2<01>-5<02>3<0304>" in object #5.

Somehow LO no longer includes the useful objects when it deals with the newer
version of fonts.

Also see this bug report: http://bugs.ghostscript.com/show_bug.cgi?id=696263

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to