[HarfBuzz] hb-shape vs hb-view: ligatures
Lars Schwarz
lars.schwarz at gmail.com
Wed Feb 4 12:49:14 PST 2015
Ok, that did the trick, nevertheless I'm still wondering what's the default
behaviour for this (when omitting --features)? Seems like defaulting to
something?
Just for the record: I tried with Playfair Display.
On Wed, Feb 4, 2015 at 7:06 PM, James Cloos <cloos at jhcloos.com> wrote:
> >>>>> "LS" == Lars Schwarz <lars.schwarz at gmail.com> writes:
>
> LS> Example text I'm using is "Sauerstoffflasche". The image shows glyphs
> for
> LS> st, ff and fl, but hb-shape returns this:
>
> LS> S,a,u,e,r,s,t,o,f_f,fl,a,s,c,h,e
>
> LS> I was expecting something like 'st' instead of 's' and 't'?
>
> What font?
>
> I tried that with a couple of fonts, and had to pass --features=dlig to
> get the st lig.
>
> Passing --features=dlig also to hb-shape showed (for one font):
>
>
> [S=0+472|a=1+396|u=2+487|e=3+415|r=4+327|s_t=5+614|o=7+492|f_f=8+523|f_l=10+482|a=12+406|s=13+342|c_h=14+870|e=16+420]
>
> and, for DejaVu Serif:
>
>
> [S=0+1403|a=1+1221|u=2+1319|e=3+1212|r=4+979|uniFB06=5+1910|o=7+1233|uniFB00=8+1455|fl=10+1366|a=12+1221|s=13+1051|c=14+1147|h=15+1319|e=16+1212]
>
> The c_h lig only occurs with --language=de; but the s_t lig only requires
> --features=dlig.
>
> (I'm on hb 0.9.37, compiled from git.)
>
> -JimC
> --
> James Cloos <cloos at jhcloos.com> OpenPGP: 0x997A9F17ED7DAEA6
>
--
Lars Schwarz
Heiligengeist Höfe 2
26121 Oldenburg
Germany
T +49(0)441 36110338
M +49(0)151 1727 8127
W www.larsschwarz.com
FB www.facebook.com/woodtype
TWTTR www.twitter.com/lars_schwarz
FLKR www.flickr.com/photos/bitrocker
AIM lars.schwarz at me.com
G+ https://plus.google.com/104736748969664651337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20150204/9b560847/attachment.html>
More information about the HarfBuzz
mailing list