[paint] Change back return type of paint_glyph() to void

Add new "_or_fail" variants of draw_glyph and paint_glyph

New API:
+hb_font_draw_glyph_or_fail_func_t
+hb_font_paint_glyph_or_fail_func_t
+hb_font_funcs_set_draw_glyph_or_fail_func()
+hb_font_funcs_set_paint_glyph_or_fail_func()
+hb_font_draw_glyph_or_fail()
+hb_font_paint_glyph_or_fail()

Deprecated API:
-hb_font_draw_glyph_func_t
-hb_font_paint_glyph_func_t
-hb_font_funcs_set_draw_glyph_func()
-hb_font_funcs_set_paint_glyph_func()
This commit is contained in:
Behdad Esfahbod committed 2025-04-23 18:23:51 -06:00
1 parent eb226383a0
commit 38db1facf2
14 files changed
+465 -130

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
start clip glyph 165
solid 0 0 0 255
end clip
+3
View File
@@ -0,0 +1,3 @@
start clip glyph 175
solid 0 0 0 255
end clip
+3
View File
@@ -0,0 +1,3 @@
start clip glyph 6
solid 0 0 0 255
end clip
+3
View File
@@ -0,0 +1,3 @@
start clip glyph 165
solid 0 0 0 255
end clip
+3
View File
@@ -0,0 +1,3 @@
start clip glyph 175
solid 0 0 0 255
end clip
+3
View File
@@ -0,0 +1,3 @@
start clip glyph 6
solid 0 0 0 255
end clip