[HarfBuzz] Alternate/random glyphs

Jonathan Kew jfkthame at gmail.com
Fri Feb 14 16:56:25 UTC 2020


If the font you're talking about is 
https://www.myfonts.com/fonts/pintassilgo/daft-brush?tab=techSpecs, then 
it does claim to include a 'rand' feature.

I don't know how InDesign attempts to use 'rand' (if at all), but given 
the description of the feature in 
https://docs.microsoft.com/en-gb/typography/opentype/spec/features_pt#tag-rand, 
which says:

 > "For GIDs found in the rand coverage table, the application passes a 
GID to the rand table and gets back one or more new GIDs. The 
application selects one of these either by a pseudo-random algorithm, or 
by noting the sequence of IDs returned, storing that sequence, and 
stepping through that set as the corresponding character code is invoked."

there is no expectation that it will produce consistent results from one 
application to another, or one document to another (or even in repeated 
rendering of the same document).

JK

On 14/02/2020 16:14, Aleš Mlakar wrote:
> I know, but sadly it's not a free font. I'm still trying to find one 
> that has alternate glyphs but no luck so far.
> 
> Best,
> Ales
> 
> On Fri, Feb 14, 2020 at 5:08 PM Simon Cozens <simon at simon-cozens.org 
> <mailto:simon at simon-cozens.org>> wrote:
> 
>     On 14/02/2020 15:50, Aleš Mlakar wrote:
>      > So, as far as I can understand all of this either one of Indesign or
>      > Harfbuzz is doing it wrong.
> 
>     Without having the font or its feature code, it's very hard for someone
>     else to debug.
> 
>     S
> 
> 
> 
> -- 
> 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