You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2015/11/24 14:20:25 UTC

[Issue 126685] New: Writer allows font size smaller than "2" to be copy/pasted into Writer

https://bz.apache.org/ooo/show_bug.cgi?id=126685

          Issue ID: 126685
        Issue Type: DEFECT
           Summary: Writer allows font size smaller than "2" to be
                    copy/pasted into Writer
           Product: Writer
           Version: 4.1.1
          Hardware: PC
                OS: All
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P5 (lowest)
         Component: formatting
          Assignee: issues@openoffice.apache.org
          Reporter: akonecny2013@my.fit.edu

Writer allows the smallest input of font size directly through the program to
be of size 2. When a text of a size smaller than 2 is copied and pasted into a
Writer document, the result is that Writer allows the smaller font to be in the
file, but with weird line spacing formatting errors.

Steps to reproduce:
1. Open another word processing program (I used Microsoft Word 2010) and enter
a line of characters (one whole line so it's easier to see when scaled down to
font size 1).
2. Select the string of characters and change the size to 1.
3. Copy the selection.
4. Open Writer and paste the selection into a document.
5. View the errors.

Additional Details:
I tested this with several different characters and various lengths of strings,
and the same effect remained throughout. You can select the text with ctrl+a
and change the font back to a normal size and it will behave normally.

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

[Issue 126685] Writer allows font size smaller than "2" to be copy/pasted into Writer

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126685

--- Comment #3 from Cem Kaner <ka...@kaner.com> ---
Sorry, I made an unclear statement in my last post.

I wrote, "The result in AOO appears to be text that is 2 points. That is, when
I select the text, the font shows as Courier New (or Calibri)."

It should say, "The result in AOO appears to be text that is 2 points. That is,
when I select the text, the typeface shows as Courier New (or Calibri) and the
font size shows up as 2 in the font size box on the Properties panel and on the
Formatting toolbar."

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

[Issue 126685] Writer allows font size smaller than "2" to be copy/pasted into Writer

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126685

--- Comment #5 from Alex de los Reyes <cy...@gmail.com> ---
Created attachment 85443
  --> https://bz.apache.org/ooo/attachment.cgi?id=85443&action=edit
Open Office Result File demonstrating the bug at hand

This file shows the different behaviors when pasting both 12 point font text
and 1 point font text.

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

[Issue 126685] Writer allows font size smaller than "2" to be copy/pasted into Writer

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126685

--- Comment #7 from Alex de los Reyes <cy...@gmail.com> ---
Created attachment 85445
  --> https://bz.apache.org/ooo/attachment.cgi?id=85445&action=edit
Screenshot: Pasting 1 point font into open office - spacing problems

This demonstrates the problems with inserting a new line in the middle of
pasted 1 point font text as compared with inserting a new line in 2 point font
text that was not pasted in.

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

[Issue 126685] Writer allows font size smaller than "2" to be copy/pasted into Writer

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126685

Theodore Matula <bu...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Latest|---                         |4.2.0-dev
    Confirmation in|                            |

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

[Issue 126685] Writer allows font size smaller than "2" to be copy/pasted into Writer

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126685

mwilmott2013@my.fit.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mwilmott2013@my.fit.edu

--- Comment #1 from mwilmott2013@my.fit.edu ---
Created attachment 85288
  --> https://bz.apache.org/ooo/attachment.cgi?id=85288&action=edit
Failed Attempt to Replicate Bug

I have attempted to replicate this bug on a PC with Windows 8.1 and Word 2013
for PC (I didn't use Word 2010 as the original reporter did because I could not
safely acquire the software at this time, and the bug report stated that any
word processor could be used), and I could not replicate this bug on OpenOffice
Writer version 4.1.1.

I attempted the replication using the steps described in the bug report:

1. I typed a paragraph-sized string of characters in Word 2013.
2. I shrunk the string to size 1.
3. I copied the string in Word 2013.
4. I opened OpenOffice Writer and pasted the string.

In the attached screenshot, I show the string written in Word 2013 in size 12
font, and the results of when this string was copied into Writer: the string's
size 12 font was maintained.  I then duplicated the string in Word, and shrunk
the duplication to size 1 font.  (I also highlighted the string to make it
easier to see in Word.) When copied, Writer converted it into size 2. 

I have attempted the replication using strings of different lengths, as the
original reporter did, and in all attempts where the string of size 1 was
copied, it was converted to size 2.

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

[Issue 126685] Writer allows font size smaller than "2" to be copy/pasted into Writer

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126685

--- Comment #6 from Alex de los Reyes <cy...@gmail.com> ---
Created attachment 85444
  --> https://bz.apache.org/ooo/attachment.cgi?id=85444&action=edit
