Bug 84307 - VIEWING: Division Symbol not converting properly from MS Word Doc
Summary: VIEWING: Division Symbol not converting properly from MS Word Doc
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.6.2 release
Hardware: All All
: high normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-25 03:04 UTC by cliffa
Modified: 2015-04-13 12:33 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
Math Quiz from teacher (20.50 KB, application/msword)
2014-09-25 03:04 UTC, cliffa
Details
Screenshot under Ubuntu 12.04 (14.71 KB, image/png)
2014-09-25 15:20 UTC, ign_christian
Details
Word 2010 (30.81 KB, image/jpeg)
2014-09-25 15:40 UTC, Xisco Faulí
Details
Word2013 and OneDrive do not show the division symbol (184.94 KB, image/png)
2014-10-04 06:27 UTC, Joey Reid
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cliffa 2014-09-25 03:04:33 UTC
Created attachment 106827 [details]
Math Quiz from teacher

See Attached File.
Version 4.1.6.2 shows division symbol
Version 4.2.6.2 shows Film Projector symbol


              
Operating System: Windows 7
Version: 4.2.6.2 release
Comment 1 Joel Madero 2014-09-25 05:14:57 UTC
Confirmed:
ubuntu 14.04 x64
LibreOffice 4.3.1.2 release

Marking as:
New
Normal - inability to create high quality work
high - regression (per comment)

bibisectRequest
regression
Comment 2 ign_christian 2014-09-25 15:20:51 UTC
Created attachment 106859 [details]
Screenshot under Ubuntu 12.04

I saw exactly same result with various version from LO 3.6.7.2 - 4.3.2.2, AOO 4.1.1, WPS (Kingsoft) 2014 under Ubuntu 12.04 x86.

Related to a font that is not installed ?
Comment 3 Xisco Faulí 2014-09-25 15:40:56 UTC
Created attachment 106860 [details]
Word 2010

This is how it looks in Word 2010.
Comment 4 Joel Madero 2014-09-25 16:12:20 UTC
Well, now I'm not convinced that it's confirmed. Might be a font issue. moving back to UNCONFIRMED.
Comment 5 ign_christian 2014-09-25 16:30:15 UTC
(In reply to comment #3)
> Created attachment 106860 [details]
> Word 2010
Same result with LO 4.0.6.2, 4.1.6.2, 4.2.6.3, 4.3.1.2 (all portable).

But with LO 4.0.6.2 (installed on system), I saw diamond/rhombus symbol.

Interestingly, I got correct result with AOO 4.1.1 portable under same system.

Really weird..

*) All tested on same system: Win7 x86
Comment 6 ign_christian 2014-09-25 16:41:26 UTC
Ehm..I don't understand why it's automatically set back to NEW while posting comment. Setting back to UNCONFIRMED per Joel's comment.

@cliffa, please inform what application used to create that file? Word and/or MathType? Version?
Comment 7 cliffa 2014-09-25 21:04:20 UTC
Unfortunately, will take me a few days to confirm with this professor what program they used to create the doc.

I was on 4.1.6 and it shows ÷
Upgraded to 4.2.6.2 and shows film projector.
Downgraded same machine to 4.1.6.2 and shows division again.

Tried on separate machine, same results.
Both machines Win7 64, one Lenovo laptop, one home built desktop.
Sent file to a Win 7 64, MS Office 2010 machine and got division symbol.
Created document in MS Office with ALT+246 division symbol and get division symbol on libreoffice machines.  

So, it's something specific to this document and the way it was created, but teacher says i'm the only one having problems with that symbol...  and only on my upgraded LO versions.
Comment 8 ign_christian 2014-09-26 03:43:51 UTC
Thanks for the response cliffa.. I guess it's related to import problem in LO with Word created file using ALT/ASCII character.

Found these resources:
http://www.tedmontgomery.com/tutorial/altchrc-a.html
http://www.theasciicode.com.ar/extended-ascii-code/division-sign-obelus-ascii-code-246.html

Suggested steps to verify this issue from scratch:
1. Using Word, create new .doc or .docx file
2. Make certain Num Lock key has been pressed/activated
3. While pressing ALT key, press 246 (in proper sequence on numeric keypad)
4. Release ALT key, and ÷ symbol will appear
5. Close & save file, then open in LO

Unfortunately I don't have Word to verify the issue.

Tested with LO 4.3.1.2 portable (Win7 x86) in step 1, issue not reproducible.
Comment 9 Joey Reid 2014-10-04 06:27:29 UTC
Created attachment 107310 [details]
Word2013 and OneDrive do not show the division symbol
Comment 10 Joey Reid 2014-10-04 07:12:23 UTC
IGN,
I think you're on the wrong track. If you open TXTBK Quiz 1.12.doc in LO 4.1 or AOO, put the cursor on the ÷ symbol, you'll see the font change to "Symbol". If you do the same in LO 4.2+, the font stays Times New Roman. We're not dealing with the standard Unicode/ASCII ÷ symbol.

OneDrive, Word2010, Word2013, and Writer 4.2+ all show the  symbol. Unless someone can show otherwise, I'd say that the current behavior is correct. It's possible that this file was created with Kingsoft Writer, old OpenOffice, or some other app that exports to a non-standard DOC format.
Comment 11 ign_christian 2014-10-05 02:42:56 UTC
Hi Joey, currently I cant do retest. Maybe tomorrow..

Anyway how about my tests with different OS but same LO version on comment 2 and comment 5 ?
Comment 12 ign_christian 2014-10-05 14:34:06 UTC
(In reply to Joey Reid from comment #10)
> IGN,
> I think you're on the wrong track. If you open TXTBK Quiz 1.12.doc in LO 4.1
> or AOO, put the cursor on the ÷ symbol, you'll see the font change to
> "Symbol". If you do the same in LO 4.2+, the font stays Times New Roman.
> We're not dealing with the standard Unicode/ASCII ÷ symbol.
Just rechecked & saw Times New Roman with AOO 4.1.1 portable, LO 4.1.6.2 portable, LO 4.0.6.2 under Win7 x86. 
Wondering why we saw different results?

> OneDrive, Word2010, Word2013, and Writer 4.2+ all show the  symbol. Unless
> someone can show otherwise, I'd say that the current behavior is correct.
> It's possible that this file was created with Kingsoft Writer, old
> OpenOffice, or some other app that exports to a non-standard DOC format.
Btw maybe you're right. This report should be closed if not clear which app used to create the file.

I just curious why results looks inconsistent & different among us (incl. reporter).
Comment 13 Joey Reid 2014-10-06 08:25:04 UTC
IGN,
Disregard my Symbol Font theory. While testing I must have copied the character from Writer back to Word. I had several copies open in LO, AOO, and Word.
 
But I still think we probably should close this bug report until someone can confirm that this is a valid Word Doc and what version of Word can actually open it. If it is a valid file, the question becomes Why did MS break their format and should LO behave like new or older version?
Comment 14 tommy27 2014-10-20 23:36:43 UTC
I can tell that with MS Word Viewer I see the same thing as in latest Word 2010 and Word 2013 screenshot.

so if not even MS itself canshow that symbol in it's own proprietary format why LibO should be able to do it?

it's NOTOURBUG