|
82a3b2db
|
2023-01-16T11:18:22
|
|
[util] Fix --named-instance
|
|
ad6b9c41
|
2023-01-16T11:07:03
|
|
[util] Format --list-features
|
|
0f4da850
|
2023-01-16T11:04:38
|
|
[util] Minor in --list-features clear feature set between GSUB/GPOS
|
|
f25e3696
|
2023-01-16T10:54:23
|
|
[hb-shape/hb-view] Better --list-features
|
|
32d43959
|
2023-01-15T22:34:14
|
|
[hb-shape/view] Print feature names in --list-features
|
|
cc6a9bfa
|
2023-01-15T18:16:19
|
|
[hb-shape/view] Print table length in --list-tables
|
|
880d65c9
|
2023-01-15T18:14:14
|
|
[hb-shape/view] Add --list-tables
|
|
3d5a922b
|
2023-01-15T16:15:52
|
|
Fix really
|
|
484831be
|
2023-01-15T16:14:53
|
|
[util] Fix build
|
|
8a6ecc5c
|
2023-01-15T13:54:27
|
|
[hb-view/shape] Add --list-features
|
|
40a8145a
|
2023-01-15T11:30:24
|
|
[util] Don't use hb_vector_t
|
|
d769e8ae
|
2023-01-15T10:58:15
|
|
[hb-shape/view] Add --named-instance
|
|
40bf30bf
|
2023-01-15T10:45:47
|
|
[util] Print named-instance index in --list-variations
|
|
14a83d6c
|
2023-01-15T10:11:54
|
|
[hb-shape/view] --list-variations cleanup
|
|
e1a54483
|
2023-01-15T10:00:26
|
|
[hb-shape/view] Print named-instances in --list-variations
Might remove the coordinates.
|
|
9abc2107
|
2023-01-15T09:46:19
|
|
[hb-shape/view] Add --list-variations
|
|
ed023f66
|
2023-01-12T17:04:24
|
|
Enable -Wformat-signedness
And fix the codebase.
|
|
70ca1460
|
2023-01-07T15:48:57
|
|
[chafa] Re-enable truecolor mode
See 42bf8e3d49
https://github.com/harfbuzz/harfbuzz/pull/2959#issuecomment-827056111
|
|
30d4a734
|
2023-01-06T16:00:53
|
|
[hb-subset] Adjust help for instancing
|
|
aba6cbe8
|
2023-01-06T13:09:10
|
|
[hb-subset] Adjust --help-all formatting
Meh.
|
|
85e8f2b5
|
2023-01-01T18:26:08
|
|
[hb-subset] Initialize preprocess variable
|
|
4a5bd7a9
|
2023-01-01T16:53:28
|
|
[subset] Add hb_subset_input_keep_everything()
Fixes https://github.com/harfbuzz/harfbuzz/issues/3998
New API:
+ hb_subset_input_keep_everything()
|
|
d87add41
|
2023-01-01T16:27:26
|
|
[hb-subset] Rename --preprocess-face to --preprocess
Keep old name working but hidden.
|
|
00060d99
|
2022-12-30T22:55:56
|
|
[hb-cairo] Silence warning when building with FreeType
In file included from ../util/hb-view.cc:33:
In file included from ../util/view-cairo.hh:32:
../util/helper-cairo.hh:102:7: warning: variable 'cairo_face' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
if (use_hb_draw)
^~~~~~~~~~~
../util/helper-cairo.hh:129:64: note: uninitialized use occurs here
cairo_scaled_font_t *scaled_font = cairo_scaled_font_create (cairo_face,
^~~~~~~~~~
../util/helper-cairo.hh:102:3: note: remove the 'if' if its condition is always true
if (use_hb_draw)
^~~~~~~~~~~~~~~~
../util/helper-cairo.hh:101:32: note: initialize the variable 'cairo_face' to silence this warning
cairo_font_face_t *cairo_face;
^
= nullptr
We know that cairo_face will always be assigned since use_hb_draw will
always be true, but the compiler does not know that.
|
|
0d98c79b
|
2022-12-29T21:07:38
|
|
[util] Centralize includes again
|
|
d90ccc1c
|
2022-12-29T21:02:06
|
|
[view] More includes
|
|
969914b2
|
2022-12-29T21:01:16
|
|
[view] Clean up includes
|
|
2bbc57c3
|
2022-12-29T20:41:55
|
|
[chafa] Residual
|
|
962d4925
|
2022-12-29T20:39:02
|
|
[ansi] Optimize write
|
|
a35f8e34
|
2022-12-29T20:34:23
|
|
[ansi] Whitespace
|
|
0004ec13
|
2022-12-29T20:26:42
|
|
[view] Write ansi output to --output-file
Was writing to stdout all this time!
|
|
3a319b59
|
2022-12-29T20:26:09
|
|
[ansi] Write \e directly
|
|
ab8b9b44
|
2022-12-29T18:33:12
|
|
[view] Streamline cairo-ft face lifecycle management
|
|
228a4154
|
2022-12-29T18:19:06
|
|
[view-cairo] Minor subpixel-bits
|
|
74d29cd1
|
2022-12-29T18:11:41
|
|
[helper-cairo] Remove a method
|
|
b1de87b7
|
2022-12-29T10:34:47
|
|
[cairo] Document get_glyphs() arguments as inout
|
|
dc9ca637
|
2022-12-27T17:49:02
|
|
[hb-view] Remove stale disabled code path
With color rendering that code path is wrong anyway.
And cairo now supports subpixel text positioning.
|
|
5efb3bc6
|
2022-12-27T17:47:46
|
|
[hb-view] Set hb-cairo scale-factor
Unused.
|
|
81c04b0c
|
2022-12-27T17:46:25
|
|
[cairo] Add separate x/y scale factors
|
|
7d3b3739
|
2022-12-27T08:37:46
|
|
Fix the autotools build
|
|
c38abcb3
|
2022-12-26T16:03:25
|
|
[cairo] Add x,y args to get_glyphs
|
|
847ed695
|
2022-12-26T15:59:57
|
|
[cairo] Reorder arguments of a call
|
|
120419e1
|
2022-12-26T15:10:26
|
|
[hb-view] Fix autotools build
|
|
ea993af8
|
2022-12-25T19:17:18
|
|
[view] Don't double-slant
|
|
cf001f6e
|
2022-12-25T19:01:28
|
|
[cairo] Add constructor from hb_face_t
|
|
20a50acc
|
2022-12-25T16:09:26
|
|
[hb-cairo] Make hb_cairo_glyphs_from_buffer public
|
|
a230eb8c
|
2022-12-25T15:49:14
|
|
[hb-cairo] Factorize hb_cairo_glyphs_from_buffer
To be made public.
|
|
5c3da76a
|
2022-12-25T15:04:13
|
|
[hb-cairo] Change API again
We need to work with a hb-font for variations and font-funcs
to be fetched properly.
|
|
9f7538c2
|
2022-12-25T13:46:37
|
|
[hb-cairo] Change API
|
|
0d6ee462
|
2022-12-25T10:50:56
|
|
wip: Make hb-view use hb-cairo
This is a quick hack to prove that the
hb-cairo apis work
|
|
5f168db8
|
2022-12-26T15:12:27
|
|
[hb-view] Build with autotools if cairo-ft is not available
Like with meson.
|
|
6ccbfabd
|
2022-12-24T10:44:25
|
|
[paint] Return bool from paint_image()
Fixes https://github.com/harfbuzz/harfbuzz/issues/3974
|
|
dfd371e9
|
2022-12-24T09:57:48
|
|
Cosmetics
|
|
4816be9a
|
2022-12-24T07:37:04
|
|
Work around cairo limitations
If we just draw an image, cairos recording surface
complains that it is unbounded. Its not true of course.
To make things work, clip to the extents.
|
|
76c16095
|
2022-12-24T05:30:11
|
|
Fix the build on Windows
No __BYTE_ORDER there.
|
|
56a48f8b
|
2022-12-23T16:44:06
|
|
[paint] Don't use extents in hb-view
Let the clipbox do its magic. Currently works for ft backend only.
|
|
b1500bab
|
2022-12-21T09:49:42
|
|
utils: Some cairo helper tweaks
|
|
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.
|
|
cf02d133
|
2022-12-20T11:52:39
|
|
[cairo] Remove unused struct
|
|
a3ba7238
|
2022-12-19T02:22:34
|
|
Drop an unneeded include
|
|
0800d187
|
2022-12-19T00:59:40
|
|
Try to fix autotools build
|
|
5451b78f
|
2022-12-19T00:07:18
|
|
Don't use alloca
It complicates things on Windows, for no
big win. Just preallocate a reasonable amount.
|
|
7c12db46
|
2022-12-18T23:36:05
|
|
Try to fix msvc build
|
|
3590ee74
|
2022-12-18T13:59:56
|
|
[util] Fix bot
|
|
81bf0892
|
2022-12-18T13:15:49
|
|
[hb-view] Use color render callback if HB_DRAW >= 2
|
|
c65f580b
|
2022-12-18T15:13:55
|
|
Drop hb-test
This was a test binary to assist in developing
the hb-paint code. Not needed anymore, now that
hb-view has the same code in the cairo userfont
backend.
|
|
9672aa86
|
2022-12-18T12:57:42
|
|
[util] Fix compiler warning
|
|
955bd303
|
2022-12-18T14:55:56
|
|
Fix hb-cairo-utils
This was a stupid mistake, and hard to track down.
|
|
35739567
|
2022-12-18T12:56:01
|
|
[util] Include stdio.h
|
|
7accbe97
|
2022-12-18T12:51:26
|
|
[util] Fix argument order and root transform PNGs
|
|
529dc40d
|
2022-12-18T12:35:50
|
|
[util] Adjust scaling
Still doesn't render PNGs.
Fix a few compiler warnings
|
|
bcc9ab27
|
2022-12-18T11:59:54
|
|
[hb-view] Fix transformation
No need for cairo patch; that patch was wrong.
|
|
c996fc58
|
2022-12-18T11:36:58
|
|
[hb-view] Remove redundant check
|
|
bec53540
|
2022-12-18T11:26:46
|
|
[hb-view] Fix render_color_glyph extents coordinate system
Needs cairo fix:
https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/371
|
|
95ccd664
|
2022-12-18T11:08:25
|
|
[hb-view] Set glyph extents in render_color_glyph
Works around limitation in cairo-recording-surface unboundedness.
Extents are wrong but at least renders something now.
|
|
6cadf280
|
2022-12-18T09:42:18
|
|
Use hb-cairo-utils in hb-test
Just to prove that it works.
|
|
8bcd13dd
|
2022-12-18T09:41:00
|
|
small fixup to hb-cairo-utils
|
|
6c49822c
|
2022-12-18T01:52:39
|
|
wip: Use hb-paint in hb-view
This doesn't paint anything yet.
|
|
3b32eab3
|
2022-12-17T17:13:30
|
|
[colr] Fix compiler warning
|
|
e3153654
|
2022-12-17T13:56:22
|
|
[colr] Fix PNG placement
|
|
f07ce68f
|
2022-12-17T13:48:05
|
|
Remove unused function
|
|
0a2f3673
|
2022-12-17T13:51:23
|
|
[paint] Use tags for image formats
This fits better with the rest of the
HarfBuzz API.
|
|
485ba9be
|
2022-12-17T12:25:04
|
|
[paint] Spell out rectangle in the API
No need to abbreviate this.
|
|
37f3f0fc
|
2022-12-17T11:49:18
|
|
[paint] Change the image callback
Instead of passing the glyph ID, give
it the image blob, a mimetype, and
glyph extents (if available).
Update all callers.
|
|
9876e30c
|
2022-12-17T02:46:37
|
|
test: Support png images via paint_image
|
|
0d890061
|
2022-12-17T00:07:30
|
|
Rename 'solid' to 'color'
'solid' does not really describe well what
the function does, and there is no strong
reason to stick 1:1 to the terminology used
in the spec.
|
|
2c078286
|
2022-12-16T23:23:51
|
|
test: More debug spew
|
|
fdf17dbf
|
2022-12-16T15:00:06
|
|
Try fixing bots
|
|
5c632955
|
2022-12-16T12:04:17
|
|
Apply root transform
This commit applies scale, slant is still missing.
|
|
794fa4c3
|
2022-12-15T22:22:31
|
|
sweep gradients etc
|
|
d07fdc69
|
2022-12-14T23:58:59
|
|
test: dump color lines
|
|
627c857f
|
2022-12-14T22:36:54
|
|
rename pop_group_and_composite
|
|
c9350838
|
2022-12-14T22:32:40
|
|
assorted fixes and changes
|
|
5a123e86
|
2022-12-14T22:05:02
|
|
quick testcase
|
|
ecd74204
|
2022-12-23T13:32:31
|
|
Debug spew
To get a dump of the hb-paint callbacks,
set HB_PAINT_DEBUG=1 when running hb-view.
For now, leave this code in place, since it
comes in handy for various debugging.
|
|
13e0cb64
|
2022-12-23T00:54:05
|
|
hb-view: Interpolate gradients premultiplied
This is what the specs demand.
|
|
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.
|
|
63db0d2a
|
2022-12-22T12:19:33
|
|
[util] Speculatively fix build against non-PNG builds
|
|
c5f90387
|
2022-12-22T12:16:55
|
|
[paint] Add bitmap width/height to paint_image callback
Such that we can add raw data as well.
|
|
237955df
|
2022-12-22T08:12:47
|
|
[paint] Add slant to image() callback
And slant images in hb-view.
|