Bug 23805

Summary: conversions between HB_Script enum and OT Script Tag unavailable
Product: HarfBuzz Reporter: Maciej Jablonski <mafjmafj>
Component: srcAssignee: Behdad Esfahbod <freedesktop>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: freedesktop
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Maciej Jablonski 2009-09-09 02:15:09 UTC
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
Comment 1 Behdad Esfahbod 2009-09-09 13:28:38 UTC
There will be API for this in the new harfbuzz.  I'm not interested in maintaining the old code.
Comment 2 Behdad Esfahbod 2010-12-02 04:49:04 UTC
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.