Screenshot: Pasting 1 point font into open office

Illustrating the problem of pasting a 1 point font when the minimum selectable
font size in Open Office is 2 points.  The font size still displays at 2
points.

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

[Issue 126685] Writer allows font size smaller than "2" to be copy/pasted into Writer

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126685

Alex de los Reyes <cy...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cyberdecker@gmail.com

--- Comment #4 from Alex de los Reyes <cy...@gmail.com> ---
Configuration: 
Windows 10
Word Pad Version 1511 (OS Build 10586.218)
Open Office 4.2.0 - AOO420m1(Build:9800)  -  Rev. 1692551

I was able to confirm and reproduce the original bug by Andrew K and also the
problems described by Cem Kaner.  Both their steps to reproduce seem to be
clear and accurate. 

To clarify there seem to be two issues here described in the original bug.

First issue here seems to be a discrepancy in the displayed font size in the
toolbar font size selector and the actual font size.  It may not be a problem
to paste a 1 point font from another application into Open Office, however the
toolbar displays that the font is 2 points when it is actually being displayed
as 1 point. (See the attached OO Result Sample file)

Second issue (and possibly worthy of a separate bug), newline spacing when
using a 1 point font after it has been pasted (as indicated by both the
original poster and Cem Kaner) is very different from the newline spacing when
and seems to be very large compared to the newline spacing with standard 2
point font.  (See the attached screenshot)

Screenshots of the issue have been attached and show the behavior when zoomed
in at 600% to best illustrate the problem.

I have also attached a sample RTF file created in Word Pad in windows 10 that
has a 12 point font sample and a 1 point font sample that can be used for
copying and pasting.  I have also included the Open Office file that I have
pasted text into so that the resulting behavior can be observed.

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

[Issue 126685] Writer allows font size smaller than "2" to be copy/pasted into Writer

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126685

Theodore Matula <bu...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |buddymatula@gmail.com
             Status|UNCONFIRMED                 |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #8 from Theodore Matula <bu...@gmail.com> ---
Since Alex de los Reyes and Cem Kaner were both able to reproduce this bug, I
am moving this to Confirmed

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

[Issue 126685] Writer allows font size smaller than "2" to be copy/pasted into Writer

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126685

Cem Kaner <ka...@kaner.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kaner@kaner.com

--- Comment #2 from Cem Kaner <ka...@kaner.com> ---
MS Word (Office) 16.0.6366.2062
Openoffice AOO420m1(Build:9800)  -  Rev. 1692551
Windows 10 laptop

I followed mwllmott2013's steps (the only difference is the updated software,
using Word 16 and OOo 4.2.0).

1. I create a paragraph of text in Word (Courier New typeface, or in a
replication, Calibri). I did this with different-size paragraphs. For example,
I used "AOO420m1(Build:9800)  -  Rev. 1692551" as the text in one of the
paragraphs I tested.

2. select the text and shrink to 1 point, 

3. copy the text and 

4. Paste Special using all of the options that seem reasonable ("GDI metafile"
and "Microsoft Word Document" give odd results that seem not relevant to this
report)

The result in AOO appears to be text that is 2 points. That is, when I select
the text, the font shows as Courier New (or Calibri).

HOWEVER

5. Select all text in the document (CTRL-A). Along with selecting my line of
text, CTRL-A selects a blank line that has a default typeface of Times and a
default size of 12 points). The typeface box and the type size box are blank on
the document window because I have selected text that includes different
typefaces and different sizes.

6. Change the font size to 2. If the font size of the pasted text is actually
2, that text should not change.

On my screen, the size of the pasted text appears to double. That is, if I look
at the letters rather than the number in the font size box, the letters appear
to have been pasted at some teeny-tiny size that is less than 2 points.

7. Start over, but this time at the end of step 4, change zoom level to 800%.
The teeny-tiny letters are now quite readable. Select them. The Properties
appear to be Calibri and 2 points. Move the cursor into the font size pulldown,
select the 2 and either overwrite it or backspace and then type 2. The number
in the box is 2 but the text has grown much bigger.

There seems to be an intermittent difference in behavior depending on whether I
select/edit the 2 in the Formatting toolbar or the 2 in the Properties box.
When I work in the Properties box, sometimes the font size (the number) changes
to 6 (rather than 2) when I edit it, even though I think I have typed in a 2.
However, when I do the test again, I get a 2. This intermittent inconsistency
might be a user error. I am mentioning it only to say, if that happens to you
when you try to replicate this, then replicate my steps from the Formatting bar
or Undo a few times and try it again in Properties.

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