|
47089fe7
|
2025-05-28T17:10:22
|
|
Big misc changes
- Make geometry types into templates taking float or double.
- Changes to paint() transform elimination.
- Add font->has_nonzero_coords and use it across.
- Extensions to avar processing for otherwise invalid mappings.
|
|
6fb10ded
|
2025-05-29T12:29:34
|
|
[ft] Reject loading of font directory
|
|
5cebdd67
|
2025-05-28T16:22:23
|
|
[ft] Handle another memory failure
|
|
4b573b52
|
2025-05-28T15:28:09
|
|
[ft] Fix a crash if setting font funcs had failed
https://github.com/harfbuzz/harfbuzz/security/advisories/GHSA-8x8c-6xcc-pqmj
|
|
df111468
|
2025-05-26T13:16:18
|
|
[ft] Fix crash on some old versions of freetype
|
|
ff7c1e48
|
2025-05-25T14:54:37
|
|
[ft] Make it work with FreeType < 2.8
|
|
87f2f9b5
|
2025-05-21T14:06:13
|
|
[ft] Reset some FT properties properly
|
|
40b03fdb
|
2025-04-23T18:33:14
|
|
[ft] Don't request NO_BITMAP in paint()
|
|
17238eae
|
2025-04-23T18:15:56
|
|
[ot/ft/fontations] Port to new _or_fail of draw/paint APIs
|
|
e78310bf
|
2025-04-23T00:58:08
|
|
[paint] Change return type to bool, and return false for outline glyphs
It was impossible to get synthetic bold/slant correctly with the
previous API. This is a minor API break, but one I'm willing to take.
|
|
c57f49f7
|
2025-04-22T21:32:35
|
|
[ft] Return false from get_extents for COLR glyphs
|
|
a69713b5
|
2025-04-22T21:01:04
|
|
[color] Move slanting to font layer
COLRv1 is still being double-slanted. Investigating.
|
|
1a9e2175
|
2025-04-22T19:52:21
|
|
[font/draw] Move slanting to font layer
I moved it to the draw layer in 11.0.0; That was a bad design:
font-funcs should NOT be responsible for synthetic bold & slant.
This design reverts that and makes the font layer apply it,
using a recording.
This is a minor API change from 11.0.0 since hb_draw_state_t::slant_xy
which was introduced in 11.0.0, is removed now. I believe no client
had started using it. It was only relevant to other font-funcs draw
implementations.
|
|
5ebd740e
|
2025-04-22T19:28:16
|
|
[font] Move font_h_extents emboldening to font layer
|
|
6acb2942
|
2025-04-06T02:34:34
|
|
[ft] Fix compiler warnings
|
|
4cf4099f
|
2025-03-30T17:04:08
|
|
[ot/ft] Round glyph extents instead of floor/ceil
1. The floor/ceil was being applied in the wrong order for y direction.
2. If the scale is negative, the floor/ceil should be reversed.
Just round them instead. That's what coretext / directwrite / fontations
font-funcs do.
|
|
aad5780f
|
2025-03-28T00:26:51
|
|
[font] Move outline emboldening to font layer
Such that it works on all font-funcs.
|
|
83481d65
|
2025-03-28T00:21:20
|
|
[font] Move emboldening advances to the font layer
Instead of each font-funcs impl.
TODO: Do the same for draw_glyphs.
|
|
dda1d95a
|
2025-03-27T14:32:13
|
|
Revert "[ot-font/trak] Move trak application to ot-font instead of ot-shape"
This reverts commits ffae5b040d50d602284ef7426340ff332b811df5 and
17c11ec5238ef7efdcc340a2f578feb668c4252a.
Plus manual modifications.
See https://github.com/harfbuzz/harfbuzz/issues/5221
|
|
ea6a172f
|
2025-03-24T00:33:53
|
|
11.0.0
|
|
14e5a046
|
2025-03-16T00:36:11
|
|
[font] Move synthetic glyph extents into font layer
So it applies to all font-funcs.
|
|
8d8fe190
|
2025-03-15T19:58:57
|
|
[dwrite] Add font-funcs sketch
Small steps.
Fixes https://github.com/harfbuzz/harfbuzz/issues/5144
|
|
a0d76c5b
|
2025-03-12T16:33:13
|
|
[atomic] Templatize
|
|
e4fe8bf9
|
2025-03-10T20:49:14
|
|
[ft] Add hb_ft_face_create_from_blob_or_fail()
Part of https://github.com/harfbuzz/harfbuzz/issues/5117
Untested.
New API:
+hb_ft_face_create_from_blob_or_fail()
|
|
1e812e43
|
2025-03-09T03:39:52
|
|
[ft] Another try at making tsan happy maybe
|
|
7791f50e
|
2025-03-09T03:34:28
|
|
[ft] Use a lock-guard
|
|
aa268fc8
|
2025-03-09T03:31:01
|
|
[font/ft] See if tsan is happy with atomic_int_t serials
|
|
6ae7ef06
|
2025-03-09T03:19:22
|
|
[ft] See if I can make tsan happy
|
|
a83faa06
|
2025-03-09T03:07:45
|
|
[ft] Automatically pick up font serial changes
Part of https://github.com/harfbuzz/harfbuzz/issues/5124
|
|
3ef87098
|
2025-03-01T00:58:14
|
|
10.4.0
|
|
69e1c3c3
|
2025-02-28T00:25:17
|
|
[ft] Add hb_ft_font_get_ft_face()
A new name for hb_ft_font_get_face(), which is now deprecated.
Fixes https://github.com/harfbuzz/harfbuzz/issues/5084
|
|
922a56f4
|
2025-02-09T04:50:17
|
|
[trak] Fix configs build
|
|
17c11ec5
|
2025-02-09T04:46:29
|
|
[ft/trak] Apply trak in ft-font-funcs as well
Part of https://github.com/harfbuzz/harfbuzz/issues/5049
|
|
6be66b0e
|
2025-01-24T16:26:54
|
|
[ft/coretext] Fail setting font-funcs gracefully
Fixes https://github.com/harfbuzz/harfbuzz/issues/5020
|
|
a888761a
|
2025-01-21T15:56:26
|
|
[hb-ft] Hopefully clarify hb_ft_font_create() life cycle even more
Add “only” to one more place.
|
|
d759ee5a
|
2024-11-15T16:18:34
|
|
[ft] Guard FT_LOAD_NO_SVG
Also pass FT_LOAD_NO_BITMAP.
|
|
96579076
|
2024-11-15T15:33:11
|
|
[ft-colr] Don't load SVG table since we don't support it
Part of https://github.com/harfbuzz/harfbuzz/issues/4938
|
|
9ef44a2d
|
2024-11-05T08:01:56
|
|
10.1.0
|
|
e31ea830
|
2024-10-14T16:00:06
|
|
[ft] Try using a ref-counted ft_library
https://github.com/harfbuzz/harfbuzz/pull/4895#issuecomment-2412348792
|
|
12fc715d
|
2024-10-12T20:14:59
|
|
[ft] Add hb_ft_face_create_from_file_or_fail()
New API:
+hb_ft_face_create_from_file_or_fail()
|
|
830326fe
|
2024-08-06T11:27:37
|
|
[hb-ft] Implement get_table_tags func
Part of https://github.com/harfbuzz/harfbuzz/issues/4821
|
|
846d5204
|
2024-01-27T16:34:29
|
|
[ft] Remove unnecessary cast
|
|
38f351d1
|
2023-10-18T01:52:18
|
|
[docs] Fixed links to freetype FT_LOAD_XXX flags
Signed-off-by: Alexander Borsuk <me@alex.bio>
|
|
afae537c
|
2023-06-29T12:42:44
|
|
[cache] Minor remove .init()
Use constructor.
|
|
62fc27f3
|
2023-02-27T11:20:47
|
|
[ft] Enlarge glyph-cache value-size again
8bits just doesn't do it. It has caused cache-hammering and high
CPU usage when the font is hinted.
Fixes https://github.com/harfbuzz/harfbuzz/issues/4139
|
|
be1c14ee
|
2023-02-07T13:52:53
|
|
[embolden] Adjust font_h_extents
|
|
b350122f
|
2023-02-07T13:49:16
|
|
[embolden] Fix glyph_extents in hb-ft
|
|
61a1a889
|
2023-02-07T13:47:04
|
|
[hb-ft] Fix --font-grade
|
|
aef002e0
|
2023-02-07T11:29:49
|
|
[embolden] Add in-place option
Adds --font-grade to hb-view and hb-shape.
|
|
2119eab6
|
2023-02-01T17:37:10
|
|
[embolden] Adjust advance values
|
|
e39104ba
|
2023-02-01T16:56:56
|
|
[font/util] Add emboldening API, --font-bold
Needs documentation.
|
|
70149885
|
2023-02-01T14:27:45
|
|
[font] Towards implementing emboldening
|
|
277003d5
|
2023-01-30T22:43:01
|
|
[ft] Fit advance cache into short int
|
|
1b53ed3c
|
2023-01-28T13:22:52
|
|
[cache] Remove empty fini()
|
|
e3778889
|
2023-01-26T13:26:47
|
|
[ft-colr] Conditionalize on (unreleased0 FreeType 2.13.0
That's the version that the color API is called stable, and
includes changes that we rely on.
|
|
fecce62a
|
2023-01-10T13:13:43
|
|
[ft] Docs
|
|
41484875
|
2023-01-09T13:47:59
|
|
[ft] Comment
|
|
d2aa2397
|
2023-01-09T13:43:56
|
|
Optimize non-slant extents code
|
|
73dab7f7
|
2023-01-09T13:36:55
|
|
[ft] Fix slanting code
|
|
a5f1f3a0
|
2023-01-01T13:14:04
|
|
[ft] Conditionalize all COLOR code on >= 2.11.1
Fixes https://github.com/harfbuzz/harfbuzz/issues/3994
|
|
67456a7a
|
2022-12-28T13:07:54
|
|
[ft] Some more docs clarifications
|
|
c612d068
|
2022-12-28T10:42:59
|
|
[ft] Clarify docs around faces too
|
|
4dc955bb
|
2022-12-28T10:04:21
|
|
[ft] Clarify docs
Add some clarifications on what fonts these apis
work with.
|
|
ffa45f24
|
2022-12-25T17:14:45
|
|
[cairo] #ifdef HAVE_CAIRO
|
|
79c5bb92
|
2022-12-24T12:57:33
|
|
[ft] Work around a freetype bug
|
|
62bd26dd
|
2022-12-24T11:01:32
|
|
[ft] Pick largest bitmap size
|
|
f70c5d6f
|
2022-12-24T10:56:06
|
|
[paint] Continue returning bool from paint_image()
https://github.com/harfbuzz/harfbuzz/commit/6ccbfabd4fcc5d4cca99be10552c270205fd7792#commitcomment-94127307
|
|
346331d3
|
2022-12-24T10:35:26
|
|
[ft] Fix negative xscale
|
|
9376e7a9
|
2022-12-24T10:31:30
|
|
[ft] Remove stale TODO
|
|
a7fd48c4
|
2022-12-24T10:28:41
|
|
[ft] Comment
|
|
bb45ba2f
|
2022-12-24T10:25:43
|
|
[ft] Fix negative y-scale
|
|
583f010b
|
2022-12-23T12:10:22
|
|
[ft] Move lock only around clip_glyph
|
|
e2546f5a
|
2022-12-22T15:50:43
|
|
[ft] Add hb-ft-colr.hh
|
|
381d410b
|
2022-12-22T13:21:48
|
|
[paint] Add HB_PAINT_IMAGE_FORMAT_BGRA and use it in hb-ft
Now hb-ft can render color emoji as well.
Just left COLRv2.
|
|
72a169c8
|
2022-12-22T11:26:10
|
|
[ft] Paint COLRv0 glyphs
|
|
bb807f47
|
2022-12-22T10:51:26
|
|
[ft] Implement paint_glyph() for outline glyphs
|
|
91c88050
|
2022-12-22T10:42:27
|
|
[ft] Use new name for draw API
|
|
d628aff9
|
2022-12-22T10:53:24
|
|
[ft] Apply slant in get_glyph_extents
|
|
a10ff205
|
2022-11-16T13:34:37
|
|
[ft] Comment
|
|
d88269c8
|
2022-10-28T22:17:15
|
|
freetype: Fix function signatures to match without casts
Clang 16 has got a new stricter warning for casts of function types
(see https://github.com/llvm/llvm-project/commit/1aad641c793090b4d036c03e737df2ebe2c32c57).
This new warning gets included as part of the existing error
diagnostic setting of -Wcast-function-type.
This fixes errors like these:
../src/hb-ft.cc:1011:34: error: cast from 'void (*)(FT_Face)' (aka 'void (*)(FT_FaceRec_ *)') to 'FT_Generic_Finalizer' (aka 'void (*)(void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict]
ft_face->generic.finalizer = (FT_Generic_Finalizer) hb_ft_face_finalize;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
23461b75
|
2022-08-19T09:48:12
|
|
[hb-ft] Only apply FT_Face's transform if we created FT_Face
Fixes https://github.com/harfbuzz/harfbuzz/issues/3788
https://github.com/harfbuzz/harfbuzz/issues/3790
|
|
d7adc55e
|
2022-08-03T13:22:51
|
|
[ot-font] Allow 24bit glyphs in advance cache
|
|
ec90d1e1
|
2022-08-03T13:00:48
|
|
[cache] Add a non-threadsafe version
Use in hb-ft, since already mutex'ed.
|
|
e387b3ac
|
2022-08-02T09:46:23
|
|
[ft] Try harder
|
|
40a34689
|
2022-08-02T16:09:27
|
|
hb-ft: cast to float to help windows sqrtf
|
|
ba9b2053
|
2022-08-01T12:42:05
|
|
[ft] Try working around fonts with transform set
Fixes https://github.com/harfbuzz/harfbuzz/issues/3772
|
|
1ac21246
|
2022-07-25T08:40:02
|
|
[hb-ft] Fix bitmap font rendering with hb_ft_font_changed()
Fixes https://github.com/harfbuzz/harfbuzz/issues/3754
Fixes https://github.com/harfbuzz/harfbuzz/issues/3755
|
|
61d0c547
|
2022-07-23T13:25:54
|
|
[ft] Pass design, not normalized, coords to freetype
Needed for avar2 to work.
|
|
cb5ca6be
|
2022-07-22T05:48:27
|
|
[ft] Actually call check_changed() from _changed()
Ouch!
Fixes https://github.com/harfbuzz/harfbuzz/issues/3746
|
|
fd535a24
|
2022-07-22T05:48:12
|
|
[ft] Remove check_changed from get_glyph_shape()
Leftover.
|
|
4f22397f
|
2022-07-18T11:03:54
|
|
[ft] A couple of introspection fixes
|
|
6ed57de1
|
2022-07-15T15:09:28
|
|
[ft] Fix negative font sizes for bitmaps
|
|
307ee9ba
|
2022-07-15T14:48:29
|
|
[ft] Fix bitmap-only vertical metrics
|
|
87d338eb
|
2022-07-15T14:19:17
|
|
[ft] Fix test
|
|
e294200d
|
2022-07-15T21:36:50
|
|
[ft] Check for FT_Get_Transform at build time
|
|
901236f7
|
2022-07-15T12:55:31
|
|
[ft] Implement loading (color) bitmap fonts
Fixes https://github.com/harfbuzz/harfbuzz/issues/489
Something about the vertical metrics is still off, not matching
hb-ot. I cannot figure out what.
|
|
3ac11056
|
2022-07-15T12:48:11
|
|
[ft] Fix scale when font-sizes are negative
|
|
98e90cc6
|
2022-06-30T08:43:57
|
|
[docs] Reduce warnings
Use markdown syntax for inline code blocks instead of %true, %false, and
%NULL.
|
|
8537d681
|
2022-06-27T20:51:16
|
|
4.4.0
|
|
8c27c51c
|
2022-06-19T10:47:38
|
|
[arabic-pua] Rename symbols
|