Bug 203063

Summary: Hangul/Hanja convertion bug in between characters
Product: [Fedora] Fedora Reporter: Jong Bae KO <jko>
Component: openoffice.orgAssignee: Caolan McNamara <caolanm>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: eng-i18n-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.0.4-2.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-29 16:53:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
a glyph replacement test case none

Description Jong Bae KO 2006-08-18 07:19:46 UTC
Description of problem:
Hangul/Hanja convertion doesn't work in some situation(Cut and paste from web
site. and input Hangul char in between Hanguls).


Version-Release number of selected component (if applicable):
openoffice.org 2.0.33

How reproducible:


Steps to Reproduce:
   1. start oowriter
   2. copy and paste the contents from the following URL:
http://i18n.brisbane.redhat.com/~llim/rendering/CJKI%20bold-nornal%20font%20compare
   3. ctrl-space to activate SCIM
   4. input Hangul char in between Korean characters
   5. press  F9
   6. choose one of them

Actual results:
disappear the hangul character

Expected results:
convert Hangul to Hanja

Additional info:
when i write some Hanguls and try like it again, the converting is working.

Comment 1 Caolan McNamara 2006-08-18 07:43:38 UTC
Please select the character and check format->character->Asian->Language, this
conversion only works based on the language of the affected characters, not the
unicode code points of the glyphs themselves. So the characters need to be set
to Korean to be detected by the dialog.

Comment 2 Jong Bae KO 2006-08-18 07:52:50 UTC
the Language is korean in Asian font text. :)

Comment 3 Caolan McNamara 2006-08-21 11:04:12 UTC
I think I misunderstood this, I was thinking of ctrl+shift+F7 when the input
engine is closed, i.e. the inbuilt writer hangul/hanga conversion. 

But you said F9, i.e. you are talking about the ability in the IM itself to
change the letter being inputted ? Is that what we mean here, if so could you
tell me a  sample cursor position and what letter on the keyboard to press when
using the hangul scim engine to reproduce this

This *might* be related to something like bug 200728 where we need a way to get
the surrounding text

Comment 4 Jong Bae KO 2006-08-21 23:11:20 UTC
Just follow the step until 3
The Hangul SCIM should be activated.
and then write "rh" between ìì¤í in ko_KR Locale, i.e ìê³ ì¤í <-- "rh" should
be in Korean(ê³ )
after that press F9
finally press 1(This action is selecting Hanja)

It should convert from Hangul to Hanja eg: "ê³ " --> "ä¼°"

Comment 5 Caolan McNamara 2006-08-22 11:24:23 UTC
reproducable

Comment 6 Caolan McNamara 2006-08-22 11:46:06 UTC
It's actually a nasty glyph substitution bug, e.g. cutting and pasting the
character from gedit into a blank line is ok, pasting it between those
characters and it's not rendered at all. 

So it's the glyph rendering that's the problem, not the  input engine handling.

Comment 7 Caolan McNamara 2006-08-23 13:06:51 UTC
very hard, fix checked in. Hopefully this one squashes this sort of problem
permanently

Comment 8 Caolan McNamara 2006-08-28 09:17:26 UTC
Fixed, but failed. Far more cunning required.

Comment 9 Caolan McNamara 2006-08-28 10:25:53 UTC
Attempt 2

Comment 10 Caolan McNamara 2006-08-29 11:39:00 UTC
Created attachment 135119 [details]
a glyph replacement test case 

A test document stuffed with troublesome scripts, and the sort of nasty edge
cases which trip us up

Comment 11 Caolan McNamara 2006-08-29 16:53:15 UTC
ok, how about that in 2.0.4-2.2 ? Finally looks good to me now.