[HarfBuzz] Alternate/random glyphs

Aleš Mlakar ales.ambits at gmail.com
Wed Feb 12 18:15:21 UTC 2020


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*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/harfbuzz/attachments/20200212/574563ea/attachment.htm>


More information about the HarfBuzz mailing list