<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello everyone,</p>
<p>I'm working on a Han/Latin text layout & rendering program for personal use, in C# with FreeType as font provider. New to both HarfBuzz and typography, and the nasty CTL.</p>
<p>The goal is to use various CJK/Latin related OpenType features in shaping, at user's (my) choice. To name a few,
<a moz-do-not-send="true" href="https://helpx.adobe.com/typekit/using/open-type-syntax.html#vert">
vert</a>, <a moz-do-not-send="true" href="https://helpx.adobe.com/typekit/using/open-type-syntax.html#pwid">
pwid</a>, <a moz-do-not-send="true" href="https://helpx.adobe.com/typekit/using/open-type-syntax.html#liga">
liga</a> and <a moz-do-not-send="true" href="https://helpx.adobe.com/typekit/using/open-type-syntax.html#onum">
onum</a>.<br>
</p>
<p>Sorry if it's already documented somewhere, but <a moz-do-not-send="true" href="https://harfbuzz.github.io/shaping-and-shape-plans.html">
the docs at harfbuzz.github.io</a> seems unfinished, google search returned nothing relevant, examples at GitHub wiki didn't even mention about OpenType features, even the
<a moz-do-not-send="true" href="https://github.com/Robmaister/SharpFont.HarfBuzz">
C# binding</a> I'm using has a incomplete set of API (think that I can still pinvoke HarfBuzz dll as a workaround though) :/</p>
<p>It would be nice if you could answer these (stupid?) questions:</p>
<ul>
<li>Does HarfBuzz simply take a list of OpenType features (or equivalent arguments) and shape them into the glyphs, or do I have to manually apply the features afterwards?
</li><li>Which APIs are relevant? </li><li>Does the "direction"/"script"/"language" passed to HarfBuzz automatically set some features?
</li></ul>
<p>Thanks in advance!</p>
<p>Todd<br>
</p>
<pre class="moz-signature" cols="72">-- 
Todd J. York (pseudonym)
zh-Hans-CN, en-US | UTC+08:00
Sent from Thunderbird</pre>
</body>
</html>