|
567dde62
|
2025-08-25T17:50:54
|
|
[coretext] fix unsigned integer comparison (#5496)
Comparing a CFIndex with an unsigned int results in a compilation error on iOS armv7 targets:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk -Isrc/libharfbuzz.a.p -Isrc -I../src -I. -I.. -I/Volumes/External/videolanci/builds/vCi6yJP3/0/robUx4/vlc/contrib/armv7-iphoneos/include/freetype2 -I/Volumes/External/videolanci/builds/vCi6yJP3/0/robUx4/vlc/contrib/armv7-iphoneos/include -fdiagnostics-color=always -Wall -Winvalid-pch -std=c++11 -fno-exceptions -O2 -g -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -DHAVE_CONFIG_H -mios-version-min=9.0 -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk -Werror=partial-availability -fno-stack-check -g -O2 -MD -MQ src/libharfbuzz.a.p/hb-coretext-font.cc.o -MF src/libharfbuzz.a.p/hb-coretext-font.cc.o.d -o src/libharfbuzz.a.p/hb-coretext-font.cc.o -c ../src/hb-coretext-font.cc
../src/hb-coretext-font.cc:413:11: error: comparison of integers of different signs: 'CFIndex' (aka 'long') and 'unsigned int' [-Werror,-Wsign-compare]
if (len > size - 1)
~~~ ^ ~~~~~~~~
1 error generated.
|
|
861b20b0
|
2025-04-25T09:31:19
|
|
[coretext] Switch away from deprecated API
|
|
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.
|
|
208ffb3f
|
2025-03-27T15:01:39
|
|
[coretext-font] Undo tracking in get_[hv]_advances()
Fixes https://github.com/harfbuzz/harfbuzz/issues/5221
|
|
45a724b9
|
2025-03-22T17:04:08
|
|
[coretext] Make font-funcs respond to font changes
Fixes https://github.com/harfbuzz/harfbuzz/issues/5173
|
|
0ebcc665
|
2025-03-17T20:44:37
|
|
[coretext] Fix glyph bounds
|
|
630bc9b4
|
2025-03-17T19:23:49
|
|
[coretext] Disable variation-selectors test :-(
|
|
8d8fe190
|
2025-03-15T19:58:57
|
|
[dwrite] Add font-funcs sketch
Small steps.
Fixes https://github.com/harfbuzz/harfbuzz/issues/5144
|
|
f0a67e99
|
2025-03-11T20:37:30
|
|
[coretext] Split common code into hb-coretext.cc
|
|
ca3cd48f
|
2025-03-04T09:29:22
|
|
Fix memory leak in hb_coretext_get_glyph_name
|
|
bcd5aa36
|
2025-02-13T14:00:31
|
|
[docs/coretext] Fix hb_coretext_font_set_funcs() documentation
Remove the note that fonts created with hb_coretext_font_create() have
these font functions configured for them, which is not true.
hb_coretext_font_create() documents this correctly.
|
|
fb222953
|
2025-02-09T03:56:46
|
|
[coretext-font] Support non-BMP in variation-selector callback
Fixes https://github.com/harfbuzz/harfbuzz/issues/5056
|
|
f6bf9f69
|
2025-02-09T03:52:13
|
|
[coretext-font] Do early-return in get_nominal_glyphs()
Related to https://github.com/harfbuzz/harfbuzz/issues/5056
|
|
c5e6c885
|
2025-02-09T03:49:01
|
|
[coretext-font] Support non-BMP chars in get_nominal_glyph(s)
Part of https://github.com/harfbuzz/harfbuzz/issues/5056
|
|
6be66b0e
|
2025-01-24T16:26:54
|
|
[ft/coretext] Fail setting font-funcs gracefully
Fixes https://github.com/harfbuzz/harfbuzz/issues/5020
|
|
3258b1f2
|
2024-12-20T10:58:14
|
|
[coretext]: fix tvOS build
define kCTFont* when unavailable, i.e. ios < 6.0, macOS < 10.8 or tvOS < 9.0.
MAC_OS_X_VERSION_MIN_REQUIRED is always defined in AvailabilityMacros.h for all targets,
while __ENVIRONMENT_*_VERSION_MIN_REQUIRED__ is defined by compiler when building a specific target
|
|
c8050b38
|
2024-12-10T11:22:15
|
|
[coretext] Fix build on old Mac
Fixes https://github.com/harfbuzz/harfbuzz/issues/4968
|
|
9ef44a2d
|
2024-11-05T08:01:56
|
|
10.1.0
|
|
de1a1e27
|
2024-10-15T14:17:38
|
|
[coretext-font] Implement get_glyph_v_origin()
For a font without vertical metrics, I'm getting different
values from ot/ft. But that's expected, since in ot we just
implemented the same heuristics as ft.
|
|
78609702
|
2024-10-15T14:12:07
|
|
[coretext-font] Implement get_glyph_v_advances
|
|
e1026a22
|
2024-10-15T14:05:39
|
|
[coretext-font] Implement get_variation_glyph()
Not sure if I got it right, but *seems* to work.
|
|
d44cc8a1
|
2024-10-15T13:54:16
|
|
[coretext-font] Implement get_glyph_name()
|
|
0ce67f56
|
2024-10-15T13:49:01
|
|
[coretext-font] Implement font_get_h_metrics
|
|
89c83b5b
|
2024-10-12T19:45:12
|
|
[coretext] Add hb_coretext_face_create_from_file_or_fail()
New API hb_coretext_face_create_from_file_or_fail()
|
|
62ae9fbd
|
2024-10-10T14:26:49
|
|
[coretext-font] Implement get_glyph_from_name
|
|
b5e9f2cb
|
2024-10-10T14:15:50
|
|
[coretext-font] Implement get_glyph_extents
|
|
8db2997e
|
2024-10-10T13:55:11
|
|
[coretext] Configure hb_coretext_font_create() with CT font funcs
Not sure if this is a good idea...
|
|
8a805271
|
2024-10-10T12:56:31
|
|
[coretext] Start implementing CoreText font-funcs
Does nominal glyph mapping, horiz advances, and draw so far.
|