Bug 100326 - In a vertical frame, Japanese text with bigger size font protrudes from the frame.
Summary: In a vertical frame, Japanese text with bigger size font protrudes from the f...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.1.3.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-11 09:04 UTC by fiftyigfuci_f_mi
Modified: 2017-08-26 11:42 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
a protruded image (font 40, zoom 100%) (31.52 KB, image/png)
2016-06-13 08:39 UTC, fiftyigfuci_f_mi
Details
The ducument in question (9.30 KB, application/vnd.oasis.opendocument.text)
2016-06-13 08:50 UTC, fiftyigfuci_f_mi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fiftyigfuci_f_mi 2016-06-11 09:04:14 UTC
Reproduce process:
Start Writer -> Main menu -> Insert -> Frame -> Frame -> Options tab -> text direction -> Right-to-left (vertical) -> OK
Focus into the frame and show a caret -> Toolbar's Font Size -> 40 -> Input a Japanese あいうえお

Actual result:
The text goes to out of the frame.

Expected result:
The text fits inside the frame.
Comment 1 fiftyigfuci_f_mi 2016-06-11 11:23:39 UTC
This problem is also affected from magnified document zooming level.
Comment 2 Joel Madero 2016-06-13 00:39:36 UTC
Please attach a sample document that shows the problem and then mark as UNCONFIRMED.

Thank you!
Comment 3 fiftyigfuci_f_mi 2016-06-13 08:39:41 UTC
Created attachment 125632 [details]
a protruded image (font 40, zoom 100%)

I attached the image.
The text protrudes and is cut off, and the caret position misaligned when zooming level is 100%.
The text fits inside when zooming level is 75%.

I noticed other things:
The toolbar's font size is set to 35 instead of 40 as I set to.
Comment 4 fiftyigfuci_f_mi 2016-06-13 08:50:03 UTC
Created attachment 125633 [details]
The ducument in question

Here is the document.
I noticed that once saved to a file the frame size is changed to narrow height.
Comment 5 Buovjaga 2016-06-17 16:55:50 UTC
(In reply to fiftyigfuci_f_mi from comment #4)
> Created attachment 125633 [details]
> The ducument in question
> 
> Here is the document.
> I noticed that once saved to a file the frame size is changed to narrow
> height.

Yes I confirm the collapsed height, but when I add more height, it behaves just fine and it does not go outside the frame.

Arch Linux 64-bit, KDE Plasma 5
Version: 5.3.0.0.alpha0+
Build ID: d2106d8c8c1af64924f5423223388dbbe99af352
CPU Threads: 8; OS Version: Linux 4.6; UI Render: default; 
Locale: fi-FI (fi_FI.UTF-8)
Built on June 16th 2016

Build ID: 5.1.3.2 Arch Linux build-1
CPU Threads: 8; OS Version: Linux 4.5; UI Render: default; 
Locale: fi-FI (fi_FI.UTF-8)
Comment 6 fiftyigfuci_f_mi 2016-06-18 03:06:06 UTC
This problem seems like depend on fonts type.
'TakaoPGothic' font protrudes from. On the other hand, 'Ume P Gothic' or 'Noto Sans CJK JP DemiLight' fonts fit inside.
I don't understand which is wrong the font or Writer.
Comment 7 Buovjaga 2016-06-26 13:05:48 UTC
Takeshi: any idea about this?
Comment 8 Takeshi Abe 2016-06-28 04:26:46 UTC
Reproduced with LibO 5.1.3 on Fedora 24, when choosing 'IPAPGothic' font.
As fiftyigfuci_f_mi describes above, it is OK when using other fonts e.g.
'Noto Sans', 'DejaVu Sans', 'VL Gothic' etc.
I doubt if there is something wrong with IPA font, as Takao font is also
a derivative of IPA font.
Comment 9 Buovjaga 2016-08-05 15:06:32 UTC
(In reply to Takeshi Abe from comment #8)
> Reproduced with LibO 5.1.3 on Fedora 24, when choosing 'IPAPGothic' font.
> As fiftyigfuci_f_mi describes above, it is OK when using other fonts e.g.
> 'Noto Sans', 'DejaVu Sans', 'VL Gothic' etc.
> I doubt if there is something wrong with IPA font, as Takao font is also
> a derivative of IPA font.

So do you think this is NOTOURBUG?
Comment 10 Xisco Faulí 2017-08-17 16:26:55 UTC Comment hidden (obsolete)
Comment 11 fiftyigfuci_f_mi 2017-08-26 06:13:52 UTC
This problem is fixed on:

Version: 5.4.0.3
Build ID: 7556cbc6811c9d992f4064ab9287069087d7f62c
CPU threads: 2; OS: Linux 4.13; UI render: default; VCL: gtk2; 
Locale: en-US (en_US.UTF-8); Calc: group