|
087b9a0a
|
2019-02-18T22:30:40
|
|
Fix or document unsupported font-feature-settings
|
|
490d52f9
|
2019-01-28T17:43:42
|
|
[subset] Add retain-gids option to hb-subset executable.
|
|
60022ecc
|
2019-01-26T14:04:51
|
|
Fix -Wcast-function-type warnings in util/ with gcc 4.8
|
|
e4120085
|
2018-12-17T21:31:01
|
|
Remove redundant void from C++ sources (#1486)
|
|
3f8e7a98
|
2018-12-12T11:32:57
|
|
[util/hb-subset] Add --layout to keep GDEF/GSUB/GPOS
Will become default and option removed in the future.
|
|
9844c880
|
2018-12-11T17:28:04
|
|
Minor
|
|
b403be8a
|
2018-11-16T12:29:18
|
|
Merge branch 'master' into cff-subset
|
|
11aa0468
|
2018-11-15T23:10:56
|
|
[subset] minor, adjust spaces
|
|
43ee0e4d
|
2018-11-06T09:57:17
|
|
Merge branch 'master' into cff-subset
|
|
9bddfde2
|
2018-11-06T11:03:34
|
|
[util] Fix up previous commit
|
|
3ec2e4fa
|
2018-11-06T10:49:19
|
|
[util] Don't terminate string after a a 0 in -u
Fixes https://github.com/harfbuzz/harfbuzz/issues/1361
|
|
481fdfdc
|
2018-11-02T15:28:09
|
|
Merge branch 'cff-subset' of https://github.com/harfbuzz/harfbuzz into cff-subset
|
|
6186dbf1
|
2018-11-01T17:25:23
|
|
added hb_subset_input_set_desubroutinize API
hooked up with CFF1 subroutinizer
a renaming
|
|
e600e544
|
2018-11-01T16:13:56
|
|
Merge branch 'master' into cff-subset
|
|
d56e338a
|
2018-10-31T22:30:34
|
|
CFF1 no-desubroutinize + no-hinting
no-desubroutinize option is disabled for now
code cleanup (esp. CFF1 width handling)
bug fixes & renaming
|
|
edaa7682
|
2018-10-30T01:35:58
|
|
[util] Use fgets instead of getline such that windows passes
|
|
83a61273
|
2018-10-30T01:24:23
|
|
[util] Minor
|
|
f7a08cd4
|
2018-10-30T11:29:09
|
|
Fix extra semicolon issues and test that on CI (#1330)
|
|
58e20f53
|
2018-10-30T00:50:18
|
|
[util] Add hb-shape --batch
|
|
6131fb62
|
2018-10-30T00:38:01
|
|
[util] Don't close stdin/stdout
|
|
cf92cb7e
|
2018-10-19T22:21:39
|
|
Use g_strdup instead of strdup
Cygwin does not seem to have strdup.
|
|
eeddda3e
|
2018-10-18T07:38:47
|
|
[util] Better file-not-found error from hb-shape / hb-view
fixes #1266
|
|
1e8fdd28
|
2018-10-10T16:32:35
|
|
Remove HAVE_OT
We never tested compiling without it. Just kill it. We always build
our own shaper.
|
|
e42cd58c
|
2018-10-07T20:46:11
|
|
Rename invisible_codepoint to invisible_glyph in API
Deleted recently added API:
hb_buffer_set_invisible_codepoint()
hb_buffer_get_invisible_codepoint()
hb-shape / hb-view --invisible-codepoint
New API:
hb_buffer_set_invisible_glyph()
hb_buffer_get_invisible_glyph()
hb-shape / hb-view --invisible-glyph
Fixes https://github.com/harfbuzz/harfbuzz/issues/1216
|
|
71b65eb2
|
2018-10-07T18:41:52
|
|
Add API for setting invisible-codepoint
Fixes https://github.com/harfbuzz/harfbuzz/issues/1216
New API:
hb_buffer_set_invisible_codepoint()
hb_buffer_get_invisible_codepoint()
hb-shape / hb-view --invisible-codepoint
|
|
55942ad5
|
2018-10-06T14:49:44
|
|
Merge branch 'master' into cff-subset
|
|
310bdac4
|
2018-10-04T16:31:14
|
|
Fix a warning
|
|
6353cc1f
|
2018-10-02T21:39:19
|
|
[circleci] Fix some of warnings from clang-everything bot (#1211)
* -Wshift-sign-overflow
* -Wmissing-prototypes
|
|
0fa1edbd
|
2018-10-01T09:40:29
|
|
[circleci] Couple of fixes (#1200)
* Raise error on warnings on -everything
* Enable fontconfig to two bots
* Fix msan bot now that all of its real complain are gone
|
|
b5285b34
|
2018-09-30T12:23:01
|
|
[util] Remove unneeded virtual
clang warning:
../../util/options.hh:72:13: warning: destination for this 'memset' call is a pointer to dynamic class
'option_parser_t'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
memset (this, 0, sizeof (*this));
~~~~~~ ^
../../util/options.hh:72:13: note: explicitly cast the pointer to silence this warning
memset (this, 0, sizeof (*this));
^
(void*)
|
|
89ed040b
|
2018-09-30T06:06:26
|
|
[util] Fix more non-virtual-destructor warnings
|
|
2382dd07
|
2018-09-30T05:54:47
|
|
Minor
|
|
9caa432d
|
2018-09-30T05:49:08
|
|
[util] Use HB_FALLTHROUGH
Sure, gcc knows to warn about this as well:
../../util/options.cc:175:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 1: m.r = m.t;
~~~~^~~~~
../../util/options.cc:176:5: note: here
case 2: m.b = m.t;
^~~~
But HOLY SMOKES, look at clang -Weverything bot message:
options.cc:176:5: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
case 2: m.b = m.t;
^
options.cc:176:5: note: insert 'HB_FALLTHROUGH;' to silence this warning
case 2: m.b = m.t;
^
HB_FALLTHROUGH;
Right, it's telling me to insert "HB_FALLTHROUGH;" there!!!!!!!!!
|
|
2e728a7d
|
2018-09-30T05:47:36
|
|
[util] Mark var static
From clang -Weverything bot:
options.cc:39:3: warning: no previous extern declaration for non-static variable 'supported_font_funcs' [-Wmissing-variable-declarations]
|
|
e910a1ae
|
2018-09-30T05:46:20
|
|
[util] Add empty virtual destructor to option_group_t
From clang -Weverything bot:
./options.hh:57:8: warning: 'option_group_t' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
struct option_group_t
^
|
|
04caf116
|
2018-09-26T12:13:47
|
|
[hb-view] Change subpixel bits from 8 to 6
To match FreeType units, such that FreeType gets correct size from us.
This matters more now that we allow setting --ft-load-flags.
|
|
606bf574
|
2018-09-16T19:33:48
|
|
Revert forcing use of single-parameter static_assert()
Some clang versions define static_assert as a macro apparently, so we cannot
redefine it...
This reverts commit 94bfea0ce6a7b4d5641c198d50751748a353df11.
This reverts commit 4e62627831e7457ed60ff87712570065b14b200a.
|
|
94bfea0c
|
2018-09-16T19:12:19
|
|
Fix build, another try
|
|
f90bab85
|
2018-09-11T14:21:15
|
|
[util] Add --ft-load-flags
Useful for performance testing.
Not hooked to cairo yet. Just changes shaping, not rasterization.
|
|
93f75962
|
2018-09-11T14:11:10
|
|
[util] Add -n shorthand for --num-iterations
Meh.
|
|
93fe0faa
|
2018-08-29T18:24:03
|
|
[subset] Clean up hb_subset_input_t API
|
|
f39166f0
|
2018-08-29T18:09:55
|
|
[subset] Remove unused hb_subset_profile_t
We might reintroduce it later, but for now remove, as it was unused.
Some things that should have been in this object (drop_hints, etc)
are already in hb_subset_input_t. So, for now, keep everything there.
|
|
c77ae408
|
2018-08-25T22:36:36
|
|
Rename hb-*private.hh to hb-*.hh
Sorry for the noise, downstream custom builders. Please adjust.
|
|
159ddb87
|
2018-06-24T23:09:16
|
|
Treat - just as /dev/stdin and remove one extra file reader (#1065)
|
|
d0c2889d
|
2018-06-18T19:59:33
|
|
Revert file blob sanitization and index checking (#1062)
As https://github.com/harfbuzz/harfbuzz/pull/1059#issuecomment-397912812 we
like to still work with blobs that harfbuzz itself can't handle directly that are failing sanitization
currently apparently.
|
|
c53697d3
|
2018-06-17T17:04:55
|
|
Verbose fail when something is wrong with hb-shape/hb-view input font file (#1059)
This checks if the blob isn't empty and uses `hb_face_count`
to see if the font file passes the simple font file sanitization
so can detect if the input is actually a font and checks also
whether input font-index is out of range.
|
|
aa0c5df4
|
2018-06-17T16:49:34
|
|
Fix reading fonts from stdin (#1060)
We were passing the font path directly to freetype so rendering
was broken when we are getting the font from stdin.
This fixes it by using FT_New_Memory_Face instead.
This fixes:
* build/util/hb-view /dev/stdin text < font.ttf
* build/util/hb-view - text < font.ttf
* cat font.ttf | build/util/hb-view - text
but doesn't work on
* cat font.ttf | build/util/hb-view /dev/stdin text
which I will try to fix separately.
|
|
eaf64945
|
2018-04-23T18:39:40
|
|
Resolve clang's conditional-uninitialize warnings
|
|
ce17340b
|
2018-04-20T10:29:06
|
|
Add hb_blob_create_from_file, a new API (#926)
|
|
6fdeeb2a
|
2018-04-19T23:41:37
|
|
[util] Check all specified shapers are known (#993)
A bit brute force and requires all shapers to be known, not just one.
Fixes https://github.com/harfbuzz/harfbuzz/issues/956
|
|
82697919
|
2018-03-25T20:50:41
|
|
Allow trailing non-numeric chars in --unicodes
|
|
127096e4
|
2018-03-15T13:23:27
|
|
[util] Remove line buffering
Something weird seems to be going on. Just kill it.
Fixes https://github.com/harfbuzz/harfbuzz/issues/888
|
|
4a1d51ef
|
2018-02-26T20:23:41
|
|
Merge pull request #818 from googlefonts/drophints
[subset] Drop hints
|
|
0c0fe2ff
|
2018-02-26T17:47:10
|
|
[subset] Move util/generated-unicode-ranges.py to src/gen-unicode-ranges.py
|
|
ddc4f2b9
|
2018-02-26T15:59:32
|
|
[subset] Add python util that was used to generated hb-ot-os2-unicode-ranges.hh
|
|
bb82f013
|
2018-02-25T12:30:33
|
|
[aat] trak sanitization
|
|
d78393b5
|
2018-02-23T17:53:26
|
|
Merge branch 'master' of https://github.com/harfbuzz/harfbuzz into drophints
|
|
4f6f7c3b
|
2018-02-23T02:54:12
|
|
[util] Implement ppem/ptem on hb-{shape,view} (#811)
|
|
74e0c13a
|
2018-02-21T11:19:18
|
|
[subset] drop hint tables if so flagged. Still need to dump glyf instructions.
|
|
0bd100e1
|
2018-02-21T10:34:00
|
|
[subset] add --hinting flag
|
|
9046e924
|
2018-02-13T22:07:12
|
|
[subset] Rename constructor to hb_subset_input_create_or_fail()
To signify that unlike rest of library, returns nullptr on failure.
|
|
d5b33f2f
|
2018-02-13T13:50:50
|
|
[subset] hb_subset_input_t changes
|
|
70b06cc6
|
2018-02-10T16:13:06
|
|
More fixes
|
|
4011d885
|
2018-02-10T14:09:06
|
|
[util] Remove use of ssize_t which was failing on MSVC
|
|
570d5237
|
2018-02-10T13:24:22
|
|
[subset] Merge remote-tracking branch 'googlefonts/master'
|
|
d0f3e7f5
|
2018-02-10T12:45:28
|
|
[util] Use setlinebuf() if present
To work around mysterious bug on OS X.
Fixes https://github.com/harfbuzz/harfbuzz/issues/727
|
|
8431c38c
|
2018-02-08T19:20:58
|
|
remove output noise
|
|
194140d3
|
2018-02-08T16:27:57
|
|
[util] Minor
|
|
af02812f
|
2018-02-07T13:07:46
|
|
[subset] Change hb_subset API to remove hb_subset_face_t
|
|
6c52d94f
|
2018-02-06T15:31:14
|
|
capture the set of codepoints passed by --unicodes
|
|
7481f0ce
|
2018-02-05T16:05:12
|
|
Add codepoints to subset input.
|
|
70e13ade
|
2018-02-06T13:20:38
|
|
[subset] Fix Windows issue on endlines (#756)
|
|
2ea22893
|
2018-02-05T15:10:01
|
|
ssize_t -> size_t
|
|
c25898eb
|
2018-02-05T14:35:32
|
|
Switch to fopen() instead of open() in subset test. open wasn't compiling on windows.
|
|
fc04f11c
|
2018-02-05T11:12:33
|
|
Rename HB_SUBSET_sources -> HB_SUBSET_CLI_sources to match what cmake is looking for.
|
|
e428f7b1
|
2018-02-05T10:24:16
|
|
Wrap unistd.h include in ifdef.
|
|
ae39fc81
|
2018-02-04T20:18:52
|
|
[subset] Build hb-subset into separate libharfbuzz-subset.so
|
|
eac20e45
|
2018-02-04T20:08:50
|
|
[subset] Minor
|
|
edcd3b80
|
2018-02-04T12:31:24
|
|
Actually call hb_subset
|
|
f83a43b5
|
2018-02-02T17:50:45
|
|
Add CMake configuration for all of the new subsetting code.
|
|
5bc0cda1
|
2018-02-02T17:49:14
|
|
Add missing unistd header to hb-subset.
|
|
058b1260
|
2018-02-01T18:22:14
|
|
Re-write hb-subset utility to use main-font-text driver.
|
|
ede84ffa
|
2018-02-01T17:17:36
|
|
Whitespace
|
|
e9d154ac
|
2018-01-30T19:27:11
|
|
tweak test failure output. write to a temp file not stdout. test still fails because expected is not just an identical copy of input
|
|
9ccb8366
|
2018-01-17T22:09:07
|
|
Start to sketch APIs for subsetting
|
|
4c4a9fc8
|
2018-01-17T09:47:50
|
|
Typo
Fixes https://github.com/harfbuzz/harfbuzz/issues/711
|
|
7c32e01d
|
2018-01-11T10:47:31
|
|
Minor
|
|
746a37d5
|
2018-01-10T16:47:47
|
|
[util] Replace setlinebuf
|
|
ff2083c5
|
2018-01-10T13:54:36
|
|
[util] Set stdio files to line buffering
So we can stream lines to hb-shape and read output.
|
|
3b1e97f3
|
2018-01-10T03:35:20
|
|
Add HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES
New API:
HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES
hb-shape / hb-view --remove-default-ignorables
One more text-rendering-tests test passing. Eleven failing.
|
|
3f29ea91
|
2018-01-10T02:48:04
|
|
[util] Add hb-shape --ned
For not displaying extra data: no clusters, no advance. Just data pertaining
to where glyphs end up on the screen.
|
|
71fd6325
|
2018-01-10T02:20:14
|
|
Add option to buffer serialization to not output glyph advances
When advances are not printed, glyph offsets reflect absolute glyph
positions.
New API:
HB_BUFFER_SERIALIZE_FLAG_NO_ADVANCES
hb-shape --no-advances
|
|
7b837e20
|
2018-01-03T12:46:29
|
|
[util] Add TODO item
|
|
0fd89dc6
|
2017-12-04T18:58:41
|
|
[hb-ft] Fix build when Multiple Master font support is disabled in freetype
FT_Set_Var_Blend_Coordinates() is not available when "Multiple Master
font interface" is disabled in freetype's modules.cfg
|
|
bb7cc4ea
|
2017-11-20T19:39:47
|
|
Minor
|
|
17f40b7c
|
2017-10-27T09:22:30
|
|
Include hb-private.hh more consistently
Part of fixing https://github.com/behdad/harfbuzz/issues/585
|
|
dbdbfe3d
|
2017-10-15T12:11:08
|
|
Use nullptr instead of NULL
|
|
c3448e8d
|
2017-10-15T12:02:00
|
|
Use static_assert instead of custom ASSERT_STATIC
|
|
dad431e7
|
2017-10-15T10:55:32
|
|
[util] Include hb-private.hh
Simplifies compatibility issues by centralizing all boilerplate code
in hb-private.hh.
|
|
9355218f
|
2017-09-09T11:21:07
|
|
[util] Add a few shorthand forms for commandline options
-o, -O, -u, -v, -V
|