Stephan Bergmann wrote:
Stephan Bergmann wrote:
[...]
How to proceede
---------------

In a first step, I will try to identify and gather as many places in OOo that need to be adapted, but I need your help for that: IF YOU KNOW OF ANY PLACE IN OOo THAT NEEDS TO BE ADAPTED, PLEASE LET ME KNOW.

Once all places have been identified, we can see how to address the task of adapting them accordingly.

Items I have identified so far:

1 I installed a font that contains appropriate glyphs (code2001.ttf from <>) into a SRC680m192 share/fonts/truetype, imported an UTF-8 encoded text file that contains U+010300 into Writer, copy/pasted that text to various places, on both Windows and X11: - On Windows, Writer shows a correct glyph; cursor traveling and selection work. On X11, Writer shows two boxes instead of a single correct glyph; cursor traveling left/right works by treating the two boxes as a single unit (but traveling up/down may bring you into the middle of the two boxes), selection treats the two boxes as individual units. - Behavior in the edit engine (tried a text box in Draw, and "File - Properties... - Description - Comments") is the same as Writer (on each of Windows and X11, respectively). - Behavior in a text control (tried "File - Properties... - Description - Title" is that two boxes instead of a single correct glyph are shown, and cursor traveling and selection treat the two boxes as individual units (on both Windows and X11).
Also, Windows soffice often crashed while doing these tests.

2 The "Insert - Special Character..." dialog does not support characters beyond U+FFFF.

3 From the OOo UNO API list I already posted, the following items are problematic: com/sun/star/accessibility/XAccessibleText: char getCharacter([in] long nIndex)
com/sun/star/awt/KeyEvent: char KeyChar
com/sun/star/awt/KeyStroke: char KeyChar
com/sun/star/awt/SimpleFontMetric: char FirstChar
com/sun/star/awt/SimpleFontMetric: char LastChar
com/sun/star/awt/XFont: sequence<short> getCharWidths([in] char nFirst, [in] char nLast)
com/sun/star/awt/XFont: short getCharWidth([in] char c)
com/sun/star/awt/XFont: void getKernPairs([out] sequence<char> Chars1, [out] sequence<char> Chars2, [out] sequence<short> Kerns)
com/sun/star/awt/XTextEditField: void setEchoChar([in] char cEcho)
com/sun/star/i18n/XExtendedInputSequenceChecker: long correctInputSequence([inout] string aText, [in] long nPos, [in] char cInputChar, [in] short nInputCheckMode) com/sun/star/i18n/XExtendedTransliteration: char transliterateChar2Char([in] char cChar) com/sun/star/i18n/XExtendedTransliteration: string transliterateChar2String([in] char cChar) com/sun/star/i18n/XInputSequenceChecker: boolean checkInputSequence([in] string aText, [in] long nPos, [in] char cInputChar, [in] short nInputCheckMode) com/sun/star/io/XTextInputStream: string readString([in] sequence<char> Delimiters, [in] boolean bRemoveDelimiter)
com/sun/star/style/TabStop: char DecimalChar
com/sun/star/style/TabStop: char FillChar
com/sun/star/text/TextSortDescriptor2: [property] char Delimiter
com/sun/star/text/TextSortDescriptor: [property] char Delimiter

4 <http://www.openoffice.org/issues/show_bug.cgi?id=47752>: Switch on support for supplementary Unicode characters in the sal/textenc Big5HKSCS encoding (already implemented, but conditionally switched off until OOo supports supplementary characters well).

5 <http://www.openoffice.org/issues/show_bug.cgi?id=71515>: A minor issue when writing supplementary Unicode characters to ODF.

For the record:

6 <http://www.openoffice.org/issues/show_bug.cgi?id=40391>: Problems displaying surrogate characters (on Windows only, as far as I understand).

-Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to