Hi, Having a HB_Script value I simply wanted to use HB_GSUB_Select_Script function. As HB_GSUB_Select_Script takes an OT Script tag as a parameter I expected to find a suitable conversion function. Unfortunately, there is no way to convert HB_Script into OT Script tag. and the conversion table ot_scripts is buried in a cpp file. Regards Maciej
There will be API for this in the new harfbuzz. I'm not interested in maintaining the old code.
I'm closing down the bugs against the old code base. The new codebase has the API you are interested in.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.