Ticket #5252 (new defect)

SVN Diffs for #5252

 

Opened 2 years ago

layout might handle SHY

Reported by: dficu4j(at)yahoo.com Assigned to: eric
Priority: minor Milestone: UNSCH
Component: layout Version: cvs
Keywords: layout Cc:
Load: Xref:
Java Version: Operating System: all
Project (C/J): ICU4C Weeks: 0.5
Review:

Description

The layout engine doesn't handle soft hyphen. There are a number of ways to handle this.

If we remove it from text before it is passed to the layout engine, then it's difficult to map glyphs back to user text properly. On the other hand, if we pass it down, the layout engine doesn't always know when a SHY is at the last position in a sentence, especially since line break is not usually done at the first pass through layout. I think though that the java line break will ask layout to regenerate the glyphs for text at line break boundaries, and so it may be that layout would be in a position to substitute null glyphs for SHY only when it is between two adjacent characters and nowhere else (between quotes or spaces, say, or at the end of the run of text handed to the layout engine).

OpenType might have some processing for this but I don't know.

Attachments

Change History

12/31/69 17:41:02 changed by auditor

  • Wed Jul 26 11:15:43 2006 grhoten changed notes2: assign: "" to "eric", priority: "" to "medium", target: "UNSCH" to "3.8", weeks: "" to "0.5",
  • Wed Jul 26 11:15:43 2006 grhoten moved from incoming to layout
  • Mon Oct 30 23:03:17 2006 emader changed notes2: target: "3.8" to "UNSCH",

Add/Change #5252 (layout might handle SHY)




Anti spam check: