https://bugs.documentfoundation.org/show_bug.cgi?id=78427
Kevin Suo <suokunl...@126.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEW Assignee|suokunl...@126.com |libreoffice-b...@lists.free | |desktop.org Summary|FILEOPEN PDF Import: |FILEOPEN PDF Import: |sometimes bold and italic |sometimes bold and italic |font properties are |font properties are |imported incorrectly |imported incorrectly (see |(because of toUnicode map |comment 34 for TODO list) |in the pdf font file) | --- Comment #34 from Kevin Suo <suokunl...@126.com> --- Despite the various commits merged above, below are some TODO list related to this bug: 1. To correctly parse documents like attachment 155937 (which contains fonts with Semibold / Light features), the current way of font handling in sdext/pdfimport need to be reworked. E.g., the FontAttributes model in sdext/source/pdfimport/inc/contentsink.hxx need to be improved to include semibold, light etc features, but I think a better way would be to replace those FontAttributes with the more feature-rich vcl::Font type). 2. To correctly parse attachment 98668, we need to be able to detect Type 1C font. My understanding is thatcurrently LibreOffice can only detect TrueType font and Type 1 font, but an not detect Type 1C ("C" means compressed?) font. The italic font in attachment 98668 is named "CairoFont-1-0" - although we can guess that the font name is CairoFont, there is no indication from the name that it is italic, thus the only way to let it show as italic is to detect from the embeded Type 1C font. While I will continue to try to fix #1, I don't think I can handle #2. As a result, I set status back to NEW and set ASSIGNEE to default, so that others can continue to contribute their effort to fix this bug. -- You are receiving this mail because: You are the assignee for the bug.