Behdad Esfahbod
b314c4e9ab
[font] Add get_nominal_glyphs() callback (note the plural)
...
Unused as of now. To be wired up to normalizer, which would remove
overhead and allow hb-ot-font initialization to become a no-op, so
we can enable it by default.
6 years ago
Behdad Esfahbod
d219f899f4
Deprecate font kern API
6 years ago
Behdad Esfahbod
26d7305da7
Deprecate decompose_compatibility stuff
6 years ago
Behdad Esfahbod
42b51eee54
Deprecate eastasian_width stuff
6 years ago
Behdad Esfahbod
e42cd58c99
Rename invisible_codepoint to invisible_glyph in API
...
Deleted recently added API:
hb_buffer_set_invisible_codepoint()
hb_buffer_get_invisible_codepoint()
hb-shape / hb-view --invisible-codepoint
New API:
hb_buffer_set_invisible_glyph()
hb_buffer_get_invisible_glyph()
hb-shape / hb-view --invisible-glyph
Fixes https://github.com/harfbuzz/harfbuzz/issues/1216
6 years ago
Behdad Esfahbod
71b65eb27d
Add API for setting invisible-codepoint
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1216
New API:
hb_buffer_set_invisible_codepoint()
hb_buffer_get_invisible_codepoint()
hb-shape / hb-view --invisible-codepoint
6 years ago
Behdad Esfahbod
becd84aa2f
Add HB_FEATURE_GLOBAL_START/END
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1141
New API:
HB_FEATURE_GLOBAL_START
HB_FEATURE_GLOBAL_END
6 years ago
Behdad Esfahbod
dae39c58fb
[face] Introduce character-map API
...
New API:
+hb_face_collect_unicodes
+hb_face_collect_variation_selectors
+hb_face_collect_variation_unicodes
6 years ago
Behdad Esfahbod
82b12bcadd
[unicode] Add HB_UNICODE_MAX
...
New API:
HB_UNICODE_MAX
6 years ago
Behdad Esfahbod
aadb2a9188
Add face-builder
...
New API:
+hb_face_builder_create
+hb_face_builder_add_table
6 years ago
Behdad Esfahbod
b0ff79acd8
Add +hb_font_get_glyph_advances_for_direction
...
New API:
+hb_font_get_glyph_advances_for_direction
6 years ago
Behdad Esfahbod
79e21984b1
Add batch advance width callback function
...
New API:
+hb_font_funcs_set_glyph_h_advances_func
+hb_font_funcs_set_glyph_v_advances_func
+hb_font_get_glyph_h_advances
+hb_font_get_glyph_h_advances_func_t
+hb_font_get_glyph_v_advances
+hb_font_get_glyph_v_advances_func_t
6 years ago
Ebrahim Byagowi
1a7fed6318
Revert "Add a new API, hb_ot_layout_get_feature_name_ids ( #976 )" ( #1121 )
...
This reverts commit 0c1b287b72
.
6 years ago
Behdad Esfahbod
d7a15799d4
[gobject] Hook up hb_map_t
6 years ago
Garret Rieger
7278d9df30
[subset] Add hb_ot_layout_collect_features to harfbuzz-sections.txt.
...
Add the fuzzer test case for feature collection timeout.
6 years ago
Ebrahim Byagowi
0c1b287b72
Add a new API, hb_ot_layout_get_feature_name_ids ( #976 )
...
This new API returns cvXX and ssXX related NameId, things like
featUiLabelNameId, featUiTooltipTextNameId, sampleTextNameId, ... of cvXX
and UINameId of ssXX, in a unified way.
However HarfBuzz currently doesn't expose an API for retrieving the actual
information associated with NameId from the `name` table and that should be
done separately.
6 years ago
Behdad Esfahbod
f3e58ab8a9
[docs] Enlist misc new symbols
7 years ago
Ebrahim Byagowi
32da0c6bc4
Add hb_face_count, a new API ( #1002 )
...
Simply, it returns the number of faces on a font blob.
To be used on hb-sanitizer tool but other clients also
can benefit from it.
7 years ago
Ebrahim Byagowi
ce17340b23
Add hb_blob_create_from_file, a new API ( #926 )
7 years ago
Behdad Esfahbod
694eaf6367
[set] Add backwards iterator
...
New API:
- hb_set_previous()
- hb_set_previous_range()
7 years ago
Behdad Esfahbod
a989f3edec
Add hb_blob_copy_writable_or_fail()
...
New API:
- hb_blob_copy_writable_or_fail()
7 years ago
Behdad Esfahbod
b5f25844fb
[docs] Minor update
7 years ago
Behdad Esfahbod
44f0ee346f
Fix docs
7 years ago
Behdad Esfahbod
bfe0faf1a2
[docs] Deprecate hb_set_invert()
7 years ago
Behdad Esfahbod
b98adefbb9
Update docs symbols
7 years ago
Behdad Esfahbod
4e4781319b
[ft] Add hb_ft_font_changed()
...
When the font size or variations settings on underlying FT_Face change,
one can call hb_ft_font_changed() and continue using hb_font created using
hb_ft_font_create().
Fixes https://github.com/behdad/harfbuzz/issues/559
New API:
hb_ft_font_changed()
7 years ago
Behdad Esfahbod
b57f18da70
Add hb_font_[sg]et_ptem() to set/get point size on font
...
New API:
hb_font_set_ptem()
hb_font_get_ptem()
Needed for hb-coretext optical sizing:
https://github.com/behdad/harfbuzz/issues/360
7 years ago
Behdad Esfahbod
224d20e4e1
[docs] Minor
7 years ago
Behdad Esfahbod
d6bdbbca30
[var] Remove HB_OT_TAG_fvar/avar
...
We're not going to define public macros for tags for tables.
There's little use to those and they are implementation detail.
8 years ago
Behdad Esfahbod
7a860f656e
[var] Add macros for standard axes
8 years ago
Behdad Esfahbod
5ec96d30ca
[var] Adjust API in prep for 'avar' implementation
...
The 'avar' table does not allow random access to axis maps,
so change API to avoid quadratic-time implementation.
Removed -hb_ot_var_normalize_axis_value(), added
+hb_ot_var_normalize_variations() and
+hb_ot_var_normalize_coords() instead.
8 years ago
Behdad Esfahbod
d2f249e745
Stub out doc comments for new symbols
8 years ago
Behdad Esfahbod
d1c62370a0
Aim math API for 1.3.3 instead of 1.4.0
8 years ago
Behdad Esfahbod
46cc4a3a2a
[MATH] Rename hb_math_*_t types to hb_ot_math_*_t
...
With this, I believe MATH table API is not ready to be merged.
8 years ago
Behdad Esfahbod
db5ebcf10f
Update docs
8 years ago
Khaled Hosny
9ab9f974d4
[docs] More buffers documentation
9 years ago
Khaled Hosny
85c2443b73
[docs] Reduce gtkdoc-check errors
...
Now it is just reporting one error about “503 undocumented or incomplete
symbols”, that will be the easy part I guess.
9 years ago
Khaled Hosny
fb192c263e
[docs] A bit more buffers documentation
9 years ago
Khaled Hosny
8ab797c5b8
[docs] A bit more buffers documentation
9 years ago
Khaled Hosny
f18d2226b6
[docs] Some documentation on buffers
...
Some of it (create, reference, destroy) are adapted from Cairo docs.
9 years ago
Behdad Esfahbod
5783e05f81
[docs] Move docs/reference/ contents into docs/
9 years ago
Behdad Esfahbod
2b051c6057
Rename HB_VERSION_CHECK and hb_version_check to "atleast"
...
HB_VERSION_CHECK's comparison was originally written wrongly
by mistake. When API tests were written, they were also written
wrongly to pass given the wrong implementation... Sigh.
Given the purpose of this API, there's no point in fixing it
without renaming it. As such, rename.
API changes:
HB_VERSION_CHECK -> HB_VERSION_ATLEAST
hb_version_check -> hb_version_atleast
11 years ago
Behdad Esfahbod
cabfa538ed
Adjust unused doc symbols
11 years ago
Behdad Esfahbod
71439a8c7a
[gobject] Flesh out hb-gobject
...
Move it to new harfbuzz-gobject library. Implement enums and
boxed types for object-types. Still have to do boxed types for
value types.
11 years ago
Behdad Esfahbod
2e3a07abdf
Separate face source code from font
...
Makes documentation / introspection easier.
11 years ago
Behdad Esfahbod
700a15fe4b
Add HB_DISABLE_DEPRECATED
...
That moment that you have to accept that you made API mistakes...
11 years ago
Anthony Carrico
f7c72b42ef
[gtk-doc] Initial setup
...
Initial setup of gtk-doc. Straight forward setup following the gtk-doc
instructions. Ignore some troublesome types in src/hb-gobject.h. To
build use "./autogen.sh --enable-gtk-doc" then "make". Docs are in
harfbuzz/docs/reference/html/index.html.
11 years ago