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 2012/10/15 06:28:09 UTC

[Bug 121215] New: [From Symphony]Font name Arial in XLS is changed to Arial1 when save as .ods

https://issues.apache.org/ooo/show_bug.cgi?id=121215

          Priority: P3
            Bug ID: 121215
          Assignee: ooo-issues@incubator.apache.org
           Summary: [From Symphony]Font name Arial in XLS is changed to
                    Arial1 when save as .ods
          Severity: normal
        Issue Type: DEFECT
    Classification: Application
                OS: All
          Reporter: yanji.yj@gmail.com
          Hardware: All
            Status: CONFIRMED
           Version: AOO 3.4.1
         Component: save-export
           Product: spreadsheet

Created attachment 79774
  --> https://issues.apache.org/ooo/attachment.cgi?id=79774&action=edit
sample

Build: AOO 3.4.1
OS: All
Defect:
 Save attached .xls file to .ods, the cell's font name Arial is changed to
Arial1 in style.xml

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

[Bug 121215] [From Symphony]Font name Arial in XLS is changed to Arial1 when save as .ods

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

--- Comment #4 from SVN Robot <sv...@dev.null.org> ---
"hdu" committed SVN revision 1399203 into trunk:
#i121215# fix the spreadsheet font family\n\nPatch-by: Tan Li
<litan.test@gma...

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

[Bug 121215] [From Symphony]Font name Arial in XLS is changed to Arial1 when save as .ods

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

hdu@apache.org <hd...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |AOO 4.0

--- Comment #5 from hdu@apache.org <hd...@apache.org> ---
Verified in AOO 4.0.0

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

[Bug 121215] [From Symphony]Font name Arial in XLS is changed to Arial1 when save as .ods

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

Tan Li <li...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #79775|                            |review?
              Flags|                            |

--- Comment #2 from Tan Li <li...@gmail.com> ---
Created attachment 79775
  --> https://issues.apache.org/ooo/attachment.cgi?id=79775&action=edit
patch for issue

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

[Bug 121215] [From Symphony]Font name Arial in XLS is changed to Arial1 when save as .ods

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

hdu@apache.org <hd...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED
                 CC|                            |hdu@apache.org

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

[Bug 121215] [From Symphony]Font name Arial in XLS is changed to Arial1 when save as .ods

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

hdu@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #79775|review?                     |review+
              Flags|                            |

--- Comment #3 from hdu@apache.org ---
Comment on attachment 79775
  --> https://issues.apache.org/ooo/attachment.cgi?id=79775
patch for issue

That makes perfect sense. Thanks for analyzing and solving the problem!

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

[Bug 121215] [From Symphony]Font name Arial in XLS is changed to Arial1 when save as .ods

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

Tan Li <li...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |litan.test@gmail.com

--- Comment #1 from Tan Li <li...@gmail.com> ---
I have a patch for this issue.

Root cause:
Font pitch is set PITCH_DONTKNOW for all FontFamily while construct font item.
While some FontFamily has known pitch type. It will treat Arial with
PITCH_DONTKNOW as new font from previou Arial font in document. 

Solution:
Set corresponding font pitch for FontFamily according to official literature to
avoid mistake one font as two.

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