|
cf336f17
|
2025-02-10T14:15:25
|
|
[shape-plan] Rename hb_ot_shape_plan_get_features to get_feature_tags
Simplify the API by returning only feature tags. The users of this API
would be interested only in feature enabled by default and whether the
feature is globally or partially enabled wouldn’t be of much interest in
that case. For user features, the user of the API already have full
access to them.
|
|
a7d7715f
|
2025-02-02T23:06:11
|
|
[shape-plan] Add hb_ot_shape_plan_get_features
This should get the features on a shape plan after executing it.
Initially I wanted to return an array of tags, but then there can be
user features that are not enabled globally, so I thought returning
hb_feature_t with value and range would be better. There is a TODO since
I couldn’t figure out how to get the value and range from the feature
mask. But also it may be overkill and a simple boolean indicating wither
it is a global feature or not would be enough.
I wounder also what should happen to non-user features that are applied
selectively, like init or medi, does ot make sense to indicate whether
they are global or not?
This is inspired by the discussion in:
https://github.com/fontforge/fontforge/pull/5522#pullrequestreview-2574321449,
but it might be useful to other HarfBuzz users.
|
|
7b9e23f2
|
2021-02-10T23:37:43
|
|
[introspection] Fix g-ir-scanner syntax errors
Fixes https://github.com/harfbuzz/harfbuzz/issues/2851
|
|
835bbdc7
|
2015-11-19T18:34:12
|
|
Public headers: Decorate public symbols with HB_EXTERN
This prepares the headers for exporting symbols using visibility
attributes or __declspec(dllexport), so that we do not need to maintain
symbols listing files, as this is what was and is done in GLib and GTK+.
|
|
cabfa538
|
2014-06-20T13:51:21
|
|
Adjust unused doc symbols
|
|
beeb12c9
|
2013-12-22T22:53:27
|
|
Add TODO item
|
|
fbd4acc5
|
2013-12-22T08:02:11
|
|
Clean ht-ob headers
|
|
6bd9b479
|
2012-04-12T14:53:53
|
|
Hide backend-specific shape functions
Also remove shaper_options argument to hb_shape_full(). That was
unused and for "future". Let it go.
More shaper API coming in preparation for plan/planned API.
|
|
d1c9eb45
|
2012-04-12T13:17:44
|
|
Make it an error to include non-top-level headers
Users should #include <hb.h> (or hb-ft.h, hb-glib.h, etc), but
never things like hb-shape.h directly. This makes it easier to
refactor headers later on without breaking compatibility.
|
|
c4611cb6
|
2011-09-13T13:33:11
|
|
Fix test
|
|
210a06f3
|
2011-08-26T13:39:49
|
|
Minor
|
|
0501573d
|
2011-08-10T16:25:56
|
|
Fix const correctness in the API
|
|
02aeca98
|
2011-08-04T22:31:05
|
|
[API] Changes to main shape API
hb_shape() now accepts a shaper_options and a shaper_list argument.
Both can be set to NULL to emulate previous API. And in most situations
they are expected to be set to NULL.
hb_shape() also returns a boolean for now. If shaper_list is NULL, the
return value can be ignored.
shaper_options is ignored for now, but otherwise it should be a
NULL-terminated list of strings.
shaper_list is a NULL-terminated list of strings. Currently recognized
strings are "ot" for native OpenType Layout implementation, "uniscribe"
for the Uniscribe backend, and "fallback" for the non-complex backend
(that will be implemented shortly). The fallback backend never fails.
The env var HB_SHAPER_LIST is also parsed and honored. It's a
colon-separated list of shaper names. The fallback shaper is invoked if
none of the env-listed shapers succeed.
New API hb_buffer_guess_properties() added.
|
|
5bc18195
|
2011-05-27T15:58:54
|
|
Add check-includes.sh
|
|
72657e4c
|
2011-05-02T20:46:32
|
|
[API] Make hb_font_create() take a face and reference it
|
|
2409d5f8
|
2011-04-21T17:14:28
|
|
Update Copyright headers
|
|
5814dfa3
|
2011-04-15T14:41:04
|
|
Cosmetic
|
|
d2ba016c
|
2010-10-12T15:35:45
|
|
More refactoring
|
|
acdba3f9
|
2010-07-23T15:11:18
|
|
Prefer C linkage
|
|
0f0cd9d3
|
2010-06-09T06:32:56
|
|
Fix header tags
|
|
a5a72e00
|
2010-05-21T15:12:52
|
|
Add hb-ot-shape.h, oops.
|