Bug 23805 - conversions between HB_Script enum and OT Script Tag unavailable
Summary: conversions between HB_Script enum and OT Script Tag unavailable
Status: RESOLVED FIXED
Alias: None
Product: HarfBuzz
Classification: Unclassified
Component: src (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Behdad Esfahbod
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-09 02:15 UTC by Maciej Jablonski
Modified: 2010-12-02 04:49 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.