|
13e0cb64
|
2022-12-23T00:54:05
|
|
hb-view: Interpolate gradients premultiplied
This is what the specs demand.
|
|
a3ba7238
|
2022-12-19T02:22:34
|
|
Drop an unneeded include
|
|
0800d187
|
2022-12-19T00:59:40
|
|
Try to fix autotools build
|
|
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
|
|
237955df
|
2022-12-22T08:12:47
|
|
[paint] Add slant to image() callback
And slant images in hb-view.
|
|
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
|
|
fdf17dbf
|
2022-12-16T15:00:06
|
|
Try fixing bots
|
|
c2219339
|
2022-12-21T18:39:27
|
|
[paint] Preserve foreground information
|
|
5c632955
|
2022-12-16T12:04:17
|
|
Apply root transform
This commit applies scale, slant is still missing.
|
|
3590ee74
|
2022-12-18T13:59:56
|
|
[util] Fix bot
|
|
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.
|
|
794fa4c3
|
2022-12-15T22:22:31
|
|
sweep gradients etc
|
|
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.
|
|
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
|
|
81bf0892
|
2022-12-18T13:15:49
|
|
[hb-view] Use color render callback if HB_DRAW >= 2
|
|
5d7553d3
|
2022-12-21T15:18:02
|
|
view: Add a --font-palette option
|
|
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.
|
|
d094e76c
|
2022-12-21T15:02:41
|
|
hb-view: Pass fg color to hb_font_paint_glyph
|
|
9672aa86
|
2022-12-18T12:57:42
|
|
[util] Fix compiler warning
|
|
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.
|
|
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
|
|
b1500bab
|
2022-12-21T09:49:42
|
|
utils: Some cairo helper tweaks
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
3b32eab3
|
2022-12-17T17:13:30
|
|
[colr] Fix compiler warning
|
|
63db0d2a
|
2022-12-22T12:19:33
|
|
[util] Speculatively fix build against non-PNG builds
|
|
e3153654
|
2022-12-17T13:56:22
|
|
[colr] Fix PNG placement
|
|
f07ce68f
|
2022-12-17T13:48:05
|
|
Remove unused function
|
|
cf02d133
|
2022-12-20T11:52:39
|
|
[cairo] Remove unused struct
|
|
0a2f3673
|
2022-12-17T13:51:23
|
|
[paint] Use tags for image formats
This fits better with the rest of the
HarfBuzz API.
|
|
c5f90387
|
2022-12-22T12:16:55
|
|
[paint] Add bitmap width/height to paint_image callback
Such that we can add raw data as well.
|
|
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
|
|
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.
|
|
0cd404d0
|
2022-07-09T20:23:22
|
|
Typo fix in hb-subset
s/substract/subtract/
|
|
38e81f2b
|
2022-06-30T21:09:11
|
|
[subset] Add --layout-scripts command line flag.
|
|
f8d052df
|
2022-06-22T18:35:48
|
|
[ansi-print] Remove impossible condition
|
|
251320ea
|
2022-06-22T16:44:07
|
|
[ansi-print] Whitespace
|
|
0d59d795
|
2022-06-22T16:39:36
|
|
[ansi-print] Precision
|
|
c695a091
|
2022-06-22T16:33:37
|
|
[ansi-print] Reorder cases; harmless
|
|
ae0fce31
|
2022-06-22T16:31:21
|
|
[ansi-print] Fix quadrants
|
|
2ebaf0c5
|
2022-06-22T16:17:49
|
|
[ansi-print] Fix unicolor detection
|
|
a4db80ca
|
2022-06-22T16:13:53
|
|
[ansi-print] Fix color calculation
Still something's wrong.
|
|
6dd7e31f
|
2022-05-31T04:09:06
|
|
[util] Accept | as delimiter in Unicode parsing
|
|
cc0f1f3b
|
2022-04-12T10:45:43
|
|
Expose --passthrough-tables option to hb-subset CLI tool
|
|
56f11ec9
|
2022-02-18T14:08:43
|
|
[buffer] Add HB_BUFFER_FLAG_PRODUCE_UNSAFE_TO_CONCAT
Fixes https://github.com/harfbuzz/harfbuzz/issues/3454
|
|
c0b2f50c
|
2022-02-18T12:29:14
|
|
[util] Rename template typenames to avoid clashing with actual types
Apparently MSVC2015 can confuse them
Fixes https://github.com/harfbuzz/harfbuzz/issues/3379
|
|
096121ba
|
2022-02-10T19:27:33
|
|
[util] Implement --sub-font
Internally creates a font at 2x and creates a sub-font from it...
|
|
57aa8c3b
|
2022-02-10T19:04:52
|
|
[draw] Another try at a stable draw moveto semantic
|
|
640b6ffd
|
2022-02-08T18:20:59
|
|
[util] Default font-funcs to 'ot' instead of 'ft'
|
|
9cc9ffe3
|
2022-02-08T18:18:47
|
|
[util/draw] If HB_DRAW is not set, choose depending on cairo version
If HB_DRAW=0, don't use it, if HB_DRAW=1, use it, if unset, choose depending
on cairo version
|
|
22f2c78c
|
2022-02-08T17:52:56
|
|
[util/draw] Explicitly chain from render_color_glyph to render_glyph
This seems to be more robust. See:
https://github.com/harfbuzz/harfbuzz/pull/3411#issuecomment-1033176635
|