Re: [HarfBuzz] Harfbuzz on Windows
So, with Grigori's announcement of ucdn [1], I'm lowering priority of adding this directly to HarfBuzz. Cheers, behdad [1] https://github.com/grigorig/ucdn On 07/25/2012 07:54 PM, Samiullah Khawaja wrote: Hi Behdad, Yes It would be nice to have a standalone unicode db support. Eagerly waiting for something like this. Thanks, Sami On Thu, Jul 26, 2012 at 4:50 AM, Behdad Esfahbod beh...@behdad.org mailto:beh...@behdad.org wrote: On 07/25/2012 07:18 PM, Samiullah Khawaja wrote: Hi, What about uniscribe? Will it be able to replace the icu/glib dependency. I thought I can get rid of icu/glib dependency by using uniscribe. Is my assumption wrong? What does hb-uniscribe.cc file in harfbuzz-ng source do? hb-uniscribe.cc is a backend delegating the whole shaping to the Windows DLL. With that, you don't need any Unicode callbacks whatsoever. It's not meant for production use, but it's actually not that bad. Depends on what your goals really are. Are there any Windows APIs I can use and write a layer on it to replace the icu/glib dependency? Not that I know of. I'll produce something tonight. behdad Thanks for the help. Sami On Thu, Jul 26, 2012 at 2:11 AM, Behdad Esfahbod beh...@behdad.org mailto:beh...@behdad.org mailto:beh...@behdad.org mailto:beh...@behdad.org wrote: On 07/25/2012 04:58 PM, Grigori Goronzy wrote: Unfortunately both ICU and glib are huge frameworks with their own set of dependencies. A stripped-down standalone library that provides a unicode character database and nothing more would be great to have. I'm planning on shipping a barebone set of Unicode data internally in HarfBuzz for such usecases. No concrete timeline right now, but it's an afternoon's worth of hacking. behdad ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org mailto:HarfBuzz@lists.freedesktop.org mailto:HarfBuzz@lists.freedesktop.org mailto:HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz -- Samiullah Khawaja Software Engineer email: sami.khaw...@gmail.com mailto:sami.khaw...@gmail.com mailto:sami.khaw...@gmail.com mailto:sami.khaw...@gmail.com voice: +(92) 0321-4184324 tel:%2B%2892%29%200321-4184324 -- Samiullah Khawaja Software Engineer email: sami.khaw...@gmail.com mailto:sami.khaw...@gmail.com voice: +(92) 0321-4184324 ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz
Re: [HarfBuzz] Harfbuzz on Windows
On 12-07-25 05:50 PM, Behdad Esfahbod wrote: On 07/25/2012 07:18 PM, Samiullah Khawaja wrote: Hi, What about uniscribe? Will it be able to replace the icu/glib dependency. I thought I can get rid of icu/glib dependency by using uniscribe. Is my assumption wrong? What does hb-uniscribe.cc file in harfbuzz-ng source do? hb-uniscribe.cc is a backend delegating the whole shaping to the Windows DLL. With that, you don't need any Unicode callbacks whatsoever. It's not meant for production use, but it's actually not that bad. Depends on what your goals really are. Do you have to be running Windows in order to run HarfBuzz tools like hb-view and hb-shape with a Uniscribe backend? Put another way, can HarfBuzz be compiled and run on Linux with a Uniscribe backend? My above question was for font development. If a font is being created, it would be great to render it with HarfBuzz OT, Uniscribe OT, and Graphite; to see if there are any differences. So the code that was developed for testing HarfBuzz OT rendering versus Uniscribe OT rendering might be helpful for font development, and not just for HarfBuzz OT development. Cheers, Bobby -- Bobby de Vos /devos.bo...@gmail.com/ ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz
Re: [HarfBuzz] Harfbuzz on Windows
On Fri, Jul 27, 2012 at 03:04:16PM -0600, Bobby de Vos wrote: On 12-07-25 05:50 PM, Behdad Esfahbod wrote: On 07/25/2012 07:18 PM, Samiullah Khawaja wrote: Hi, What about uniscribe? Will it be able to replace the icu/glib dependency. I thought I can get rid of icu/glib dependency by using uniscribe. Is my assumption wrong? What does hb-uniscribe.cc file in harfbuzz-ng source do? hb-uniscribe.cc is a backend delegating the whole shaping to the Windows DLL. With that, you don't need any Unicode callbacks whatsoever. It's not meant for production use, but it's actually not that bad. Depends on what your goals really are. Do you have to be running Windows in order to run HarfBuzz tools like hb-view and hb-shape with a Uniscribe backend? Put another way, can HarfBuzz be compiled and run on Linux with a Uniscribe backend? You can cross compile it for Windows under Linux and use it with WINE, I do this and this how Behdad is using it as well, but you will need to get a native Uniscribe DLL (usp10.dll), e.g. from Windows or Office installation as there is no much point in testing against Wine's implementation. My above question was for font development. If a font is being created, it would be great to render it with HarfBuzz OT, Uniscribe OT, and Graphite; to see if there are any differences. So the code that was developed for testing HarfBuzz OT rendering versus Uniscribe OT rendering might be helpful for font development, and not just for HarfBuzz OT development. I use it for exactly that purpose. Regards, Khaled ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz
[HarfBuzz] Harfbuzz on Windows
Hi Behdad, I want to build harfbuzz for windows... What replacement of unicode functions should I use? Is there any native support in windows that I can use to provide the unicode functions. -- Samiullah Khawaja ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz
Re: [HarfBuzz] Harfbuzz on Windows
On 07/25/2012 09:31 AM, Samiullah Khawaja wrote: Hi Behdad, I want to build harfbuzz for windows... What replacement of unicode functions should I use? Is there any native support in windows that I can use to provide the unicode functions. ICU is (more or less) the recommended choice. However, I actually had less trouble getting glib to work on Windows, but that might be fault of mingw. Unfortunately both ICU and glib are huge frameworks with their own set of dependencies. A stripped-down standalone library that provides a unicode character database and nothing more would be great to have. I implemented HarfBuzz support in libass, but projects like Aegisub or VLC still ship without HarfBuzz on Windows because the ICU/glib requirement is such a pain. :( Best regards Grigori ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz
Re: [HarfBuzz] Harfbuzz on Windows
On 07/25/2012 04:58 PM, Grigori Goronzy wrote: Unfortunately both ICU and glib are huge frameworks with their own set of dependencies. A stripped-down standalone library that provides a unicode character database and nothing more would be great to have. I'm planning on shipping a barebone set of Unicode data internally in HarfBuzz for such usecases. No concrete timeline right now, but it's an afternoon's worth of hacking. behdad ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz
Re: [HarfBuzz] Harfbuzz on Windows
Hi, What about uniscribe? Will it be able to replace the icu/glib dependency. I thought I can get rid of icu/glib dependency by using uniscribe. Is my assumption wrong? What does hb-uniscribe.cc file in harfbuzz-ng source do? Are there any Windows APIs I can use and write a layer on it to replace the icu/glib dependency? Thanks for the help. Sami On Thu, Jul 26, 2012 at 2:11 AM, Behdad Esfahbod beh...@behdad.org wrote: On 07/25/2012 04:58 PM, Grigori Goronzy wrote: Unfortunately both ICU and glib are huge frameworks with their own set of dependencies. A stripped-down standalone library that provides a unicode character database and nothing more would be great to have. I'm planning on shipping a barebone set of Unicode data internally in HarfBuzz for such usecases. No concrete timeline right now, but it's an afternoon's worth of hacking. behdad ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz -- Samiullah Khawaja Software Engineer email: sami.khaw...@gmail.com voice: +(92) 0321-4184324 ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz
Re: [HarfBuzz] Harfbuzz on Windows
On 07/25/2012 07:18 PM, Samiullah Khawaja wrote: Hi, What about uniscribe? Will it be able to replace the icu/glib dependency. I thought I can get rid of icu/glib dependency by using uniscribe. Is my assumption wrong? What does hb-uniscribe.cc file in harfbuzz-ng source do? hb-uniscribe.cc is a backend delegating the whole shaping to the Windows DLL. With that, you don't need any Unicode callbacks whatsoever. It's not meant for production use, but it's actually not that bad. Depends on what your goals really are. Are there any Windows APIs I can use and write a layer on it to replace the icu/glib dependency? Not that I know of. I'll produce something tonight. behdad Thanks for the help. Sami On Thu, Jul 26, 2012 at 2:11 AM, Behdad Esfahbod beh...@behdad.org mailto:beh...@behdad.org wrote: On 07/25/2012 04:58 PM, Grigori Goronzy wrote: Unfortunately both ICU and glib are huge frameworks with their own set of dependencies. A stripped-down standalone library that provides a unicode character database and nothing more would be great to have. I'm planning on shipping a barebone set of Unicode data internally in HarfBuzz for such usecases. No concrete timeline right now, but it's an afternoon's worth of hacking. behdad ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org mailto:HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz -- Samiullah Khawaja Software Engineer email: sami.khaw...@gmail.com mailto:sami.khaw...@gmail.com voice: +(92) 0321-4184324 ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz