|
378bbeea
|
2022-12-17T10:02:30
|
|
Add more docs
|
|
b6e98cf7
|
2022-12-23T00:18:40
|
|
[colr] Add more docs
State explicitly that palette entries are
unpremultipled, and link to the spec.
|
|
684df8a8
|
2022-12-15T00:32:48
|
|
add some todos
|
|
71efa0dc
|
2022-12-14T06:22:00
|
|
wip: hb_font_paint_glyph
|
|
6387004c
|
2022-12-21T16:43:19
|
|
[paint] Simplify api
Drop the hb_paint_context_t struct from the API, and
only pass the font where we need it.
|
|
9be01b6b
|
2022-12-21T14:04:32
|
|
[paint] Pass hb_paint_context_t along
Replace the font argument with a hb_paint_context_t
that carries the font, the palette index and the
foreground color.
The hb_font_paint_glyph() api now takes the palette
index and the foreground color as extra arguments.
Update all callers and regenerate test results.
|
|
97224f3b
|
2022-12-21T02:11:36
|
|
[paint] Pass font to all callbacks
This will lead to easier implementations.
At the same time, we change the push_clip_glyph
callback to use the font as-is, no unscaling needed.
Update all callers and expected test results.
|
|
a20999b9
|
2022-12-21T00:20:37
|
|
[font] Fix a few documentation mistakes
|
|
14b026ff
|
2022-12-19T13:53:49
|
|
[draw] Add hb_font_draw_glyph
hb_font_draw_glyph(), hb_font_draw_glyph_func_t and
hb_font_funcs_set_draw_glyph_func() are just alternative
names for hb_font_get_glyph_shape and friends, to better
align with hb_font_paint_glyph.
|
|
0f287e75
|
2022-12-19T13:45:45
|
|
[paint] Rename hb_font_get_glyph_paint_func_t
The 'get' was just there due to implementation
choices. Work around that and call the vfunc
what it should be: hb_font_paint_glyph_func_t.
|
|
0ef2dc9b
|
2022-12-19T10:02:17
|
|
Drop a TODO
This was addressed in 61bd602791d801
|
|
9a7422c5
|
2022-12-18T13:46:32
|
|
[font] Minor doc fix
|
|
815544a1
|
2022-12-18T13:33:54
|
|
[font] Adapt paint_glyph to parent transform
|
|
f1f8d1e8
|
2022-12-18T02:43:25
|
|
Small documentation addition
|
|
193e0e3e
|
2022-12-15T00:32:11
|
|
Cosmetic: typo fix
|
|
5f3a7806
|
2022-11-23T16:45:46
|
|
[font] Protect against div-by-zero
|
|
060ecac9
|
2022-11-23T16:31:37
|
|
[font] Respect subfont slant setting in hb-draw
Fixes https://github.com/harfbuzz/harfbuzz/issues/3890
|
|
59c45f6d
|
2022-11-22T12:54:50
|
|
Use hb_memcpy instead of memcpy consistently
|
|
ac0efaf8
|
2022-11-22T12:50:36
|
|
Use hb_memset instead of memset consistently
|
|
56d6b699
|
2022-11-19T15:08:50
|
|
[font/draw] Remove unneeded branch
The preamble sets user_data/destroy to nullptr if func is nullptr.
|
|
976bb26c
|
2022-11-19T15:06:23
|
|
[draw] Optimize set_func functions
|
|
114167a9
|
2022-11-19T14:47:45
|
|
[font] Optimize set_func functions
|
|
1945b400
|
2022-07-25T10:45:55
|
|
[cpluscplus] Wrap hb-subset types as well
Also changes signature of get_user_data of hb.h types to take const
object. This is safe.
|
|
473a5e56
|
2022-07-23T13:25:40
|
|
[font] Fix design-coords
Ouch!
|
|
9ea4ab60
|
2022-07-20T14:57:32
|
|
[object] Call constructor
|
|
98e90cc6
|
2022-06-30T08:43:57
|
|
[docs] Reduce warnings
Use markdown syntax for inline code blocks instead of %true, %false, and
%NULL.
|
|
34d3d49e
|
2022-06-29T07:46:21
|
|
[docs] Fix Since annotation
|
|
33e3bf2d
|
2022-06-28T13:46:04
|
|
[font] Drop caches on variation changes
|
|
8537d681
|
2022-06-27T20:51:16
|
|
4.4.0
|
|
d3308f47
|
2022-06-27T11:28:44
|
|
[font] Optimize font scaling further
|
|
556e7078
|
2022-06-26T17:48:43
|
|
[font] Optimize glyph scaling
|
|
f78a2509
|
2022-06-05T00:55:35
|
|
[gi] Remove Xconstructor annotations
|
|
bc6ecaa2
|
2022-06-01T09:19:11
|
|
[font-funcs] Handle case of null func but non-null destroy or user-data
|
|
88ccbd2c
|
2022-06-01T08:44:07
|
|
[font-funcs] Optimize user-data/destroy storage
Fixes https://github.com/harfbuzz/harfbuzz/issues/2427
|
|
d0de389d
|
2022-05-20T12:18:43
|
|
[font] Fix test
|
|
a2015cd3
|
2022-05-20T12:15:00
|
|
[font] Add a separate serial_coords
|
|
48db1c95
|
2022-05-20T12:03:32
|
|
[font] Add serial API
New API:
+ hb_font_get_serial()
+ hb_font_changed()
Fixes https://github.com/harfbuzz/harfbuzz/issues/2426
Unused internally as of now.
|
|
b58bfd98
|
2022-05-16T11:21:45
|
|
[font] Minor move of code to silence gcc-12 warning
See mailing list discussion.
|
|
8d1b000a
|
2022-03-01T21:27:32
|
|
4.0.0
|
|
a396543a
|
2022-02-15T18:47:55
|
|
Merge pull request #3411 from harfbuzz/draw
[draw] Finish and release draw API
|
|
93962977
|
2022-02-13T19:38:59
|
|
Remove return of void
|
|
57aa8c3b
|
2022-02-10T19:04:52
|
|
[draw] Another try at a stable draw moveto semantic
|
|
151f2058
|
2022-02-10T16:27:18
|
|
[draw] Emit move_to immediately, like other operators
|
|
8e892bdb
|
2022-02-08T19:36:29
|
|
[doc] Message draw documentation a bit
|
|
c56c1375
|
2022-02-07T18:38:00
|
|
[draw] Document more
|
|
bc6c3b84
|
2022-02-07T18:04:36
|
|
[font] Update get_glyph_shape() doc
|
|
732c749e
|
2022-02-07T18:02:37
|
|
[font] Adjust synthetic-slant docs
|
|
2ce19f28
|
2022-02-05T15:01:15
|
|
[font/draw] Fetch shape from parent font if not implemented in font
|
|
a755f93e
|
2022-02-03T10:28:07
|
|
[draw] Add TODO
|
|
8b4f4290
|
2022-02-03T01:14:47
|
|
[draw] Virtualize hb_font_draw_glyph() into hb_font_get_glyph_shape()
To be implemented in hb-ft.
|
|
98da3306
|
2022-01-31T18:12:01
|
|
3.3.0
|
|
24650624
|
2022-01-28T13:53:21
|
|
[font] Fix build with no-var configs
|
|
0acf466c
|
2022-01-13T01:29:22
|
|
[doc] Fix hb_font_set_synthetic_slant param name
|
|
72f0b24e
|
2022-01-12T13:08:02
|
|
docs: Clarify variation apis (#3363)
Make it explicit that the variations setters
replace all existing variations, even if
not all axes are included in the provided
values.
Co-authored-by: Matthias Clasen <mclasen@redhat.com>
|
|
d70825a6
|
2022-01-02T11:28:28
|
|
docs: Add some details about coordinates
Mention what the effective values are when
coordinates have not been set.
|
|
165a6073
|
2022-01-02T12:02:20
|
|
Merge pull request #3338 from harfbuzz/slant
[font] Add public API for synthetic slant
|
|
a7751277
|
2022-01-02T11:50:02
|
|
[docs] Add hb_font_[gs]et_synthetic_slant()
|
|
5b87c30d
|
2022-01-02T07:53:45
|
|
[font] Mark hb_font_get_var_coords_design() non-experimental
Any remaining issue with the API will address later by deprecating it.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1865
|
|
2d42fc9f
|
2022-01-02T07:45:10
|
|
[font] Load named-instance if face index top bits are set
This matches FreeType behavior.
Fixes https://github.com/harfbuzz/harfbuzz/issues/3348
|
|
ff697deb
|
2021-12-19T07:25:37
|
|
[GPOS] Apply font synthetic slant
Part of fixing https://github.com/harfbuzz/harfbuzz/issues/3196
|
|
810f5d71
|
2021-12-18T15:12:26
|
|
[font] Add public API for slant
Not hooked up internally to anything.
New API:
+ hb_font_set_synthetic_slant()
+ hb_font_get_synthetic_slant()
Part of fixing https://github.com/harfbuzz/harfbuzz/issues/3196
|
|
a9a607d3
|
2021-07-22T16:49:56
|
|
[variations] Support multiple axes with same tag, aka HOI
The axes in fvar are in arbitrary order, NOT sorted. Hence have to
lsearch all entries.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1673
Fixes https://github.com/harfbuzz/harfbuzz/issues/2743
Test from https://github.com/ctrlcctrlv/FontForge-Higher-Order-Interpolation
|
|
233c29b3
|
2021-07-22T12:00:24
|
|
[font] Call fvar.find_axis_index instead of find_axis_info in set_variations()
|
|
0b2280af
|
2021-07-22T11:53:32
|
|
[font] Call fvar table directly, instead of calling public get_axis_info
To lighten it up in next commit.
|
|
2337f0d0
|
2021-07-08T10:58:50
|
|
Internally use hb_malloc/.../hb_free instead of malloc/.../free
Redefining those stock names as macros was conflicting with gcc 10
headers.
Fixes https://github.com/harfbuzz/harfbuzz/issues/3044
|
|
051a3c7b
|
2021-01-20T22:35:34
|
|
[docs] Fix typo
|
|
a44dd339
|
2021-01-01T01:36:57
|
|
[docs] Missing param docs
|
|
a64d56a3
|
2020-12-31T00:27:49
|
|
[introspection] nullable is for pointers
|
|
9936490c
|
2020-12-31T00:19:29
|
|
[docs] Invalid use of "optional" annotation
It is valid only for out and inout parameters.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1787
|
|
aa107e65
|
2020-12-30T23:34:17
|
|
[docs] Complete hb-font docs a bit
|
|
a8e72ee7
|
2020-12-30T23:08:40
|
|
[docs] Use %true and %false consistently
|
|
35c4a15a
|
2020-12-24T22:34:02
|
|
[docs] Update hb-font documentation
|
|
f88e845f
|
2020-12-24T21:28:37
|
|
[docs] Minor fixes
|
|
82092d40
|
2019-04-22T15:31:24
|
|
[docs] Update gtk-doc comments in hb-font
|
|
ec98730f
|
2019-04-17T14:44:25
|
|
[docs] regularize whitespace in function params
|
|
2dda6dd7
|
2020-04-20T14:12:45
|
|
minor, tweak spacing
turn 8 spaces to tab, add space before Null/Crap
|
|
9b7fb5c2
|
2020-04-17T20:12:24
|
|
Move hb_font_get_var_coords_design behind HB_EXPERIMENTAL_API
|
|
352ac63e
|
2020-02-11T03:03:03
|
|
Fix an unlikely UAF on the deprecated _set_glyph_func API
Fixes https://github.com/harfbuzz/harfbuzz/issues/2168
|
|
40166eb0
|
2020-02-08T13:17:06
|
|
[var] Fix the just introduced hb_font_set_var_coords_design storing bug
The memcpy call was using the current coords count which is zero initially so no copy at all.
Sad that no test has caught it, should see why, will however with the upcoming style API tests.
|
|
0b76e813
|
2019-08-20T15:15:22
|
|
Don't use _normalize_variations to avoid twice axis fetch
|
|
ab2d3ec5
|
2019-08-14T18:42:51
|
|
[var] Implement hb_font_get_var_coords_design
Hold design coords and simulate when normalized coords are set directly.
|
|
ce11df1b
|
2019-10-28T14:45:31
|
|
2.6.3
|
|
5a59de2b
|
2019-10-28T14:02:47
|
|
Actually add +hb_font_get_nominal_glyphs()
New API:
+hb_font_get_nominal_glyphs()
|
|
a0b4ac4d
|
2019-08-24T17:57:14
|
|
Turn 8 spaces to tab across the project
According to the current code style of the project
|
|
aaa85931
|
2019-08-20T13:06:10
|
|
[font] Update multipliers when creating sub_font
Fixes https://github.com/harfbuzz/harfbuzz/issues/1910
|
|
dcb4cd40
|
2019-08-19T11:35:37
|
|
Minor
|
|
bc27f86f
|
2019-08-14T22:37:00
|
|
Move HB_NO_VAR to a better place in hb-font.cc
Needed for other works
|
|
6a194b68
|
2019-08-14T18:49:57
|
|
Minor, remove trailing spaces in hb-font.{cc,h} as .editorconfig
|
|
6461143b
|
2019-08-13T22:20:54
|
|
2.6.0
|
|
40a4b6dd
|
2019-07-27T13:33:46
|
|
[var] Add a new API, hb_font_set_var_named_instance
|
|
b8477692
|
2019-07-05T13:52:09
|
|
[font] Keep font-space to user-space multiplier
Part of https://github.com/harfbuzz/harfbuzz/issues/1801
|
|
df6edcd4
|
2019-07-05T13:45:15
|
|
Make face immutable in hb_font_set_face()
|
|
a8498731
|
2019-06-19T19:26:22
|
|
[config] Add HB_NO_VAR to disable variations support, enabled by HB_TINY
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
|
|
0819f3ca
|
2019-06-17T14:02:47
|
|
Deprecate v_kerning callback again
Part of https://github.com/harfbuzz/harfbuzz/issues/1682
|
|
2682efb0
|
2019-06-17T13:38:08
|
|
Revert "Deprecate font kern API"
This reverts commit d219f899f4b2fb4b39ebc1dff9fb648fc5d6d112.
API change: Un-deprecate font kern API.
Part of https://github.com/harfbuzz/harfbuzz/issues/1682
We should document that this API is only necessary to hook up
non-OpenType kerning. hb-ot-font will continue to NOT implement them.
|
|
fca27860
|
2019-05-11T00:37:01
|
|
[config] Make HB_DISABLE_DEPRECATED actually compile
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
|
|
227d85e1
|
2019-05-10T23:15:58
|
|
Minor
|
|
4d31662b
|
2019-04-10T15:40:03
|
|
Don't install ot-font funcs on new fonts if HB_NO_OT_FONT defined
Currently linker cannot GC hb-ot-font completely because we install
it on fonts by default. Don't do that if HB_NO_OT_FONT defined.
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
|
|
447323b8
|
2019-01-22T12:45:40
|
|
Better fix for -Wcast-align errors
|
|
81ec543d
|
2019-01-22T12:43:12
|
|
More -Wcast-error fixes
|