Ticket #2406 (new enhancement)

SVN Diffs for #2406

 

Opened 6 years ago

Last modified 1 year ago

Need A Way To Identify Text That Must Be Processed By The LayoutEngine

Reported by: mader(at)jtcsv.com Assigned to: eric
Priority: minor Milestone: UNSCH
Component: layout Version: 2.2
Keywords: layout Cc:
Load: Xref: 2258
Java Version: Operating System: all
Project (C/J): ICU4C Weeks: 1
Review:

Description

Some clients of the LayoutEngine would like to be able to tell if a given piece of text must be processed by the LayoutEngine to be displayed correctly. A simple way to tell this would be to call layoutEngineFactory() and see if you get back a concrete instance of LayoutEngine. This will be slow because it requires creating and then destroying an object.

It would be faster to do this by cloning the logic in layoutEngineFactory() but not do the object creation. Doing this requires two copies of this logic, which causes a maintenance problem...

So, the best way to do this is to figure out some way to encapsulate the logic in layoutEngineFactory in such a way that it can be reused. Or, if we create a sepreate object for glyph storage, layoutEngineFactory can hand out singleton instances, and there's no object creation / deletion to deal with.

Attachments

Change History

12/31/69 17:40:39 changed by auditor

  • 10/25/02 17:16:02 emader changed notes2
  • 01/08/03 17:53:18 emader changed notes2
  • 05/30/03 11:13:10 hshih changed notes2
  • 02/05/04 18:12:49 emader changed notes2
  • Tue Sep 27 14:19:34 2005 weiv changed notes2: (via expression '$PglTl3.5') target: "3.2" to "",

10/03/07 10:54:15 changed by eric

  • load changed.
  • java changed.
  • revw changed.
  • summary changed from RFE: Need A Way To Identify Text That Must Be Processed By The LayoutEngine to Need A Way To Identify Text That Must Be Processed By The LayoutEngine.

Add/Change #2406 (Need A Way To Identify Text That Must Be Processed By The LayoutEngine)




Anti spam check: