Created attachment 96228 [details] An example pdf file LibreOffice Draw loses font properties (bold, italic, …) when it imports pdf created by TeXlive. Steps to reproduce: 1. Create a TeX file using \bf or\it or \sl for boldface, italic or slanted text. 2. Convert it to dvi using latex 3. Convert the dvi to ps using dvips 4 Convert the ps to pdf using ps2pdf 5 Open the pdf in LO Draw Normal, bold, italic and slanted text are the same. Font properties are not imported I reproduce this with LibreOffice 4.1.4.2 and 4.3.0.0.alpha0+ Build ID: 926435ef5ab26e647c09887d471bde25b24e1c16 TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2014-03-22_00:09:10 on Debian x86_64 I attach an example pdf file, a sreenshot with LO Draw, a TeX source of the file and a log of its creation.
Created attachment 96229 [details] Screenshot of the file imported by LO4.3 daily(2014-03-22)
Created attachment 96230 [details] TeX source of the example
Created attachment 96231 [details] log of the pdf creation
Vort, could you please look at this bug?
I think that there almost nothing to fix It's not bold properties (for example) of font - it's just different fonts install cmbx10, cmr10, cmti10 and cmsl10 fonts ( http://www.ctan.org/tex-archive/fonts/cm/ps-type1/bakoma/ ) and the file will look as it should
Hello Alexandr, *, I cannot confirm your bug with LO Version: 4.1.6.1 Build ID: a59ce81388f477fc89db57f0c27f222f31884eb, Version: 4.2.3.3 Build-ID: 882f8a0a489bc99a9e60c7905a60226254cb6ff0, Version: 4.2.4.1 Build ID: d4c441391e20647b3d2e8dde4d20aa868e77e515 (all three versions parallel installed, following the instructions from https://wiki.documentfoundation.org/Installing_in_parallel, and with Germanophone lang- as well as helppack) nor with LO Version: 4.3.0.0.alpha0+ Build ID: 7f62b44458fb27f8aca652436aeafb5e033264bd TinderBox: Linux-rpm_deb-x86@45-TDF, Branch:master, Time: 2014-04-19_22:51:48 (also parallel installed, but this one with en_US lang- as well as helppack) under Debian Testing i686, if I use your attached TeX file, convert it via "texi2pdf font_properties.tex" and open the resulting PDF in Draw. If I use your attached font_properties.pdf, I see the same problem as in your screenshot here ... :( If I use "file /path/to/your/pdf", I get <quote> font_properties.pdf: PDF document, version 1.4 </quote> . If I do the same with my own created PDF, I get <quote> font_properties.pdf: PDF document, version 1.5 </quote> . Could it be, that you have used a different way to convert your TeX file to PDF? Or could it be, that you need to install additional fonts (as vvort has mentinoned in comment 5) or something else? Sorry, that I cannot be of any further help here ... :( Thomas.
Thank you for attention to my problem. Vort, Thank you for your great pdfimport improvements. Yes, the problem was with the fonts. These fonts have “Computer modern” family, but in the example every variant has its own font family. A solution I found is to create new fonts with necessary font families by fontforge. Thomas, the way of pdf creation is essential. That's why I describe it so detailed in the initial message. If I use pdflatex to the convertion? The font family is “Computer modern” for every string. I still have problem with slanted text but it is another bug. I mark this report as NOTABUG