Launchpad has imported 5 comments from the remote bug at
https://bugs.documentfoundation.org/show_bug.cgi?id=119346.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2018-08-18T15:02:42+00:00 Miikka-Markus Alhonen wrote:

Description:
In this example, I created a document with a few Arabic-script characters 
(U+08A2, U+08A3 & U+08A4), which were quite recently added to Unicode for 
various Arabic-script African languages such as Fulfulde. The font I had used 
in the rest of the document was DejaVu Sans, so I used that font setting even 
for these characters. In reality, these glyphs are not found in DejaVu Sans but 
had to be substituted from another font, in my case Scheherazade (from 
fonts-sil-scheherazade, available through packages.sil.org). After rotating the 
letters by 90 degrees, everything looked fine on the screen but when I created 
a PDF, everything was displaced about one inch upwards and one inch to the 
left. See the attached screenshot, where everything looks fine, and the PDF 
where all the letters are displaced.

If I change the font setting for this text to Scheherazade, everything
looks fine even in a generated PDF. So apparently LibreOffice gets
confused by the different font metrics of the two fonts, the one
selected by the user and the one used as the real source for the glyphs.

This bug was first reported on Launchpad for LO 5.4.6.2 on Ubuntu 17.10
at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1774244 .
After my initial report, I have upgraded to LO 6.0.3.2 and can still
reproduce the problem. Another user on Launchpad confirmed the bug on LO
6.0.3.2 and 6.1.0.3 on Ubuntu 18.04, as well.

Steps to Reproduce:
1. In a new Writer document, type Arabic characters that are not present in the 
default font (in my example "ࢢࢣࢤ").
2. Select the text and rotate it by 90 degrees through the Font properties 
dialog.
3. Generate a PDF.

Actual Results:
In the generated PDF, the text is displaced one inch to the left and one inch 
upwards. In Writer everything looks fine.

Expected Results:
The generated PDF should look the same as the document view in Writer.


Reproducible: Always


User Profile Reset: No


Additional Info:
Version: 6.0.3.2
Build ID: 1:6.0.3-0ubuntu1
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1774244/comments/6

------------------------------------------------------------------------
On 2018-08-18T15:04:48+00:00 Miikka-Markus Alhonen wrote:

Created attachment 144267
PDF with displaced Arabic text

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1774244/comments/7

------------------------------------------------------------------------
On 2018-08-18T15:05:51+00:00 Miikka-Markus Alhonen wrote:

Created attachment 144268
Screenshot of Writer document view

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1774244/comments/8

------------------------------------------------------------------------
On 2018-08-18T15:06:26+00:00 Miikka-Markus Alhonen wrote:

Created attachment 144269
ODT document used to create the screenshot and the PDF

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1774244/comments/9

------------------------------------------------------------------------
On 2018-09-10T10:49:26+00:00 Beluga wrote:

Repro.

Arch Linux 64-bit
Version: 6.2.0.0.alpha0+
Build ID: 033a68c49fe2b8aa397832d92d400eb0259ea809
CPU threads: 8; OS: Linux 4.18; UI render: default; VCL: gtk3_kde5; 
Locale: fi-FI (fi_FI.UTF-8); Calc: threaded
Built on September 5th 2018

Arch Linux 64-bit
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1774244/comments/11


** Changed in: df-libreoffice
       Status: Unknown => Confirmed

** Changed in: df-libreoffice
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/1774244

Title:
  Rotated Arabic text is displaced in PDF when substitute glyphs are
  used

Status in LibreOffice:
  Confirmed
Status in libreoffice package in Ubuntu:
  Confirmed

Bug description:
  In this example, I created a document with a few Arabic-script
  characters (U+08A2, U+08A3 & U+08A4), which were quite recently added
  to Unicode for various Arabic-script African languages such as
  Fulfulde. The font I had used in the rest of the document was DejaVu
  Sans, so I used that font setting even for these characters. In
  reality, these glyphs are not found in DejaVu Sans but had to be
  substituted from another font, in my case Scheherazade (from fonts-
  sil-scheherazade, available through packages.sil.org). After rotating
  the letters by 90 degrees, everything looked fine on the screen but
  when I created a PDF, everything was displaced about one inch upwards
  and one inch to the left. See the attached screenshot, where
  everything looks fine, and the PDF where all the letters are
  displaced.

  If I change the font setting for this text to Scheherazade, everything
  looks fine even in a generated PDF. So apparently LibreOffice gets
  confused by the different font metrics of the two fonts, the one
  selected by the user and the one used as the real source for the
  glyphs.

  Description:  Ubuntu 17.10
  Release:      17.10

  libreoffice-writer:
    Installed: 1:5.4.6-0ubuntu0.17.10.1
    Candidate: 1:5.4.6-0ubuntu0.17.10.1
    Version table:
   *** 1:5.4.6-0ubuntu0.17.10.1 500
          500 http://mr.archive.ubuntu.com/ubuntu artful-updates/main amd64 
Packages
          100 /var/lib/dpkg/status
       1:5.4.5-0ubuntu0.17.10.5 500
          500 http://security.ubuntu.com/ubuntu artful-security/main amd64 
Packages
       1:5.4.1-0ubuntu1 500
          500 http://mr.archive.ubuntu.com/ubuntu artful/main amd64 Packages

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: libreoffice-writer 1:5.4.6-0ubuntu0.17.10.1
  ProcVersionSignature: Ubuntu 4.13.0-41.46-generic 4.13.16
  Uname: Linux 4.13.0-41-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3.8
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Wed May 30 17:36:37 2018
  InstallationDate: Installed on 2017-02-13 (471 days ago)
  InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=fi_FI.UTF-8
   SHELL=/bin/bash
  SourcePackage: libreoffice
  UpgradeStatus: Upgraded to artful on 2017-11-05 (205 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1774244/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to