Created attachment 63197 [details] The file to reproduce the issue (.doc file) I observe that the width of renndered text under Ubuntu's Writer is wider than Windows's. Expected: For the same file, rendered text under Ubuntu and Windows should be the same. What is not tested: - Width of text when opened with MSO 2003, MSO 2007 - Width of text when opened with other versions of LibreOffice: Attached - The file to reproduce the issue (.doc file) - A screenshot of the .doc file when opened with MSO 2010 on Windows 7 - A screenshot of the .doc file when opened with LibreOffice 3.5.3.2 on Ubuntu 12.04 - A screenshot of the .doc file when opened with LibreOffice 3.5.4.2 on Windows 7
Created attachment 63198 [details] When opened with LibreOffice Writer Ubuntu 12.04 3.5.3.2
Created attachment 63199 [details] When opened with LibreOffice Writer_3.5.4.2 - Windows 7
Created attachment 63200 [details] When opened with Microsoft Word_ MSO 2010- Windows 7
Is the text the same width in MSO and the windows version of LibreOffice ? Are the same fonts available on Linux as on windows ? e.g. what does fc-match Cambria say ?
> Is the text the same width in MSO and the windows version of LibreOffice ? I don't understand your question fully. Can you explain what is the meaning of "width" in your sentence. What width? >Are the same fonts available on Linux as on windows ? Yes, DejaVuSans.ttf are available on both Ubuntu 12.04 and Windows 7 > e.g. what does fc-match > Cambria say ? # By "Cambria", do you mean the name of the font (Calibri)? vuhung@ubuntu:~$ fc-match Calibri DejaVuSans.ttf: "DejaVu Sans" "Book"
Just compare the "g" on Linux vs the screenshot on Windows. Different fonts are used, and you cannot expect them to have equal metrics. You need to install the same font to get the same rendering (but check the license of the font whether it is permitted)
Created attachment 63219 [details] When opened with LibreOffice Writer Ubuntu 12.04 3.5.3.2, Arial font
Created attachment 63220 [details] When opened with LibreOffice Writer_3.5.4.2 - Windows 7, Arial font
I have uploaded the screenshots when viewing the file under 1. Windows 7, LibreOffice 3.5.4.2, Arial font and 2. Ubuntu 12.04, LibreOffice 3.5.3.2, Arial font The widths look quite the same so if there is no objections, we can close this shame bug report :)
thanks for the feedback, closing as not a bug. And a hint: If you're interested in what font LibreOffice actually uses in case the originally requested one is not available, you can use export to PDF, open the PDF in a pdf-viewer and check the embedded font-info. (as an alternative to querying fontconfig using fc-match)
(In reply to comment #10) > thanks for the feedback, closing as not a bug. Thanks > And a hint: If you're interested in what font LibreOffice actually uses in > case the originally requested one is not available, you can use export to PDF, > open the PDF in a pdf-viewer and check the embedded font-info. > (as an alternative to querying fontconfig using fc-match) Thanks for the tip. I have a simple tip: Move the pointer (mouse) to the text and see if the "font" dropdown under the toolbar has been switched to another font.