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 present, please leave a comment that includes the information 
from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to 
RESOLVED-WORKSFORME and leave a comment that includes the information from Help 
- About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular 
meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a 
REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your 
bug pertains to a feature added after 3.3) from 
http://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: 
https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug

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


** 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 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

Reply via email to