Re: [FLEXJS] TextLayout (was Re: Debugging (was [DISCUSS] Release Apache FlexJS 0.5.0))

2015-11-18 Thread jude
BTW one benefit of SVG is that it has a shadow dom. That means it is shielded from tampering unwanted CSS styling. This is one of the problems web devs face using web components. So if you have a web component, "MyButton" and it has it's using the regular DOM using div, img and spans to make the bu

Re: [FLEXJS] TextLayout (was Re: Debugging (was [DISCUSS] Release Apache FlexJS 0.5.0))

2015-11-07 Thread Harbs
BTW, another data point is that FOP implemented the KP algorithm. I don’t know how practical it would be to adapt that code, but it’s an Apache project, so licensing should be a non-issue. On Nov 7, 2015, at 10:00 PM, Harbs wrote: > > On Nov 6, 2015, at 8:55 PM, Alex Harui wrote: > >> That

Re: [FLEXJS] TextLayout (was Re: Debugging (was [DISCUSS] Release Apache FlexJS 0.5.0))

2015-11-07 Thread Harbs
On Nov 6, 2015, at 8:55 PM, Alex Harui wrote: > That was an awesome list! Thanks. Just curious, can text layout end up > affecting more than two lines back? Yes. Assuming we’re dealing with paragraph composition, text anywhere in the paragraph can effect the entire line breaking sequence. Th

Re: [FLEXJS] TextLayout (was Re: Debugging (was [DISCUSS] Release Apache FlexJS 0.5.0))

2015-11-06 Thread Alex Harui
That was an awesome list! Thanks. Just curious, can text layout end up affecting more than two lines back? I still think it boils down to rectangles on a path but the path may not be a straight horizontal line or always going left-to-right, and you sometimes have to go back a bit. -Alex On 11/

Re: [FLEXJS] TextLayout (was Re: Debugging (was [DISCUSS] Release Apache FlexJS 0.5.0))

2015-11-06 Thread Harbs
> > What isn’t clear to me is that there is something about text layout to be > “figured out”. I’m not convinced there is a “best practice” for text > layout that covers international, effects, character positioning that > isn’t on a horizontal line, etc. Many of the folks who worked on Adobe >

Re: [FLEXJS] TextLayout (was Re: Debugging (was [DISCUSS] Release Apache FlexJS 0.5.0))

2015-11-05 Thread Alex Harui
On 11/5/15, 10:44 PM, "Harbs" wrote: > >On Nov 6, 2015, at 1:01 AM, jude wrote: > >> How did the TLF engineers figure this out? > >I think you just need to know and know people who know. Microsoft’s site >has some great info, but it’s scattered all over the place. I learned a >lot some years a

Re: [FLEXJS] TextLayout (was Re: Debugging (was [DISCUSS] Release Apache FlexJS 0.5.0))

2015-11-05 Thread Harbs
On Nov 6, 2015, at 1:01 AM, jude wrote: > How did the TLF engineers figure this out? I think you just need to know and know people who know. Microsoft’s site has some great info, but it’s scattered all over the place. I learned a lot some years ago when I was working on creating some fonts. I

Re: [FLEXJS] TextLayout (was Re: Debugging (was [DISCUSS] Release Apache FlexJS 0.5.0))

2015-11-05 Thread jude
Alex, I'm proud to say I have worked on TLF with Harbs and so I know a lot on this subject. Well, that's not true, Harbs did all the work while I poked and prodded and wrote code he had to rewrite. :P However, in my opinion it was one of the more difficult frameworks I've seen because of a lot of n

Re: [FLEXJS] TextLayout (was Re: Debugging (was [DISCUSS] Release Apache FlexJS 0.5.0))

2015-11-05 Thread Harbs
I’m planning on trying to make txtjs work for me. I like the fact that it has complete control of font loading, and text effects is an important feature for me. It would be an interesting exercise to compare performance of the various rendering methods. txtjs has some performance testing, and i

Re: [FLEXJS] TextLayout (was Re: Debugging (was [DISCUSS] Release Apache FlexJS 0.5.0))

2015-11-05 Thread Alex Harui
Thanks Harbs. That’s a really great set of information. It is one reason we are trying not to lock FlexJS to any particular text rendering mechanism. Can you tell us more about which choice you are going to make for your apps? -Alex On 11/5/15, 5:06 AM, "Harbs" wrote: >There’s two parts to p

Re: [FLEXJS] TextLayout (was Re: Debugging (was [DISCUSS] Release Apache FlexJS 0.5.0))

2015-11-05 Thread Harbs
There’s two parts to performance. With Flash TLF, the bottleneck is really in the TLF code. The FTE composition is pretty low level. With JS, everything is going to be high level. It remains to be seen how the performance of the FTE part will be in javascript. Of course, there’s the chance that

[FLEXJS] TextLayout (was Re: Debugging (was [DISCUSS] Release Apache FlexJS 0.5.0))

2015-11-02 Thread Alex Harui
Renaming the thread to see if we can get more opinions.. There is some evidence that “hot” JS code runs better than “hot” AS code. So one consideration is the coding patterns themselves. That’s why FlexJS prefers composition over subclassing, so shared code lives in one place so it can get “hotte

Re: Debugging (was [DISCUSS] Release Apache FlexJS 0.5.0)

2015-11-01 Thread Harbs
I don’t remember the list off-hand, but a lot is related to language specific features. There’s also 3 or 4 levels of ligatures. There were some features I wished it supported (maybe it was contextual alternates?), but the OpenType support in general is not bad. There’s definitely missing pieces

Re: Debugging (was [DISCUSS] Release Apache FlexJS 0.5.0)

2015-11-01 Thread Alex Harui
On 11/1/15, 10:26 AM, "Harbs" wrote: >Not just RTL. There’s an awful lot of OpenType features that it supports. >(Of course It would be great to support even more…) ;-) I wasn’t aware of that. What kinds of things and how do the browsers do it? -Alex

Re: Debugging (was [DISCUSS] Release Apache FlexJS 0.5.0)

2015-11-01 Thread Harbs
Not just RTL. There’s an awful lot of OpenType features that it supports. (Of course It would be great to support even more…) ;-) On Nov 1, 2015, at 5:06 PM, Alex Harui wrote: > IMO, TextLine was primarily there to do right-to-left text.

Re: Debugging (was [DISCUSS] Release Apache FlexJS 0.5.0)

2015-11-01 Thread Alex Harui
On 11/1/15, 3:21 AM, "Harbs" wrote: >I forgot to respond to this. > >Yes. I could be a candidate to work on this. If I get some help, I’d be >more inclined to work on a public port of TLF. If not, it’ll be MUCH >easier to just hack together some code that I could use internally. > >FWIW, I’m no

Re: Debugging (was [DISCUSS] Release Apache FlexJS 0.5.0)

2015-11-01 Thread Harbs
I forgot to respond to this. Yes. I could be a candidate to work on this. If I get some help, I’d be more inclined to work on a public port of TLF. If not, it’ll be MUCH easier to just hack together some code that I could use internally. FWIW, I’m not totally thrilled with Flash’s TextLine. The

Re: Debugging (was [DISCUSS] Release Apache FlexJS 0.5.0)

2015-10-21 Thread Alex Harui
For sure, FlexJS is not so far along that you won’t have to use browser debugging. More thoughts inline. On 10/21/15, 12:19 AM, "Harbs" wrote: >Changing the subject… > >Here’s a real-life scenario which I’m not sure how it’s going to work: > >I expect to spend the next many months building a JS