Hi Nikolay, I have a font "Daft Brush" for example, and if I write "gggggggggg" I get 4 different glyphs "randomized", and the result is different in Indesign and in my own application with Harfbuzz. So my question is, who is doing it wrong, Indesign or Harfbuzz, or neither and is actually implementation defined.
Best, Ales On Wed, Feb 12, 2020 at 7:01 PM Nikolay Sivov <[email protected]> wrote: > > > On Wed, Feb 12, 2020 at 8:58 PM Aleš Mlakar <[email protected]> wrote: > >> Hey all, >> I've been trying to mimic font shaping in Adobe Indesign with Harfbuzz, >> most of it works great, but when random/alternate glyphs (for the fonts >> that have multiple glyphs for the same code point) are used it's not even >> remotely similar anymore. >> >> Sooo my question is basically this - is there any standard for glyph >> randomization or is this application controlled? >> > > If you're talking about alternate forms features and the like, application > usually controls whether feature is enabled or not. The output of the > feature is determined by font data, and shaping logic obviously. It's not > random, if we're talking about the same thing. > > >> >> Thanks! >> >> Regards, >> Ales >> >> _______________________________________________ >> HarfBuzz mailing list >> [email protected] >> https://lists.freedesktop.org/mailman/listinfo/harfbuzz >> > -- Aleš Mlakar, Programmer/Consultant *am.bits*
_______________________________________________ HarfBuzz mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/harfbuzz
