Apache OpenOffice (AOO) Bugzilla – Issue 124312
Writer EDITING: Cannot type SMP chars in AltGr states
Last modified: 2019-05-14 20:28:42 UTC
Created attachment 82692 [details] Miao Unicode keyboard + layout When typing into Writer any *supplementary plane* char mapped to the AltGr or shift-AltGr states, a square, a crossed box, or simply nothing is produced, effectively blocking output of these SMP chars. By contrast, AltGr-mapped *BMP* chars are OK, as are *supplementary plane* chars mapped to normal or shift states. There is also no problem typing AltGr-mapped *supplementary plane* chars into Calc & Impress. These chars can also be readily produced with (shift-)AltGr in other apps like Word & Excel. This problem is attested in the following build & OS: - AOO410m1(Build:9750) Rev. 1570848 on 64-bit English Windows 7 Ultimate SP1 It is expected that this problem will also manifest in later nightly builds. A. Steps to reproduce bug with Miao (U+16F00..16F9F): 1. download & install Miao Unicode font at https://github.com/phjamr/MiaoUnicode/blob/master/MiaoUnicode-Regular.ttf?raw=true 2. unzip Miao1v2_.zip attached & install Miao keyboard (run setup.exe) 3. run Writer & set all Basic Fonts (CTL) to Miao Unicode (in Tools|Options|OpenOffice Writer) 4. select Miao Unicode font 5. on Windows language bar, select MR 6. refer to the 3 .jpg files in attached archive for keys mapped in each state 7. type any mapped keys in AltGr state: squares & crossed boxes appear -- BUG!!! 8. exit AOO B. Steps to reproduce bug with Tengwar (re-encoded at U+1CC00..1CC7F for testing): 1. unzip tengmod.zip attached 2. install Tengwar font (right-click tengmod.ttf & select Install) 3. install Tengwar keyboard (run setup.exe) 4. run Writer 5. select Tengwar Telcontar Mod font 6. on Windows language bar, select IS 7. refer to the 4 .jpg files in attached archive for keys mapped in each state 8. type any mapped keys in AltGr or shift-AltGr state: squares & nothing appear -- BUG!!! C. Control experiments with SMP chars mapped to normal or shift states: 1. repeat A.4-6 2. type any mapped keys in normal or shift state: Miao chars appear in document -- expected 3. repeat B.5-7 4. type any mapped keys in normal or shift state: Tengwar chars appear in document -- expected 5. exit AOO D. Control experiment with BMP chars (Hebrew): 1. download & install SBL Hebrew font at http://www.sbl-site.org/Fonts/SBL_Hbrw.ttf 2. download & install SBL Hebrew Tiro keyboard at http://www.sbl-site.org/Fonts/BiblicalHebrewTiro.zip 3. download & refer to SBL Hebrew Tiro keyboard layout at http://www.sbl-site.org/Fonts/BiblicalHebrewTiroManual.pdf 4. run Writer & select SBL Hebrew font 5. on Windows language bar, select HE 6. type any mapped keys in AltGr or shift-AltGr state: Hebrew chars (+ Latin punctuation) appear as expected E. Control experiments with other apps: 1. open Calc/Impress/Word/Excel/PowerPoint: blank document appears 2. repeat A.4-7: Miao chars (big letters with wart) appear in document -- expected 3. repeat B.5-8: Tengwar chars (+ Latin punctuation) appear in document -- expected F. Observation: Writer may be cutting off the 2nd half of the surrogate pair that represents a supplementary char, as suggested by the following tests: 1. in Writer, repeat A.4-6 2. repeat A.7 multiple times, keeping all chars (i.e., crossed boxes) on the same line 3. copy the whole line & paste into Word: a line of squares appear 4. in Word, place cursor after any square 5. press Ctrl-X: the string D81B appears, which is the Unicode code point of the 1st half of any surrogate pair representing chars in the Miao block => 2nd half cut off 6. in Writer, repeat B.5-7 7. repeat B.8 multiple times, keeping all chars (i.e., square + nothing) on the same line 8. repeat F.3-5: it shows the value D833 = USV of high surrogate of any char in Tengwar block (per this test font) => low surrogate cut off
Created attachment 82693 [details] Tengwar test font, keyboard, + layout
Miao display correctly AOO420m1(Build:9800) - Rev. 1586681 Rev.1586681 Win 7
reopened
Alt+Ctrl+key gives rectangles. sorry...
Attested also in the following build & OS: - A00416m1(Build9790) Rev. 1844436 on 64-bit English Windows 10 Pro When will 4.2 be released?