Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 13360
Product:
Component:
Status: NEW
Resolution:
Assigned To: Dom Lachowicz <domlachowicz@gmail.com>
Hardware:
OS:
Version:
Priority:
Severity:
Target Milestone:
Reporter: Manuel Kaufmann <humitos@gmail.com>
Add CC:
CC:
Remove selected CCs
QA Contact:
URL:
Summary:
Status Whiteboard:
Keywords:

Attachment Type Creator Created Size Flags Actions
Sentence saved as .abw image/png Manuel Kaufmann 2012-05-30 17:48 50.67 KB none Details
Sentence saved as .odt image/png Manuel Kaufmann 2012-05-30 17:48 50.18 KB none Details
AbiWord file application/x-abiword Manuel Kaufmann 2012-05-30 17:49 2.42 KB none Details
Open Document file application/vnd.oasis.opendocument.text Manuel Kaufmann 2012-05-30 17:49 2.70 KB none Details
Sentence that I typed image/png Manuel Kaufmann 2012-05-30 17:50 48.68 KB none Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 13360 depends on: Show dependency tree
Show dependency graph
Bug 13360 blocks:

Additional Comments:









View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2012-05-30 17:46
Steps to reproduce it:

 1. Open AbiWord running "abiword" from the Terminal
 2. Type the French sentence
(http://bugs.sugarlabs.org/attachment/ticket/2554/write-sentence-to-type.jpeg)
 3. Save it as .odt and .abw
 4. Close AbiWord
 5. Open AbiWord again
 6. Open your .odt and .abw documents

Issue:

All the special characters (with some special accent) are not displayed in the
right way.

Expected behavior:

All those characters should be shown in the same way that they are shown when
you are typing them.

Environment:

OLPC XO 1.75 os12 - Fedora 17 - AbiWord 2.8.6

------- Comment #1 From Manuel Kaufmann 2012-05-30 17:48:14 -------
Created an attachment (id=5572) [details]
Sentence saved as .abw

------- Comment #2 From Manuel Kaufmann 2012-05-30 17:48:54 -------
Created an attachment (id=5573) [details]
Sentence saved as .odt

------- Comment #3 From Manuel Kaufmann 2012-05-30 17:49:17 -------
Created an attachment (id=5574) [details]
AbiWord file

------- Comment #4 From Manuel Kaufmann 2012-05-30 17:49:30 -------
Created an attachment (id=5575) [details]
Open Document file

------- Comment #5 From Manuel Kaufmann 2012-05-30 17:50:01 -------
Created an attachment (id=5576) [details]
Sentence that I typed

------- Comment #6 From Manuel Kaufmann 2012-05-30 17:52:36 -------
Just in case, this is the keyboard layout that I'm using:

 * http://bugs.sugarlabs.org/attachment/ticket/2554/xo-1.75-us-keyboard.jpeg

------- Comment #7 From Simon Larochelle 2012-06-03 17:02:16 -------
The accented characters in french-sentence.odt and in french-sentence.abw are
written as composed characters (for example "à" is written as U+0061 U+0300
instead of U+00E0). How did you input the accented characters?

abiword has only limited support for composed characters.

------- Comment #8 From Manuel Kaufmann 2012-06-03 17:30:06 -------
(In reply to comment #7)
> instead of U+00E0). How did you input the accented characters?

I used the keyboard of which a picture of it is attached and I pressed:
  1. for the first a of the sentence (accented "a"s):
    * "shift + a" and then "altgr + 3"
  2. for the second one
    * "a" and then "altgr + 3"
  3. for the third
    * "a" and then "altgr + 7"

Was this comment helpful?

------- Comment #9 From Simon Larochelle 2012-06-03 22:05:08 -------
Input made with keyboard layout "USA-Group toggle on multiply/divide key"

------- Comment #10 From Simon Larochelle 2012-06-20 00:20:41 -------
A partial solution: use DejaVu or Free fonts. 

The default font in abiword is "Times New Roman". On Linux, it is substituted
with font "Liberation Serif" which lacks support for Unicode "Combining
Diacritical Marks". Since abiword does not allow the use of more than one font
per run, pango cannot substitute a different font for these symbols and abiword
cannot display the accents. The DejaVu and Free fonts have the "Combining
Diacritical Marks" and thus the accents can be displayed correctly if one of
these fonts is used. (Note: with most keyboard layouts, accent inputs generate
Unicode "Latin-Extended A" code points which are handled fine by abiword).

Possible solutions:
1) Rewrite the font implementation in abiword so that font substitution become
more flexible and that more than one font per run can be displayed.
2) Normalize all Unicode inputs into abiword to the NFC form. This should be
possible with boost::locale::normalize.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug