[HarfBuzz] Compiling Harfbuzz without dependencies
Hi guys, I'm using 'stb_truetype.h' to render my text and I'm wondering if it is possible to compile Harfbuzz without depending on 'freetype' or any other such library since I already got one. If not, what would it take for removing the 'freetype' dependency from Harfbuzz? Why does it depend on 'freetype'? Best regards, Daniel ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/harfbuzz
Re: [HarfBuzz] A plea to make HarfBuzz easier to build.
Hi Behdad, I wrote this hb.cc file. Drop it in the root of harfbuzz source tree to try it out. You will need to add both Freetype and 'hb-ucdn' to the include path though. It will *not* compile; there are a bunch of symbol redefinition problems and other seemingly (?) trivial things to fix (82 issues to be exact). I did not apply any patches to harfbuzz source tree itself. Thought you might want to change those things yourself since they would take some renaming of enum variables and other stuff. Let me know if you want a patch for that as well, I believe I'm able to write it myself. Cheers, Daniel On Wed, Dec 30, 2015 at 2:21 PM, Behdad Esfahbod wrote: > Thanks Daniel. I'm not opposed to the idea if it doesn't introduce too > many > hacks. Might take a look at it myself even. > > On 15-12-28 11:00 PM, Daniel Ribeiro Maciel wrote: > > I can write a '.cc' file which includes all other '.cc' files and > defines a > > bunch of stuff if you guys are willing to add such file to your source > tree. > > > > On Tue, Dec 15, 2015 at 11:14 AM, Jonathan Blow > <mailto:j...@number-none.com>> wrote: > > > > Sure, it would be fine to add this; there is also a for-loop in one > spot > > that doesn't compile in Visual Studio because it declares an enum > inline, > > so one has to move the enum. > > > > But these things don't matter, they only take a minute to fix. It's > > trivial. Whereas getting the library to build and link for the first > time > > is measured in hours. > > > > It is a two-orders-of-magnitude difference, which is why I am saying > that > > if widespread use of the code is a goal, making it easier to build > should > > be the priority. > > > > On Tuesday, December 15, 2015, Behdad Esfahbod < > behdad.esfah...@gmail.com > > <mailto:behdad.esfah...@gmail.com>> wrote: > > > > On 15-12-13 09:33 PM, Jamie Dale wrote: > > > You'll need a define to stub out getenv for a PS4 build > > > > I'll take a patch to hb-private.hh to do that. > > > > > > ___ > > HarfBuzz mailing list > > HarfBuzz@lists.freedesktop.org HarfBuzz@lists.freedesktop.org> > > http://lists.freedesktop.org/mailman/listinfo/harfbuzz > > > > > #define HAVE_FREETYPE #define HAVE_OT #define HAVE_UCDN #define HAVE_INTEL_ATOMIC_PRIMITIVES #include "src/hb-blob.cc" #include "src/hb-buffer-serialize.cc" #include "src/hb-buffer.cc" #include "src/hb-common.cc" #include "src/hb-face.cc" #include "src/hb-font.cc" #include "src/hb-ot-tag.cc" #include "src/hb-set.cc" #include "src/hb-shape.cc" #include "src/hb-shape-plan.cc" #include "src/hb-shaper.cc" #include "src/hb-unicode.cc" #include "src/hb-warning.cc" // OT Sources #include "src/hb-ot-font.cc" #include "src/hb-ot-layout.cc" #include "src/hb-ot-map.cc" #include "src/hb-ot-shape.cc" #include "src/hb-ot-shape-complex-arabic.cc" #include "src/hb-ot-shape-complex-default.cc" #include "src/hb-ot-shape-complex-hangul.cc" #include "src/hb-ot-shape-complex-hebrew.cc" #include "src/hb-ot-shape-complex-indic.cc" #include "src/hb-ot-shape-complex-indic-table.cc" #include "src/hb-ot-shape-complex-myanmar.cc" #include "src/hb-ot-shape-complex-thai.cc" #include "src/hb-ot-shape-complex-tibetan.cc" #include "src/hb-ot-shape-complex-use.cc" #include "src/hb-ot-shape-complex-use-table.cc" #include "src/hb-ot-shape-normalize.cc" #include "src/hb-ot-shape-fallback.cc" // UCDN Sources #include "src/hb-ucdn.cc" #include "src/hb-ucdn/ucdn.c" // Freetype Sources #include "src/hb-ft.cc" ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz
Re: [HarfBuzz] HarfBuzz glyph offsets
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.mac...@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 > 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.esfah...@gmail.com >> > <mailto:behdad.esfah...@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 < >> khaledho...@eglug.org <mailto:khaledho...@eglug.org> >> > > <mailto:khaledho...@eglug.org <mailto:khaledho...@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 >> man
Re: [HarfBuzz] HarfBuzz glyph offsets
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 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.esfah...@gmail.com > > <mailto:behdad.esfah...@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 < > khaledho...@eglug.org <mailto:khaledho...@eglug.org> > > > <mailto:khaledho...@eglug.org <mailto:khaledho...@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@lists.freedesktop.org > > <mailto:HarfBuzz@lists.fre
Re: [HarfBuzz] HarfBuzz glyph offsets
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 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@lists.freedesktop.org > > > > http://lists.freedesktop.org/mailman/listinfo/harfbuzz > > > > > > > ___ > > > HarfBuzz mailing list > > > HarfBuzz@lists.freedesktop.org > > > http://lists.freedesktop.org/mailman/listinfo/harfbuzz > ___ > HarfBuzz mailing list > HarfBuzz@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/harfbuzz > ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz
Re: [HarfBuzz] A plea to make HarfBuzz easier to build.
I can write a '.cc' file which includes all other '.cc' files and defines a bunch of stuff if you guys are willing to add such file to your source tree. On Tue, Dec 15, 2015 at 11:14 AM, Jonathan Blow wrote: > Sure, it would be fine to add this; there is also a for-loop in one spot > that doesn't compile in Visual Studio because it declares an enum inline, > so one has to move the enum. > > But these things don't matter, they only take a minute to fix. It's > trivial. Whereas getting the library to build and link for the first time > is measured in hours. > > It is a two-orders-of-magnitude difference, which is why I am saying that > if widespread use of the code is a goal, making it easier to build should > be the priority. > > On Tuesday, December 15, 2015, Behdad Esfahbod > wrote: > >> On 15-12-13 09:33 PM, Jamie Dale wrote: >> > You'll need a define to stub out getenv for a PS4 build >> >> I'll take a patch to hb-private.hh to do that. >> > > ___ > HarfBuzz mailing list > HarfBuzz@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/harfbuzz > > ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz
Re: [HarfBuzz] Small Caps
(I already link to and use harfbuzz successfully.) On Sun, Dec 13, 2015 at 12:48 AM, Daniel Ribeiro Maciel < daniel.mac...@gmail.com> wrote: > Hi guys, > > I read harfbuzz might support real small caps for OpenType fonts. Is this > true? If so, would you please help me getting it to work? I have no clue > how to do it. > > Cheers, > Daniel > ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz
[HarfBuzz] Small Caps
Hi guys, I read harfbuzz might support real small caps for OpenType fonts. Is this true? If so, would you please help me getting it to work? I have no clue how to do it. Cheers, Daniel ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz
Re: [HarfBuzz] Hi and Question!
Hi Alexander, There isn't. I figured out the problem. I was creating the harfbuzz font before setting the size of the Freetype font. (Not entirely sure if that is a harfbuzz bug or not) Thanks for your help. Daniel On Fri, May 23, 2014 at 2:46 PM, Alexander Sabourenkov wrote: > Hello. > > If there is any issue or bug with the ex-sdl-freetype-harfbuzz example, > please CC me on it, I'd be glad to fix it. > > > > > > > > > ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz
Re: [HarfBuzz] Hi and Question!
(I'm thinking only the codepoint replacement thing is working, the kerning offset is not being taken into account for some reason. I'm using x_offset and x_advance.) On Sun, May 18, 2014 at 5:51 PM, Daniel Ribeiro Maciel < daniel.mac...@gmail.com> wrote: > Hi Behdad, > > I just tested the HB View is working properly, so it is my fault for sure. > Any tips on how to try and debug what's wrong? > > Thanks for your help. > > Daniel > > > On Thu, May 15, 2014 at 6:59 PM, Daniel Ribeiro Maciel < > daniel.mac...@gmail.com> wrote: > >> (BTW the contextual kerning is working for things like 'Que' using the >> "garamond-premier-pro-caption.otf", but not for the sliding dot problem) >> >> >> On Thu, May 15, 2014 at 6:53 PM, Daniel Ribeiro Maciel < >> daniel.mac...@gmail.com> wrote: >> >>> These are my current defines: >>> >>> add_definitions( >>> -DHAVE_OT >>> -DHAVE_FREETYPE >>> -DHAVE_UCDN >>> -DHAVE_INTEL_ATOMIC_PRIMITIVES >>> ) >>> >>> Thanks, >>> Daniel >>> >>> >>> On Thu, May 15, 2014 at 6:45 PM, Behdad Esfahbod wrote: >>> >>>> Do you HAVE_OT? You want to. And HAVE_UCDN. >>>> >>>> On 14-05-15 03:41 PM, Daniel Ribeiro Maciel wrote: >>>> > I have based my code on one of the >>>> > examples: https://github.com/lxnt/ex-sdl-freetype-harfbuzz >>>> > So I'm doing almost the same thing as this example. >>>> > >>>> > One more question. I'm building harfbuzz myself using CMake, so I had >>>> to set >>>> > the config defines myself. >>>> > Could it be one of those defines? Maybe I'm missing one. >>>> > >>>> > >>>> > On Thu, May 15, 2014 at 6:19 PM, Behdad Esfahbod >>> > <mailto:beh...@behdad.org>> wrote: >>>> > >>>> > On 14-05-15 02:56 PM, Daniel Ribeiro Maciel wrote: >>>> > > Hi all! >>>> > > >>>> > > I'm having trouble using harfbuzz to attack the 'sliding dot' >>>> problem. (Such >>>> > > as in T. W. Lewis). >>>> > > The dots are not positioned as close to the glyphs as my >>>> reference rendering >>>> > > from LibreOffice or Chrome. >>>> > > >>>> > > Do I have to pass any arguments to harfbuzz to instruct it to >>>> apply >>>> > kerning to >>>> > > certain special cases? >>>> > >>>> > No, it should be enabled by default. How are you invoking >>>> HarfBuzz? >>>> > >>>> > -- >>>> > behdad >>>> > http://behdad.org/ >>>> > >>>> > >>>> >>>> -- >>>> behdad >>>> http://behdad.org/ >>>> >>> >>> >> > ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz
Re: [HarfBuzz] Hi and Question!
Hi Behdad, I just tested the HB View is working properly, so it is my fault for sure. Any tips on how to try and debug what's wrong? Thanks for your help. Daniel On Thu, May 15, 2014 at 6:59 PM, Daniel Ribeiro Maciel < daniel.mac...@gmail.com> wrote: > (BTW the contextual kerning is working for things like 'Que' using the > "garamond-premier-pro-caption.otf", but not for the sliding dot problem) > > > On Thu, May 15, 2014 at 6:53 PM, Daniel Ribeiro Maciel < > daniel.mac...@gmail.com> wrote: > >> These are my current defines: >> >> add_definitions( >> -DHAVE_OT >> -DHAVE_FREETYPE >> -DHAVE_UCDN >> -DHAVE_INTEL_ATOMIC_PRIMITIVES >> ) >> >> Thanks, >> Daniel >> >> >> On Thu, May 15, 2014 at 6:45 PM, Behdad Esfahbod wrote: >> >>> Do you HAVE_OT? You want to. And HAVE_UCDN. >>> >>> On 14-05-15 03:41 PM, Daniel Ribeiro Maciel wrote: >>> > I have based my code on one of the >>> > examples: https://github.com/lxnt/ex-sdl-freetype-harfbuzz >>> > So I'm doing almost the same thing as this example. >>> > >>> > One more question. I'm building harfbuzz myself using CMake, so I had >>> to set >>> > the config defines myself. >>> > Could it be one of those defines? Maybe I'm missing one. >>> > >>> > >>> > On Thu, May 15, 2014 at 6:19 PM, Behdad Esfahbod >> > <mailto:beh...@behdad.org>> wrote: >>> > >>> > On 14-05-15 02:56 PM, Daniel Ribeiro Maciel wrote: >>> > > Hi all! >>> > > >>> > > I'm having trouble using harfbuzz to attack the 'sliding dot' >>> problem. (Such >>> > > as in T. W. Lewis). >>> > > The dots are not positioned as close to the glyphs as my >>> reference rendering >>> > > from LibreOffice or Chrome. >>> > > >>> > > Do I have to pass any arguments to harfbuzz to instruct it to >>> apply >>> > kerning to >>> > > certain special cases? >>> > >>> > No, it should be enabled by default. How are you invoking >>> HarfBuzz? >>> > >>> > -- >>> > behdad >>> > http://behdad.org/ >>> > >>> > >>> >>> -- >>> behdad >>> http://behdad.org/ >>> >> >> > ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz
Re: [HarfBuzz] Hi and Question!
(BTW the contextual kerning is working for things like 'Que' using the "garamond-premier-pro-caption.otf", but not for the sliding dot problem) On Thu, May 15, 2014 at 6:53 PM, Daniel Ribeiro Maciel < daniel.mac...@gmail.com> wrote: > These are my current defines: > > add_definitions( > -DHAVE_OT > -DHAVE_FREETYPE > -DHAVE_UCDN > -DHAVE_INTEL_ATOMIC_PRIMITIVES > ) > > Thanks, > Daniel > > > On Thu, May 15, 2014 at 6:45 PM, Behdad Esfahbod wrote: > >> Do you HAVE_OT? You want to. And HAVE_UCDN. >> >> On 14-05-15 03:41 PM, Daniel Ribeiro Maciel wrote: >> > I have based my code on one of the >> > examples: https://github.com/lxnt/ex-sdl-freetype-harfbuzz >> > So I'm doing almost the same thing as this example. >> > >> > One more question. I'm building harfbuzz myself using CMake, so I had >> to set >> > the config defines myself. >> > Could it be one of those defines? Maybe I'm missing one. >> > >> > >> > On Thu, May 15, 2014 at 6:19 PM, Behdad Esfahbod > > <mailto:beh...@behdad.org>> wrote: >> > >> > On 14-05-15 02:56 PM, Daniel Ribeiro Maciel wrote: >> > > Hi all! >> > > >> > > I'm having trouble using harfbuzz to attack the 'sliding dot' >> problem. (Such >> > > as in T. W. Lewis). >> > > The dots are not positioned as close to the glyphs as my >> reference rendering >> > > from LibreOffice or Chrome. >> > > >> > > Do I have to pass any arguments to harfbuzz to instruct it to >> apply >> > kerning to >> > > certain special cases? >> > >> > No, it should be enabled by default. How are you invoking HarfBuzz? >> > >> > -- >> > behdad >> > http://behdad.org/ >> > >> > >> >> -- >> behdad >> http://behdad.org/ >> > > ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz
Re: [HarfBuzz] Hi and Question!
These are my current defines: add_definitions( -DHAVE_OT -DHAVE_FREETYPE -DHAVE_UCDN -DHAVE_INTEL_ATOMIC_PRIMITIVES ) Thanks, Daniel On Thu, May 15, 2014 at 6:45 PM, Behdad Esfahbod wrote: > Do you HAVE_OT? You want to. And HAVE_UCDN. > > On 14-05-15 03:41 PM, Daniel Ribeiro Maciel wrote: > > I have based my code on one of the > > examples: https://github.com/lxnt/ex-sdl-freetype-harfbuzz > > So I'm doing almost the same thing as this example. > > > > One more question. I'm building harfbuzz myself using CMake, so I had to > set > > the config defines myself. > > Could it be one of those defines? Maybe I'm missing one. > > > > > > On Thu, May 15, 2014 at 6:19 PM, Behdad Esfahbod > <mailto:beh...@behdad.org>> wrote: > > > > On 14-05-15 02:56 PM, Daniel Ribeiro Maciel wrote: > > > Hi all! > > > > > > I'm having trouble using harfbuzz to attack the 'sliding dot' > problem. (Such > > > as in T. W. Lewis). > > > The dots are not positioned as close to the glyphs as my reference > rendering > > > from LibreOffice or Chrome. > > > > > > Do I have to pass any arguments to harfbuzz to instruct it to apply > > kerning to > > > certain special cases? > > > > No, it should be enabled by default. How are you invoking HarfBuzz? > > > > -- > > behdad > > http://behdad.org/ > > > > > > -- > behdad > http://behdad.org/ > ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz
Re: [HarfBuzz] Hi and Question!
I have based my code on one of the examples: https://github.com/lxnt/ex-sdl-freetype-harfbuzz So I'm doing almost the same thing as this example. One more question. I'm building harfbuzz myself using CMake, so I had to set the config defines myself. Could it be one of those defines? Maybe I'm missing one. On Thu, May 15, 2014 at 6:19 PM, Behdad Esfahbod wrote: > On 14-05-15 02:56 PM, Daniel Ribeiro Maciel wrote: > > Hi all! > > > > I'm having trouble using harfbuzz to attack the 'sliding dot' problem. > (Such > > as in T. W. Lewis). > > The dots are not positioned as close to the glyphs as my reference > rendering > > from LibreOffice or Chrome. > > > > Do I have to pass any arguments to harfbuzz to instruct it to apply > kerning to > > certain special cases? > > No, it should be enabled by default. How are you invoking HarfBuzz? > > -- > behdad > http://behdad.org/ > ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz
[HarfBuzz] Hi and Question!
Hi all! I'm having trouble using harfbuzz to attack the 'sliding dot' problem. (Such as in T. W. Lewis). The dots are not positioned as close to the glyphs as my reference rendering from LibreOffice or Chrome. Do I have to pass any arguments to harfbuzz to instruct it to apply kerning to certain special cases? Thanks for your time. ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz