[HarfBuzz] HarfBuzz glyph offsets

Daniel Ribeiro Maciel daniel.maciel at gmail.com
Mon Jan 4 13:31:18 PST 2016


Attached the x_advance and x_offset of each codepoint.
Also, attached the screenshots of each version.

Thanks,
Daniel

On Mon, Jan 4, 2016 at 3:09 PM, Daniel Ribeiro Maciel <
daniel.maciel at gmail.com> wrote:

> Yes, will do it in about 4h-5h as I'm currently unable to access my dev
> station.
>
> Thanks Behdad.
>
> On Mon, Jan 4, 2016 at 2:25 PM, Behdad Esfahbod <behdad.esfahbod at gmail.com
> > wrote:
>
>> Hi Daniel,
>>
>> Can you attach hb-shape output of the old and new HarfBuzz?
>>
>> Thanks,
>> behdad
>>
>> On 16-01-04 04:15 PM, Daniel Ribeiro Maciel wrote:
>> > Test string: "T. W. AV Ve"
>> > Font used Garamond Premier Pro, attached here.
>> >
>> > I use xAdvance for offsetting glyphs and FreeType to render.
>> > I will generate some PNGs and send them to you guys as well.
>> >
>> > Thanks!
>> > Daniel
>> >
>> > On Mon, Jan 4, 2016 at 9:54 AM, Behdad Esfahbod <
>> behdad.esfahbod at gmail.com
>> > <mailto:behdad.esfahbod at gmail.com>> wrote:
>> >
>> >     Hi Daniel,
>> >
>> >     We need to see a sample font and string to be able to help.
>> >
>> >     behdad
>> >
>> >     On 16-01-04 02:37 AM, Daniel Ribeiro Maciel wrote:
>> >     > Hi Behdad,
>> >     >
>> >     > I have a testsuite for my font stuff. After upgrading from 1.0.6
>> to 1.1.0
>> >     > (narrowed it down), kerning is no longer enabled. (My kerning
>> test suite fails
>> >     > horribly, no kerning is applied at all)
>> >     >
>> >     > One notable thing is I'm currently using my own CMakeLists.txt
>> file to build
>> >     > and link to harfbuzz.
>> >     >
>> >     > Maybe now I need to define something extra to enable kerning
>> again?
>> >     >
>> >     > Any clues on what might be going on there?
>> >     >
>> >     > Cheers,
>> >     > Daniel
>> >     >
>> >     > On Mon, Dec 28, 2015 at 8:32 PM, Khaled Hosny <
>> khaledhosny at eglug.org <mailto:khaledhosny at eglug.org>
>> >     > <mailto:khaledhosny at eglug.org <mailto:khaledhosny at eglug.org>>>
>> wrote:
>> >     >
>> >     >     That was because of the new HB_EXTERN decorator, fixed in:
>> >     >     https://github.com/behdad/harfbuzz/pull/202
>> >     >
>> >     >     Regards,
>> >     >     Khaled
>> >     >
>> >     >     On Sat, Dec 26, 2015 at 03:25:29AM +0400, Khaled Hosny wrote:
>> >     >     > I just noticed now that almost all functions are missing
>> from the
>> >     >     > generated documentation. When I run the build locally I see
>> lots of:
>> >     >     >
>> >     >     >    ./harfbuzz-sections.txt:422: warning: No declaration
>> found for
>> >     >     hb_feature_to_string.
>> >     >     >
>> >     >     > which would explain why they are missing from the docs, but
>> I couldn’t
>> >     >     > manage to find why it can’t find them with my limited
>> understanding of
>> >     >     > gtk-doc.
>> >     >     >
>> >     >     > On Fri, Dec 25, 2015 at 06:46:22PM +0100, Behdad Esfahbod
>> wrote:
>> >     >     > > This is all live now:
>> >     >     > > http://behdad.github.io/harfbuzz/
>> >     >     > >
>> >     >     > >
>> >     >     > > On 15-12-24 04:32 AM, Simon Cozens wrote:
>> >     >     > > > On 24/12/2015 11:39, Deepak Jois wrote:
>> >     >     > > >> Here is an old thread that I have bookmarked, regarding
>> >     whatever little
>> >     >     > > >> documentation that does exist:
>> >     >     > > >>
>> >     >     > > >>
>> >
>> http://lists.freedesktop.org/archives/harfbuzz/2015-August/005036.html
>> >     >     > > >
>> >     >     > > > When Khaled's PR lands, there'll be docs available at
>> >     >     > > > http://behdad.github.io/harfbuzz/
>> >     >     > > >
>> >     >     > > > (In the meantime the docs are at
>> >     http://khaledhosny.github.io/harfbuzz/
>> >     >     > > > - like I said, sorry I've dropped the ball on the user
>> manual.
>> >     As well
>> >     >     > > > as the skeleton that's there, there's an awful lot more
>> I need
>> >     to add to
>> >     >     > > > it. But finding the time...)
>> >     >     > > >
>> >     >     > > > Behdad, any reason this shouldn't be merged?
>> >     >     > > >
>> >     >     > > > _______________________________________________
>> >     >     > > > HarfBuzz mailing list
>> >     >     > > > HarfBuzz at lists.freedesktop.org
>> >     <mailto:HarfBuzz at lists.freedesktop.org>
>> >     <mailto:HarfBuzz at lists.freedesktop.org
>> >     <mailto:HarfBuzz at lists.freedesktop.org>>
>> >     >     > > > http://lists.freedesktop.org/mailman/listinfo/harfbuzz
>> >     >     > > >
>> >     >     > > _______________________________________________
>> >     >     > > HarfBuzz mailing list
>> >     >     > > HarfBuzz at lists.freedesktop.org
>> >     <mailto:HarfBuzz at lists.freedesktop.org>
>> >     <mailto:HarfBuzz at lists.freedesktop.org
>> >     <mailto:HarfBuzz at lists.freedesktop.org>>
>> >     >     > > http://lists.freedesktop.org/mailman/listinfo/harfbuzz
>> >     >     _______________________________________________
>> >     >     HarfBuzz mailing list
>> >     >     HarfBuzz at lists.freedesktop.org
>> >     <mailto:HarfBuzz at lists.freedesktop.org>
>> >     <mailto:HarfBuzz at lists.freedesktop.org
>> >     <mailto:HarfBuzz at lists.freedesktop.org>>
>> >     >     http://lists.freedesktop.org/mailman/listinfo/harfbuzz
>> >     >
>> >     >
>> >
>> >
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20160104/37284233/attachment.html>
-------------- next part --------------
codepoint: 53 x_offset:0 x_advance:936
codepoint: 15 x_offset:0 x_advance:343
codepoint:  1 x_offset:0 x_advance:323
codepoint: 56 x_offset:0 x_advance:1390
codepoint: 15 x_offset:0 x_advance:343
codepoint:  1 x_offset:0 x_advance:323
codepoint: 34 x_offset:0 x_advance:916
codepoint: 55 x_offset:0 x_advance:1041
codepoint:  1 x_offset:0 x_advance:323
codepoint: 55 x_offset:0 x_advance:871
codepoint: 70 x_offset:0 x_advance:659
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hb-1.0.6.png
Type: image/png
Size: 1287 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20160104/37284233/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hb-1.1.0.png
Type: image/png
Size: 1292 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20160104/37284233/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hb-diff.png
Type: image/png
Size: 1072 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20160104/37284233/attachment-0002.png>
-------------- next part --------------
codepoint: 53 x_offset:0 x_advance:1057
codepoint: 15 x_offset:0 x_advance:343
codepoint:  1 x_offset:0 x_advance:323
codepoint: 56 x_offset:0 x_advance:1488
codepoint: 15 x_offset:0 x_advance:343
codepoint:  1 x_offset:0 x_advance:323
codepoint: 34 x_offset:0 x_advance:1031
codepoint: 55 x_offset:0 x_advance:1041
codepoint:  1 x_offset:0 x_advance:323
codepoint: 55 x_offset:0 x_advance:1041
codepoint: 70 x_offset:0 x_advance:659
-------------- next part --------------
1c1
< codepoint: 53 x_offset:0 x_advance:936
---
> codepoint: 53 x_offset:0 x_advance:1057
4c4
< codepoint: 56 x_offset:0 x_advance:1390
---
> codepoint: 56 x_offset:0 x_advance:1488
7c7
< codepoint: 34 x_offset:0 x_advance:916
---
> codepoint: 34 x_offset:0 x_advance:1031
10c10
< codepoint: 55 x_offset:0 x_advance:871
---
> codepoint: 55 x_offset:0 x_advance:1041


More information about the HarfBuzz mailing list