[HarfBuzz] Alternate/random glyphs
Khaled Hosny
dr.khaled.hosny at gmail.com
Wed Feb 12 18:42:50 UTC 2020
Depends on how the font is doing the randomization, using contextual lookups (most likely) or rand feature (less likely as this does not basically work outside of HarfBuzz and few other less common applications).
We would need to see the font and specific examples with output of both to form any meaningful opinion.
Regards,
Khaled
> On Feb 12, 2020, at 8:15 PM, Aleš Mlakar <ales.ambits at gmail.com> wrote:
>
> 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 <bunglehead at gmail.com> wrote:
>
>
> On Wed, Feb 12, 2020 at 8:58 PM Aleš Mlakar <ales.ambits at gmail.com> 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
> HarfBuzz at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/harfbuzz
>
>
> --
> Aleš Mlakar,
> Programmer/Consultant
> am.bits
> _______________________________________________
> HarfBuzz mailing list
> HarfBuzz at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/harfbuzz
More information about the HarfBuzz
mailing list