Now, LireOffice can use Ch (It should be a full-width "Character") as units for First Line Indent. It is a great feature that MOST CJK users use 2 Ch in their documents! :) However, "Ch" unit is fixed in deault font size (mine is 12). When Using different font size in different paragraghs, "Ch" should be variable to fit the actual font size of 2 full-width characters.
Created attachment 46191 [details] The fixed size of 2 Ch. See the fixed size of 2 Ch indent.
[This is an automated message.] This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it started right out as NEW without ever being explicitly confirmed. The bug is changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases. Details on how to test the 3.5.0 beta1 can be found at: http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1 more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Because the unit is "Character", the indent or others should be variable along with the font size. It is not solved at dev3.5 yet.
** Please read this message in its entirety before responding ** 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 on a currently supported version of LibreOffice (4.3.5 or later): https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System 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) Thank you for your help! -- The LibreOffice QA Team
Still reproduced in LibreOffice 4.3.5.2 on fedora 21.
** Please read this message in its entirety before responding ** 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 on a currently supported version of LibreOffice (5.0.4 or later) https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System 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) 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: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for your help! -- The LibreOffice QA Team This NEW Message was generated on: 2016-01-17
*** Bug 97208 has been marked as a duplicate of this bug. ***
** Please read this message in its entirety before responding ** 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 on a currently supported version of LibreOffice (5.4.1 or 5.3.6 https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System 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) 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: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug-20170901
The bug still exists in the most recent version.
A workaround for Chinese users: Use CM (厘米) instead. 四号:0.98 厘米 小四:0.86 厘米 五号:0.74 厘米
See also: https://tieba.baidu.com/p/5516848517
I suggest Ch should be identical to em all the time while it used as units.
Addording to UAX 11 East Asian Width (https://www.unicode.org/reports/tr11/tr11-31.html#Overview): “For a traditional East Asian fixed pitch font, this width translates to a display width of either one half or a whole unit width. A common name for this unit width is “Em”. While an Em is customarily the height of the letter “M”, it is the same as the unit width in East Asian fonts, because in these fonts the standard character cell is square.” So we should making "Ch" unit identical to em unit.
Dear Cheng-Chia Tseng, 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
(In reply to QA Administrators from comment #14) The bug still exists in the most recent version.
Check the Format - Paragraph - Indent - Automatic, the first line of paragraph would indent two characters and would follow the font size. I think technically it is possible.
Even using English the "Enable char unit" is not precise either. When checking "Enable char unit" can it just use relative unit like "em"? https://www.w3.org/Style/Examples/007/units.en.html
Khaled, any idea about this? Font size seems to be calulated not correctly.
(In reply to Heiko Tietze from comment #18) > Khaled, any idea about this? Font size seems to be calulated not correctly. What's wrong with it?
This is still producible on current master. Anyone interest in this one, or could some devs give some code pointers and advices? I am adding Miklos Vajna to cc. Could you please advice? I am working bug 129448, they are related, but *this* one seems to be different and I do not know where to start, and I am not sure whether this is as easy as bug 129448 for me to work on.
By the way, with the fix for bug 129448 (patch currently under review: https://gerrit.libreoffice.org/c/core/+/125627), the first line indent will not be effected by line space, thus when first line indent is set to Auto, then it will always be precisely 2-characters indent, and the indent will be updated upon font size change. *This* bug is a little different as it only relates to when the "Use character units" option is enabled and one inputs an first line indent of e.g. "2 Ch" in the Paragraph Properties dialog. In other words, this bug is about the manually set first line indent, not Auto first line indent.
Created attachment 176991 [details] Test ODT Document As shown in this test document, the first line indent for the 1st paragraph is correctly 2-characters, whereas it is wrong in the 2nd paragraph.
Created attachment 176992 [details] screenshot showing the problem Attached is a screenshot illustrating the problem, as well as a comparison with MSO Word 2010.
It would be good to research what is that "ch" unit, I'm not familiar with that. Is that intentionally depending on the font size or is there a fixed conversion factor between ch and e.g. twips?
One ch unit means one character unit, which equals to the height of the character of the current paragraph using the font of the current paragraph style. In Chinese language there is a long standing convention that in a paragraph the first line indent should be 2 characters.
The series of commits which added the "character unit" are: https://cgit.freedesktop.org/libreoffice/core/log/?qt=grep&q=cjk-character-units
(In reply to Kevin Suo from comment #10) Another workaround for Chinese users: Insert U+3000 IDEOGRAPHIC SPACE ( ) (known as 全角空格) twice at the beginning.
(In reply to Kevin Suo from comment #25) > One ch unit means one character unit, which equals to the height of the > character of the current paragraph using the font of the current paragraph > style. > > In Chinese language there is a long standing convention that in a paragraph > the first line indent should be 2 characters. This is also documented in the Requirements for Chinese Text Layout by W3C. https://www.w3.org/TR/clreq/#first_line_indents
*** Bug 123938 has been marked as a duplicate of this bug. ***
I'm sure that it may cause by Line Spacing, which will mess up first line indent using Character with CJK language if it's not on Sing Line. In my memory, Libreoffice did add the feather of first line indent using Character on 6.x version. But I find it only work on Sing Line. If I change to other Line Spacing, the characters of first line won't be aligned, and it will make no sense. Testing on Libreoffce 7.3, still not fixed
Some code reference: the CJK character units seems added by: https://cgit.freedesktop.org/libreoffice/core/log/?qt=author&q=amwang