On 12-10-24 09:33 AM, Lóránt Pintér wrote:
> Having this would be wonderful. Is there a plan to do this in the near future,
> maybe before 1.0?

It's probably two hours to get this working...  I'll try to prioritize it.

behdad


> -- 
> Lorant
> 
> On Wednesday, October 24, 2012 at 6:23 PM, Behdad Esfahbod wrote:
> 
>> On 12-10-23 10:43 PM, Konstantin Ritt wrote:
>>> 2012/10/23 Behdad Esfahbod <[email protected] <mailto:[email protected]>>:
>>>>> On 12-10-17 08:22 PM, Lóránt Pintér wrote:
>>>>>>>
>>>>>>> This could work, but I would basically have to shape the whole text 
>>>>>>> twice.
>>>>>>> That doesn't sound right. Or does it?
>>>>>
>>>>> It actually is what you need to do, and what Pango does for example. Now, 
>>>>> I
>>>>> like to add API to HarfBuzz that would improve this, and you would
>>>>> essentially
>>>>> just need to reshape the cluster at the linebreak position, but for now, 
>>>>> you
>>>>> need to reshape each line.
>>> Are you saying about re-introducing the Unicode Segmentation algorithm
>>> implementation to Harfbuzz? Hope you're not :)
>>
>> No. Unicode segmentation algorithm is not really helpful here. What HarfBuzz
>> can tell you is this: for each position in the text, it can tell you whether
>> breaking the string here and shaping the two sides separately and
>> concatenating the resulting glyphstrings will result in the same glyphstring
>> that you get if you shape the full string. No other code can tell you that,
>> since it depends on how the font lookups work.
>>
>> behdad
>>
>>> Konstantin
> 
_______________________________________________
HarfBuzz mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/harfbuzz

Reply via email to