[Libreoffice-bugs] [Bug 155297] FILEOPEN DOCX loading loses paragraph properties, including justification and line spacing

2023-06-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155297

⁨خالد حسني⁩  changed:

   What|Removed |Added

 Resolution|--- |FIXED
   Assignee|libreoffice-b...@lists.free |kha...@libreoffice.org
   |desktop.org |
 Status|NEW |RESOLVED

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155297] FILEOPEN DOCX loading loses paragraph properties, including justification and line spacing

2023-06-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155297

--- Comment #7 from Commit Notification 
 ---
Khaled Hosny committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/1263873edf86ce223ee54ecd93297273ac3b0e9f

tdf#155297: Use usWinAscent and usWinDescent for B Nazanin font

It will be available in 7.6.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155297] FILEOPEN DOCX loading loses paragraph properties, including justification and line spacing

2023-06-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155297

Commit Notification  changed:

   What|Removed |Added

 Whiteboard||target:7.6.0

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155297] FILEOPEN DOCX loading loses paragraph properties, including justification and line spacing

2023-06-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155297

--- Comment #6 from ⁨خالد حسني⁩  ---
(In reply to ⁨خالد حسني⁩ from comment #5)
> Users should be
> able to do this yourself from the expert configuration dialog (search for
> FontsUseWinMetrics), but this is currently broken

https://bugs.documentfoundation.org/show_bug.cgi?id=155676

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155297] FILEOPEN DOCX loading loses paragraph properties, including justification and line spacing

2023-06-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155297

--- Comment #5 from ⁨خالد حسني⁩  ---
(In reply to Stéphane Guillou (stragu) from comment #4)
> MS Office has the paragraph with "Kashida" justified settings, whereas LO
> has it right-aligned.
> Line spacing setting is the same in both (single line).
> 
> LO has text not justified, and a thinner line spacing.
> 
> Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
> Build ID: fc4f7db59152f606b6aa88cf32197700959d0f8b
> CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
> Locale: en-AU (en_AU.UTF-8); UI: en-US
> Calc: threaded
> 
> Same in 6.0.0.3, but line spacing was respected back in OOo 3.3.
> 
> Khaled, what do you think?

No idea about the lost justification settings, but the line metrics issue can
be explained. For historical reasons, fonts have three sets of line spacing
settings. The font has two of them equal to each other (Windows GDI will select
one of these, and older versions of LibreOffice got the values from Windows
GDI), and the last set has smaller line spacing.

We end up using that last set for complicated reasons and we don’t want to
touch this code anymore because whatever the way we change it will break some
font.

We have an escape hatch where we can specify that certain fonts should use the
values that Windows GDI uses, so we can do this here. Users should be able to
do this yourself from the expert configuration dialog (search for
FontsUseWinMetrics), but this is currently broken and works only for fonts
already specified in the configuration.

I suggest keeping this bug to track the line metrics issue, and open a new one
for the lost justification setting.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155297] FILEOPEN DOCX loading loses paragraph properties, including justification and line spacing

2023-05-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155297

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

 Blocks||150285
 Status|UNCONFIRMED |NEW
 Whiteboard| QA:needsComment|
Version|7.6.0.0 alpha1+ Master  |6.0.0.3 release
 Ever confirmed|0   |1
 CC||kha...@libreoffice.org,
   ||stephane.guillou@libreoffic
   ||e.org

--- Comment #4 from Stéphane Guillou (stragu) 
 ---
MS Office has the paragraph with "Kashida" justified settings, whereas LO has
it right-aligned.
Line spacing setting is the same in both (single line).

LO has text not justified, and a thinner line spacing.

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: fc4f7db59152f606b6aa88cf32197700959d0f8b
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Same in 6.0.0.3, but line spacing was respected back in OOo 3.3.

Khaled, what do you think?


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=150285
[Bug 150285] [META] Problems with Kashida, Justified Arabic/Persian text
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155297] FILEOPEN DOCX loading loses paragraph properties, including justification and line spacing

2023-05-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155297

QA Administrators  changed:

   What|Removed |Added

 Whiteboard|| QA:needsComment

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155297] FILEOPEN DOCX loading loses paragraph properties, including justification and line spacing

2023-05-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155297

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

 Blocks||107830
   Keywords||filter:docx


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=107830
[Bug 107830] [META] DOCX (OOXML) paragraph-related issues
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155297] FILEOPEN DOCX loading loses paragraph properties, including justification and line spacing

2023-05-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155297

--- Comment #3 from Hossein  ---
Created attachment 187271
  --> https://bugs.documentfoundation.org/attachment.cgi?id=187271=edit
PDF Output created with LibreOffice 7.6 dev master

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155297] FILEOPEN DOCX loading loses paragraph properties, including justification and line spacing

2023-05-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155297

--- Comment #2 from Hossein  ---
Created attachment 187270
  --> https://bugs.documentfoundation.org/attachment.cgi?id=187270=edit
PDF Output created with MS Word

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155297] FILEOPEN DOCX loading loses paragraph properties, including justification and line spacing

2023-05-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155297

--- Comment #1 from Hossein  ---
Created attachment 187269
  --> https://bugs.documentfoundation.org/attachment.cgi?id=187269=edit
"B Nazanin" font, used in the document

-- 
You are receiving this mail because:
You are the assignee for the bug.