<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Sorry, I don't know in your case, I'm not using Harfbuzz like that yet for anything. But I can imagine not using any special features when breaking up text for animation etc. because it doesn't look right, and it's a stylistic extra. For example if the animation would end you could always mark up the text so that it doesn't require the ligature (space it out, but with care)<div><br></div><div>I'm sure somebody else here can say how to use (or not use) features (or put you in the right direction).</div><div><br></div><div>Rolf</div><div><br><div><div>On Oct 9, 2013, at 3:09 PM, Eduardo Castiñeyra <<a href="mailto:eduardo@brainstorm.es">eduardo@brainstorm.es</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="content-type" content="text/html; charset=utf-8"><div dir="auto"><div>How would I turn it off?<br><br>Sent from a mobile device</div><div><br>On 09/10/2013, at 12:07, Rolf Langenhuijzen <<a href="mailto:rolf.langenhuijzen@xs4all.nl">rolf.langenhuijzen@xs4all.nl</a>> wrote:<br><br></div><blockquote type="cite"><p>Why wouldn't you tun off the liga feature in that case?<br><br>Rolf</p><p>Eduardo Castiñeyra schreef op 2013-10-09 10:32:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<pre>Is there any way to avoid that? Despite ff being a single glyph, it represents two clusters, imagine I want to animate the tracking of a word, it would look like this
e ff i c i e n t
Although glyph-wise it would be correct, it would be very hard to convince any customer about that.
In some cases it would be nice to force the shaper to output at least one glyph per cluster.
Does it also depend on the language? If one script have one ligature it doesn't mean every language makes use of it.
Regards!
Sent from a mobile device
On 09/10/2013, at 06:23, Khaled Hosny <<a href="mailto:khaledhosny@eglug.org">khaledhosny@eglug.org</a>> wrote:</pre>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px">On Wed, Oct 09, 2013 at 01:39:17AM +0200, Oliver Meier wrote:
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px">Hello I recently started playing with harfbuzz and encountered a strange problem. I don't know what I'm doing wrong, but somehow multiple f's shaped for serif fonts like DejaVuSerif or FreeSerif get grouped in pairs or so.. hb_buffer_set_direction( hb_buffer, HB_DIRECTION_LTR ); hb_buffer_set_script( hb_buffer, HB_SCRIPT_LATIN ); hb_buffer_set_language( hb_buffer, hb_language_from_string("en", strlen("en")) ); hb_buffer_add_utf8( hb_buffer, "ffff", strlen("ffff"), 0, strlen("ffff") ); hb_shape( hb_ft_font, hb_buffer, NULL, 0 ); hb_glyph_info_t *glyph_info = hb_buffer_get_glyph_infos(hb_buffer, &glyph_count); At this point glyph_count=2 instead of 4. In the kerning i see that f's are indeed "grouped". Can someone point me in the right direction, or is this a bug?</blockquote>
<a href="https://en.wikipedia.org/wiki/Typographic_ligature#Latin_alphabet">https://en.wikipedia.org/wiki/Typographic_ligature#Latin_alphabet</a> BTW, if you have any code that assumes the number of output glyphs will be equal to the number of input characters, it is wrong. Regards, Khaled _______________________________________________ HarfBuzz mailing list <a href="mailto:HarfBuzz@lists.freedesktop.org">HarfBuzz@lists.freedesktop.org</a> <a href="http://lists.freedesktop.org/mailman/listinfo/harfbuzz">http://lists.freedesktop.org/mailman/listinfo/harfbuzz</a></blockquote>
<pre>_______________________________________________
HarfBuzz mailing list
<a href="mailto:HarfBuzz@lists.freedesktop.org">HarfBuzz@lists.freedesktop.org</a>
<a href="http://lists.freedesktop.org/mailman/listinfo/harfbuzz">http://lists.freedesktop.org/mailman/listinfo/harfbuzz</a>
</pre>
</blockquote><div> <br class="webkit-block-placeholder"></div>
<div> </div>
</blockquote><blockquote type="cite"><span>_______________________________________________</span><br><span>HarfBuzz mailing list</span><br><span><a href="mailto:HarfBuzz@lists.freedesktop.org">HarfBuzz@lists.freedesktop.org</a></span><br><span><a href="http://lists.freedesktop.org/mailman/listinfo/harfbuzz">http://lists.freedesktop.org/mailman/listinfo/harfbuzz</a></span><br></blockquote></div>_______________________________________________<br>HarfBuzz mailing list<br><a href="mailto:HarfBuzz@lists.freedesktop.org">HarfBuzz@lists.freedesktop.org</a><br>http://lists.freedesktop.org/mailman/listinfo/harfbuzz<br></blockquote></div><br></div></body></html>