[HarfBuzz] Overlap of vocal with thai text

Vignesh Raman rvignesh.raman at gmail.com
Fri Feb 27 14:10:37 PST 2015


Hi Behdad,

Thanks for replying.

Few more questions,

1. harbuzz-ng is from
http://www.freedesktop.org/software/harfbuzz/release/. Is that
correct?
2. So when you say use Qt with harbuzz it means it is not using the
harfbuzz in qt-everywhere-opensource-src-4.7.4/src/3rdparty/harfbuzz/src/
and it should use from
http://www.freedesktop.org/software/harfbuzz/release/.
3. Qt uses the freetype font engine to render font and harfbuzz is
required by freetype to take care of glyph positioning. Is my
understanding correct?  If yes, then if I update freetype and harfbuzz
to latest version then it should solve this issue.

Thanks & Regards,
Vignesh.

On Thu, Feb 26, 2015 at 1:41 AM, Behdad Esfahbod <behdad at behdad.org> wrote:
> Hi,
>
> You want to use Qt with harfbuzz-ng, not old-harfbuzz.  I'm not sure how to do
> that.  Search around for that perhaps.
>
> behdad
>
> On 15-02-24 01:58 AM, Vignesh Raman wrote:
>> Hi,
>>
>> In one of the test using qt harfbuzz the font "ซ้ำ" is rendered as
>> http://postimg.org/image/77eo3ekbb/bfc768ce/
>>
>> There was a similar issue reported in
>> https://bugreports.qt.io/browse/QTBUG-21206.
>>
>> I applied the harfbuzz thai patches from,
>> http://linux.thai.net/websvn/wsvn/software.qt/trunk/qt-everywhere-opensource-4.7.0/?#ad73b806583aa98bb601f6b456fa92491
>>
>> Also I applied the patch,
>> Fix isolated Thai SARA AM handling - 44f415aafaf7eec56b31468a58e0ca768bbc082d
>>
>> But the issue was still not resolved.
>>
>> I checked in harfbuzz-0.9.38,
>> ./hb-view --annotate Tahoma.ttf "ซ้ำ" > thai1.png
>>
>> The text rendered properly (There is no overlap of vocal as shown in
>> previous image)
>> http://postimg.org/image/h62uhsu29/dab679e6/
>>
>>
>> My questions
>> 1) From above two test can we confirm that harfbuzz-0.9.38 renders the
>> thai text correctly and qt harfbuzz is not rendering correctly?
>> 2) Is there a way to test thai characters/text with
>> qt-everywhere-opensource-src-4.7.4/src/3rdparty/harfbuzz ?
>> 3) Is this a know issue with qt harfbuzz ?
>>
>> Any pointers is appreciated. Thanks.
>>
>
> --
> behdad
> http://behdad.org/



-- 
Regards,
Vignesh.


More information about the HarfBuzz mailing list