[Bug 1772520] Re: Font metrics mixed up when selecting Arabic characters in Writer

2019-09-10 Thread Bug Watch Updater
Launchpad has imported 5 comments from the remote bug at
https://bugs.documentfoundation.org/show_bug.cgi?id=119347.

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:28:52+00:00 Miikka-Markus Alhonen wrote:

Description:
In most fonts, many characters in the Arabic script change their width and 
height as typing progresses. For example the letter ب (U+0628) is reduced to 
about a half or even a third of its width if it's followed by another character 
such as ا (U+0627): با. Usually LibreOffice understands the changes in font 
metrics pretty well but not always.

See the attached screenshot where I've written the sentence "مرحبا يا
صديقي العزيز" in Writer and started selecting letters from the beginning
of the line. The selection shown in the screenshot looks like the whole
first word plus the following space but actually it only covers the
first 4 letters of the first word out of 5 total: مرحب. From a user's
point of view, this is very confusing, as I can't tell how far I've
already selected without counting the characters in my mind. Even more
surprisingly, LibreOffice Calc shows the selection as expected, i.e.
different from Writer, so this does not feel like a font problem per se,
although only some fonts display this behavior.

The font I'm using in this example is Scheherazade, available through a
third-party repository at packages.sil.org (Debian package fonts-sil-
scheherazade). The font is designed to cover a very wide variety of
characters used for Arabic-script minority languages in both Asia and
Africa, and in many cases it's the only professionally made font
available for people working on many of these languages.

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/1772520 .
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, as well.

Steps to Reproduce:
1. In a new Writer document, change font to Scheherazade and paragraph 
directionality to RTL.
2. Type مرحبا يا صديقي العزيز
3. Go to the beginning of the line (extreme right as this is a RTL language) 
and select 4 characters by pressing Shift+Left four times.

Actual Results:
On screen, it looks like you have selected the whole first word and the 
following space (altogether 6 characters). In reality, only the first 4 
characters have been selected.

Expected Results:
Visually, only 4 characters should appear selected.


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/1772520/comments/8


On 2018-08-18T15:29:59+00:00 Miikka-Markus Alhonen wrote:

Created attachment 144270
Screenshot of Writer document view which displays incorrect behavior

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


On 2018-08-18T15:30:54+00:00 Miikka-Markus Alhonen wrote:

Created attachment 144271
Screenshot of Calc which shows correct behavior

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1772520/comments/10


On 2018-09-10T17:00:24+00:00 Beluga wrote:

Repro with Scheherazade font. Freesans is fine.

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

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1772520/comments/12


On 2019-09-11T04:37:58+00:00 Qa-admin-q wrote:

Dear vaaydayaasra,

To make sure we're focusing on the bugs that affect our users today,
LibreOffice QA is asking bug reporters and confirmers to retest open,
confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked
on this bug report. During that time, it's possible that the bug has
been fixed, or the details of the problem have changed. We'd really
appreciate your help in getting confirmation that the bug is still
present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of
LibreOffice from https://www.libreoffice.org/download/

If the bug is 

[Bug 1772520] Re: Font metrics mixed up when selecting Arabic characters in Writer

2019-06-11 Thread Marcus Tomlinson
** Also affects: df-libreoffice via
   https://bugs.documentfoundation.org/show_bug.cgi?id=119347
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772520

Title:
  Font metrics mixed up when selecting Arabic characters in Writer

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772520] Re: Font metrics mixed up when selecting Arabic characters in Writer

2018-08-18 Thread Miikka-Markus Alhonen
I filed an upstream bug report at
https://bugs.documentfoundation.org/show_bug.cgi?id=119347

** Bug watch added: Document Foundation Bugzilla #119347
   https://bugs.documentfoundation.org/show_bug.cgi?id=119347

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772520

Title:
  Font metrics mixed up when selecting Arabic characters in Writer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1772520/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772520] Re: Font metrics mixed up when selecting Arabic characters in Writer

2018-08-16 Thread Olivier Tilloy
Sorry for the lack of feedback until now, Miikka.

Would you mind filing a new bug report at
https://bugs.documentfoundation.org/enter_bug.cgi?product=LibreOffice=guided
and linking to it here so we can track its resolution? Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772520

Title:
  Font metrics mixed up when selecting Arabic characters in Writer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1772520/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772520] Re: Font metrics mixed up when selecting Arabic characters in Writer

2018-05-30 Thread Miikka-Markus Alhonen
@Olivier, no, the upstream bug you mentioned is different. In the
example I posted, there are no diacritics (problem number 1 in the
upstream report), and visually the text looks fine with no undesirable
kerning or spaces (problem number 3 in the report). It's just selection
which misbehaves; the rendering of the text looks good.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772520

Title:
  Font metrics mixed up when selecting Arabic characters in Writer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1772520/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772520] Re: Font metrics mixed up when selecting Arabic characters in Writer

2018-05-30 Thread Olivier Tilloy
I can reliably reproduce the issue in a bionic VM with libreoffice
6.0.3.2. The font package is fonts-sil-scheherazade. Only writer is
affected, the selection behaves as expected in calc.

** Changed in: libreoffice (Ubuntu)
   Status: New => Confirmed

** Changed in: libreoffice (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772520

Title:
  Font metrics mixed up when selecting Arabic characters in Writer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1772520/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772520] Re: Font metrics mixed up when selecting Arabic characters in Writer

2018-05-30 Thread Olivier Tilloy
Possibly linked to
https://bugs.documentfoundation.org/show_bug.cgi?id=115113 ?

** Bug watch added: Document Foundation Bugzilla #115113
   https://bugs.documentfoundation.org/show_bug.cgi?id=115113

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772520

Title:
  Font metrics mixed up when selecting Arabic characters in Writer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1772520/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772520] Re: Font metrics mixed up when selecting Arabic characters in Writer

2018-05-30 Thread Olivier Tilloy
@Miikka-Markus, would you mind confirming that upstream bug, if you
think that matches/includes your issue?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772520

Title:
  Font metrics mixed up when selecting Arabic characters in Writer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1772520/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772520] Re: Font metrics mixed up when selecting Arabic characters in Writer

2018-05-21 Thread Miikka-Markus Alhonen
Screenshot of selecting the same characters in Calc, which shows the
expected behavior.

** Attachment added: "Screenshot selecting Arabic Calc.png"
   
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1772520/+attachment/5142596/+files/Screenshot%20selecting%20Arabic%20Calc.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772520

Title:
  Font metrics mixed up when selecting Arabic characters in Writer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1772520/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs