Re: [ft-devel] Re: About Gsub table in opentype.
On 11/16/10 22:47, Kenichi Handa wrote: I too want to switch from libotf to harfbuzz, but at the moment, harfbuzz is not released as an independent library (and APIs are still changing), I can't catch a good timing to shift to harfbuzz. Good to know. Maybe you're thinking of libm17n; that looks closer to harfbuzz in functionality. That too. I really hope to use libm17n's shaping engine from harfbuzz. A few years ago, I asked you to include libm17n-based shaping module in Pango, but there have been no progress, perhaps because Pango is going to use harfbuzz's shaping engines, right? And, when I checked harfbuzz code a while ago, it seems that shaping engines are builtin (i.e. not by loadable modules). Don't you have a plan of making it possible that harfbuzz can use the other loadable shaping engine? For HarfBuzz, I do plan to support other backends. The final design will perhaps be a bit different, but it will be coming. behdad ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel
Re: [ft-devel] Re: About Gsub table in opentype.
In article 4ce433ae.6010...@behdad.org, Behdad Esfahbod beh...@behdad.org writes: I really hope to use libm17n's shaping engine from harfbuzz. A few years ago, I asked you to include libm17n-based shaping module in Pango, but there have been no progress, perhaps because Pango is going to use harfbuzz's shaping engines, right? And, when I checked harfbuzz code a while ago, it seems that shaping engines are builtin (i.e. not by loadable modules). Don't you have a plan of making it possible that harfbuzz can use the other loadable shaping engine? For HarfBuzz, I do plan to support other backends. The final design will perhaps be a bit different, but it will be coming. That's a good news. --- Kenichi Handa ha...@m17n.org ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel
Re: [ft-devel] Re: About Gsub table in opentype.
In article 4cddb059.8080...@behdad.org, Behdad Esfahbod beh...@behdad.org writes: To parse OpenType tables at low level and obtain the substituted glyph index, libotf might be useful. http://www.m17n.org/libotf/ Interesting. I had totally forgotten about libotf. I hope now that new harfbuzz is in a usable state Kenichi abandons the libotf and helps with harfbuzz. I too want to switch from libotf to harfbuzz, but at the moment, harfbuzz is not released as an independent library (and APIs are still changing), I can't catch a good timing to shift to harfbuzz. Maybe you're thinking of libm17n; that looks closer to harfbuzz in functionality. That too. I really hope to use libm17n's shaping engine from harfbuzz. A few years ago, I asked you to include libm17n-based shaping module in Pango, but there have been no progress, perhaps because Pango is going to use harfbuzz's shaping engines, right? And, when I checked harfbuzz code a while ago, it seems that shaping engines are builtin (i.e. not by loadable modules). Don't you have a plan of making it possible that harfbuzz can use the other loadable shaping engine? --- Kenichi Handa ha...@m17n.org ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel
Re: [ft-devel] Re: About Gsub table in opentype.
On 11/13/10 05:28, Miles Bader wrote: Behdad Esfahbod beh...@behdad.org writes: Interesting. I had totally forgotten about libotf. I hope now that new harfbuzz is in a usable state Kenichi abandons the libotf and helps with harfbuzz. Do they do the same thing? From the description it sounds like libotf is much smaller and more focused, and might be more appropriate for someone that only wants to get file info (which seems to have been the case for the original poster on this thread). HarfBuzz does everything that libotf does and much more. And is less than twice the size (70kb vs 120kb). The libotf-like API is in hb-ot.h. Maybe you're thinking of libm17n; that looks closer to harfbuzz in functionality. That too. [BTW, is harfbuzz actually used anywhere yet? I can't seem to find it in Debian...] We have not made tarball releases yet because 1. it's changing fast and 2. the API is not stable yet. But we plan to reach a stable 1.0 before March. Firefox 4 betas ship with HarfBuzz included. And the harfbuzz-ng-external branch of Pango moves forward with the master branch of harfbuzz. behdad -Miles ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel
Re: [ft-devel] Re: About Gsub table in opentype.
Behdad Esfahbod beh...@behdad.org writes: Interesting. I had totally forgotten about libotf. I hope now that new harfbuzz is in a usable state Kenichi abandons the libotf and helps with harfbuzz. Do they do the same thing? From the description it sounds like libotf is much smaller and more focused, and might be more appropriate for someone that only wants to get file info (which seems to have been the case for the original poster on this thread). Maybe you're thinking of libm17n; that looks closer to harfbuzz in functionality. [BTW, is harfbuzz actually used anywhere yet? I can't seem to find it in Debian...] -Miles -- Barometer, n. An ingenious instrument which indicates what kind of weather we are having. ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel
Re: [ft-devel] Re: About Gsub table in opentype.
[+harfbuzz list, Kenichi Handa] On 11/06/10 05:22, mpsuz...@hiroshima-u.ac.jp wrote: Hi, To parse OpenType tables at low level and obtain the substituted glyph index, libotf might be useful. http://www.m17n.org/libotf/ Interesting. I had totally forgotten about libotf. I hope now that new harfbuzz is in a usable state Kenichi abandons the libotf and helps with harfbuzz. behdad It does not provide the database of the tags of script, language and features, and no dependency/conflict checker of each features. So libotf client programmer have to read OpenType spec and choose appropriate script/language/feature to apply to the serie of the glyph index. Regards, mpsuzuki On Sat, 06 Nov 2010 09:50:28 +0100 (CET) Werner LEMBERG w...@gnu.org wrote: do you know any other small open source library can do this job? No. i just want to display the vertical characters, the layout engine is to big for me. Then load the GSUB table with FT_Load_Sfnt_Table and parse the data by yourself. This is rather straightforward. Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel
Re: [ft-devel] Re: About Gsub table in opentype.
You need HarfBuzz. On 11/06/10 04:36, 丁力 wrote: OK. Thanks. do you know any other small open source library can do this job? i just want to display the vertical characters, the layout engine is to big for me. 2010/11/6 Werner LEMBERG w...@gnu.org mailto:w...@gnu.org i want to display Japanese characters in vertical mode. in some opentype font, i only can get some bracket glyphs in vertical mode by gsub table such as the MS Mincho. i found that it seems no APIs in freetype to translate the horizontal glyph to vertical mode by gsub. does anyone can tell me how to do it? You can't do that directly. It's not the job of FreeType. Instead, you should use a higher-level library like ICU, Pango, or Qt to apply OpenType features to text strings. Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel
Re: [ft-devel] Re: About Gsub table in opentype.
On 11/08/10 19:59, 丁力 wrote: There is a message in the HarfBuzz website: There are no releases available for download yet, but we expect to start 0.x release soon and aim for a 1.0 release with stable API around March 2011. You can clone the git repo for now. Firefox and Pango already use it. behdad ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel
Re: [ft-devel] Re: About Gsub table in opentype.
do you know any other small open source library can do this job? No. i just want to display the vertical characters, the layout engine is to big for me. Then load the GSUB table with FT_Load_Sfnt_Table and parse the data by yourself. This is rather straightforward. Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel
Re: [ft-devel] Re: About Gsub table in opentype.
Hi, To parse OpenType tables at low level and obtain the substituted glyph index, libotf might be useful. http://www.m17n.org/libotf/ It does not provide the database of the tags of script, language and features, and no dependency/conflict checker of each features. So libotf client programmer have to read OpenType spec and choose appropriate script/language/feature to apply to the serie of the glyph index. Regards, mpsuzuki On Sat, 06 Nov 2010 09:50:28 +0100 (CET) Werner LEMBERG w...@gnu.org wrote: do you know any other small open source library can do this job? No. i just want to display the vertical characters, the layout engine is to big for me. Then load the GSUB table with FT_Load_Sfnt_Table and parse the data by yourself. This is rather straightforward. Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel