|
7d3b3739
|
2022-12-27T08:37:46
|
|
Fix the autotools build
|
|
120419e1
|
2022-12-26T15:10:26
|
|
[hb-view] Fix autotools build
|
|
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
|
|
c38abcb3
|
2022-12-26T16:03:25
|
|
[cairo] Add x,y args to get_glyphs
|
|
ea993af8
|
2022-12-25T19:17:18
|
|
[view] Don't double-slant
|
|
847ed695
|
2022-12-26T15:59:57
|
|
[cairo] Reorder arguments of a call
|
|
cf001f6e
|
2022-12-25T19:01:28
|
|
[cairo] Add constructor from hb_face_t
|
|
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.
|
|
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
|
|
13e0cb64
|
2022-12-23T00:54:05
|
|
hb-view: Interpolate gradients premultiplied
This is what the specs demand.
|
|
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
|
|
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.
|
|
c2219339
|
2022-12-21T18:39:27
|
|
[paint] Preserve foreground information
|
|
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.
|
|
71bd5a0d
|
2022-12-21T16:18:46
|
|
[paint] Resolve colors
We don't need to pass the index/alpha pairs to
client callbacks, and can just resolve the colors
internally.
Update test results.
|
|
5d7553d3
|
2022-12-21T15:18:02
|
|
view: Add a --font-palette option
|
|
d094e76c
|
2022-12-21T15:02:41
|
|
hb-view: Pass fg color to hb_font_paint_glyph
|
|
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.
|
|
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
|
|
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.
|
|
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.
|
|
0066e824
|
2022-12-23T13:37:38
|
|
[util] Fix vertical positioning with --glyphs
|
|
265b699f
|
2022-12-23T13:31:48
|
|
[util] Improve --glyphs
|
|
d45f7265
|
2022-12-23T13:13:29
|
|
[hb-view/hb-shape] Add --glyphs
This makes hb-view take output of hb-shape and render it.
|
|
1a51f71a
|
2022-12-19T22:40:11
|
|
[subset] don't segfault when --help-all is specified w/ instancing options.
|
|
c7dd63d1
|
2022-12-18T09:28:47
|
|
meson: Provide binaries when built as a subproject
|
|
6add69a6
|
2022-12-16T19:54:00
|
|
[hb-view] Allow building without cairo-ft
Fixes https://github.com/harfbuzz/harfbuzz/issues/3925
|
|
9fbe52b8
|
2022-12-12T20:24:24
|
|
[subset] enable instancing tests by default.
|
|
eda02c2e
|
2022-12-05T20:18:41
|
|
[subset] Move hb_subset_preprocess to be non-experimental.
|
|
1b867530
|
2022-12-05T11:44:52
|
|
[hb-subset] Support -u, -g, -t
For --unicodes, --gids, --text.
|
|
a4a40786
|
2022-11-24T11:56:58
|
|
Merge pull request #3893 from googlefonts/preprocess_test
[subset] Fix testing of preprocess
|
|
2e9b270a
|
2022-11-23T16:17:50
|
|
[hb-view] Fix cairo slanting condition
hb-draw already does slanting. If NOT hb-draw, we should slant
through cairo path. Donno why this was untested before.
This was double-slanting with hb-draw, and not slanting without it.
|
|
4c49daf7
|
2022-11-23T22:33:57
|
|
[subset] actually use the preprocessed face in hb-subset.
Tests weren't actually using the preprocessed face due to this typo in util/hb-subset.
|
|
8f15fb12
|
2022-11-13T17:06:58
|
|
[util] Move variable closer to use
|
|
0e4f5794
|
2022-10-31T13:51:24
|
|
[util/hb-view] Default HB_DRAW to 1
See comments.
|
|
515863e5
|
2022-10-13T23:42:00
|
|
[subset] Remove add accelerator flag, replace with new api method.
Adds hb_subset_preprocess() which preprocesses the face and attaches accelerator data.
|
|
3394ec70
|
2022-10-13T23:02:54
|
|
[subset] use subset accelerator in tests.
This ensures it produces equivalent subsets as without the accelerator.
|
|
e3548c20
|
2022-09-03T08:15:03
|
|
hb-view: Detect WezTerm and use iterm2 image protocol
Similar to the logic that detects iterm2, but look for
TERM_PROGRAM=WezTerm which identifies wezterm is present.
This allows hb-view to output an image directly to the terminal.
|
|
f43dadb8
|
2022-07-30T10:23:03
|
|
Rename kashida -> tatweel
|
|
4f09ea5e
|
2022-07-30T10:12:24
|
|
[hb-shape] Add --safe-to-insert-kashida flag
https://github.com/harfbuzz/harfbuzz/pull/3762
|
|
61d0c547
|
2022-07-23T13:25:54
|
|
[ft] Pass design, not normalized, coords to freetype
Needed for avar2 to work.
|
|
a66ba594
|
2022-07-19T16:32:32
|
|
[util] Fix stack-underflow
Fixes https://github.com/harfbuzz/harfbuzz/issues/3737
|
|
c6ef11da
|
2022-07-19T15:19:52
|
|
[util] Fix build with HB_NO_VAR
|
|
2a4773e4
|
2022-06-21T19:29:52
|
|
add option "--instance", store axes_location in subset_plan and drop all
variation tables when all axes are pinned at default
|
|
1eb8e820
|
2022-07-18T14:47:49
|
|
[util] Accept space as delimiter for --features/--variations
Fixes https://github.com/harfbuzz/harfbuzz/issues/3715
|
|
faac252f
|
2022-07-18T12:23:57
|
|
[util/hb-ot-shape-closure] Fix showing glyph names
|
|
38f2ec17
|
2022-07-18T12:17:08
|
|
[hb-shape] Move shape_output_t into separate file
|
|
94be4598
|
2022-07-18T12:13:48
|
|
[hb-shape] Internal rename
|
|
faa8cdc8
|
2022-07-18T10:22:19
|
|
[util] Allow HB_CHAFA=2/3 to enable wedges/all symbols in Chafa
|
|
b4e95965
|
2022-07-18T10:14:14
|
|
[util] Revert Chafa to use simple blocks only
The wedges are nice but not available on Mac.
Fixes https://github.com/harfbuzz/harfbuzz/issues/3729
|
|
ab21c4c2
|
2022-07-14T16:02:10
|
|
[hb-view] Add one to row of padding
|
|
2da36cf9
|
2022-07-14T15:57:43
|
|
[hb-view] Use envvar HB_CHAFA=0 to disable Chafa output
|
|
76e6feb7
|
2022-07-14T13:45:39
|
|
[util/ansi] Enable all symbols in Chafa
Gives vastly smoother output. The previous setting was
equivalent to our in-house renderer.
|
|
679c87ca
|
2022-07-14T13:39:14
|
|
[util/ansi] Fix chafa cell width/height
No idea why it was set to 10/20 instead of 8/16.
|