src


Log

Author Commit Date CI Message
Behdad Esfahbod e540d402 2019-07-19T11:19:31 [docs] Minor
Ebrahim Byagowi 00e13985 2019-07-20T23:03:51 Revert hhea fallback to OS/2 to its reverse way As searching number of hhea having fonts beats the number of OS/2 having ones in macOS 10.14.2
Ebrahim Byagowi 772e6268 2019-07-20T14:50:31 Make HB_TINY builds work again by separating the always needed part
Ebrahim Byagowi 29444d7e 2019-07-20T13:52:21 Don't cache ascender/descender metrics
Ebrahim Byagowi cb704337 2019-07-20T14:33:57 Merge _get_position_internal into _get_position
Ebrahim Byagowi c13ef9cc 2019-07-20T15:01:37 Bring back asc/desc abs logic used to be in hmtx table
Ebrahim Byagowi ac3518af 2019-07-20T14:03:36 Define post table only when used
Ebrahim Byagowi 471f798a 2019-07-20T14:00:20 Merge ot-metrics-internal.cc with ot-metrics now that isn't needed in subset
Ebrahim Byagowi 5e28c265 2019-07-20T14:08:11 [doc] minor, improve hb-ot-metrics doc a bit
Ebrahim Byagowi 08b48e89 2019-07-20T12:53:40 [os2] minor spacing tweaks
Ebrahim Byagowi 54b9ab70 2019-07-20T12:51:38 Fallback hhea's ascender/descender to OS2
Behdad Esfahbod ec8dde81 2019-07-19T11:13:50 [metrics] Fall back to hhea if OS2 metrics are empty Reinstates previous logic, even if it might be unnecessary.
Ebrahim Byagowi 2e5b49d1 2019-07-19T11:41:07 Add HB_NO_METRICS and fix HB_TINY build (#1839)
Behdad Esfahbod 2bd953ff 2019-07-18T14:25:45 [metrics] Fix weird use of xor I believe that was a try to use one approach as fallback to other. But felt wrong. Just believe what's in OS/2 table to be correct.
Behdad Esfahbod 9675a067 2019-07-18T14:15:08 [ot-metrics] Touch up
Ebrahim Byagowi 87e62843 2018-11-20T23:26:46 Implement a simple API for fetching opentype metrics Fixes https://github.com/harfbuzz/harfbuzz/pull/1432
David Corbett ed67efcc 2019-06-17T10:16:24 Revert "[Myanmar] Prevent reordering between Asat and Dot below" This reverts commit 1c8654ead41ca746d577549c92d2a41c594ab639.
Behdad Esfahbod 6157bbe5 2019-07-17T11:20:08 Revert "Revert previous change" This reverts commit b8e90ca1a10fbd472eda1aa8cc3797011da52356. Works now.
Behdad Esfahbod 576065b4 2019-07-17T11:19:34 [iter] Fix reduce type deduction
Ebrahim Byagowi b8e90ca1 2019-07-17T21:38:19 Revert previous change Interestingly all of the bots disagreed with the change and the complain is... weird.
Ebrahim Byagowi ee05627a 2019-07-17T21:28:25 Improve syntax to make out linux-arm64 a little happy Decided to apply is we did the same on other places however this won't fix all of its complains
Ebrahim Byagowi 6a6bf7b7 2019-07-17T21:22:38 Downgrade -Wdeprecated-declarations to warning Fixes #1834 at least till fix of #1829
Behdad Esfahbod 25e2562f 2019-07-17T09:35:56 [amalgam] Fix redundant-declaration warning/error
Ali Javadi c1841802 2019-07-16T22:10:24 Fix C++20 compile warning on implicit capture of this with '=' default capture (#1833) Happens when compiled with -std=c++2a, the fix just makes the captures explicit to resolve the issue. Just adding this in addition to = doesn't work in C++11. src/hb-ot-layout-gpos-table.hh:737:18: warning: implicit capture of 'this' with a capture default of '=' is deprecated [-Wdeprecated-this-capture] { return (this+_).intersects (glyphs, valueFormat); }) ^ src/hb-ot-layout-gpos-table.hh:736:16: note: add an explicit capture of 'this' to capture '*this' by reference | hb_map ([=] (const OffsetTo<PairSet> &_) ^ , this
Ebrahim Byagowi 1f943885 2019-07-16T11:24:29 [usp] define atfree callback only if used
Behdad Esfahbod 4730b350 2019-07-12T15:38:35 Revert "Update Graphite API to latest (#1215)" This reverts commit e4e74c2751ac24178086cce2811d34d8019b6f85. See https://github.com/harfbuzz/harfbuzz/issues/1829
Ebrahim Byagowi 7a9d643c 2019-07-11T01:35:06 Fix unintialized memory read in cmap subset (#1826)
Ebrahim Byagowi a6065d05 2019-07-10T16:41:40 Don't call memcpy when a table is empty
Dominik Röttsches 2e7021da 2019-07-08T10:19:49 Revert "Minor" - revert moving extern "C" definitions in-function This reverts commit 62e60322cb9e18b3ee75f1b4a2a6d3069f587407 since it breaks building HarfBuzz as part of Chromium. Fixes https://github.com/harfbuzz/harfbuzz/issues/1821.
Behdad Esfahbod f18ea1dd 2019-07-05T13:56:45 [font] Remove division when scaling Yoohoo. This seems to be precise enough! Let's see if it sticks. I'm asking Dominik to run this in Chrome test suite and report. Fixes https://github.com/harfbuzz/harfbuzz/issues/1801
Behdad Esfahbod b8477692 2019-07-05T13:52:09 [font] Keep font-space to user-space multiplier Part of https://github.com/harfbuzz/harfbuzz/issues/1801
Behdad Esfahbod df6edcd4 2019-07-05T13:45:15 Make face immutable in hb_font_set_face()
Behdad Esfahbod 0d425e1e 2019-07-05T13:18:05 [ot-font] Optimize rounding Part of https://github.com/harfbuzz/harfbuzz/issues/1801 The assumption that compiler optimizes "upem/2" to a shift only works if upem is unsigned... Anyway, spoon-feed the compiler.
Simon Sapin ffa736f1 2019-07-04T23:05:50 hb_set_previous_range docs: fix presumed copy/paste error
Simon Sapin 641f3373 2019-07-04T23:03:45 Docs typo fix: slower → lower
Ebrahim Byagowi 9fea6b4d 2019-07-05T18:46:41 [amalgam] Use it in cmake port and fix conflicts (#1812)
Behdad Esfahbod b240d701 2019-07-03T12:17:57 [amalgam] Include integration source files as well Just for those that are normally built into libharfbuzz itself. Part of https://github.com/harfbuzz/harfbuzz/issues/1809
Behdad Esfahbod d5152420 2019-07-03T12:10:03 [amalgam] Rename hb.cc to harfbuzz.cc Part of https://github.com/harfbuzz/harfbuzz/issues/1809
Behdad Esfahbod 4cb180d2 2019-07-02T19:44:18 Revert "Use constexpr to replace passthru_ bools" This reverts commit c4aa10ebc8dc28b1f9c90af2ca2092a7535f8395. Broke several compilers... Sigh. The version without constexpr didn't fully optimize out the unreachable code on clang. So, revert it is...
Behdad Esfahbod c4aa10eb 2019-07-02T19:15:03 Use constexpr to replace passthru_ bools
Behdad Esfahbod 2e48fd07 2019-07-02T17:55:58 Sprinkle constexpr around Being conservative. Also not sure it makes any real difference in our codebase.
Behdad Esfahbod df444806 2019-07-02T17:11:09 Remove unused 'inline' specifier
Behdad Esfahbod 04a49570 2019-07-02T16:19:18 [amalgam] Add hb.cc to git Part of https://github.com/harfbuzz/harfbuzz/issues/1809
Behdad Esfahbod 62e60322 2019-07-02T16:07:03 Minor
Behdad Esfahbod ceb4c212 2019-07-02T16:02:13 [amalgam] Fix UCD issue This actually makes it build now! Part https://github.com/harfbuzz/harfbuzz/issues/1809 Keeping open to add tests, CI, etc.
Behdad Esfahbod 7ca54811 2019-07-02T16:00:58 [amalgam] Fix CFF Part of https://github.com/harfbuzz/harfbuzz/issues/1809
Behdad Esfahbod 3724f13b 2019-07-02T15:23:00 [amalgam] Finish fixing Indic-like shapers Part of https://github.com/harfbuzz/harfbuzz/issues/1809
Behdad Esfahbod eb37bc9d 2019-07-02T15:19:39 [use] Remove Syriac features This was non-standard, and unused anyway.
Behdad Esfahbod dc480fc4 2019-07-02T15:17:56 [amalgam] More Indic-like issues Part of https://github.com/harfbuzz/harfbuzz/issues/1809
Behdad Esfahbod d8b5353e 2019-07-02T15:09:26 [amalgam] More Part of https://github.com/harfbuzz/harfbuzz/issues/1809
Behdad Esfahbod d115a9e0 2019-07-02T14:42:45 [amalgam] Fix most duplicate-id instances in Indic-like shapers Part of https://github.com/harfbuzz/harfbuzz/issues/1809
Behdad Esfahbod c073233f 2019-07-02T14:26:45 Add make rule to build hb.cc Part of https://github.com/harfbuzz/harfbuzz/issues/1809
Behdad Esfahbod f1d20d9b 2019-07-02T14:18:38 Add ucd-table make target
Michiharu Ariza 040b261d 2019-06-30T16:13:07 add bimap test along with bug fix/tweaks
Ebrahim Byagowi 4ab2d1d6 2019-07-01T19:30:21 [dwrite] Apply minor style improves
Carlo Bramini 5ebd265e 2019-07-01T16:06:43 Fix error rised by GCC8+
Carlo Bramini 693dacbb 2019-07-01T13:31:26 Use lower case file name with #include I tried to cross compile harfbuzz for Windows and an error was generated because `DWrite_1.h` was not found. This happened because the filesystem is case sensitive and for this reason that include file was not found. The right name of the file to be used is `dwrite_1.h`, with all letters not capitalized: https://docs.microsoft.com/en-us/windows/desktop/api/dwrite_1/ I also verified in the installation of VS2017 with Windows Kit v10 and in that place it was also lower case. So, in my opinion it should be better to change this.
Carlo Bramini 601b6825 2019-06-30T15:03:44 Dynamically load DWRITE Also checks if DWriteCreateFactory() has been executed successfully.
Behdad Esfahbod ad341d5f 2019-06-28T16:00:37 [config] Fix CoreText build with NO_AAT
Ebrahim Byagowi 3f806673 2019-06-29T00:00:00 Apply some minor improves on CFFIndex
Ebrahim Byagowi ddd29e55 2019-06-28T23:44:14 minor, reuse StructAtOffset logic in StructAtOffsetOrNull
Ebrahim Byagowi 9db7ce73 2019-06-28T23:11:52 minor style improve in hb-cff-interp-common.hh
Ebrahim Byagowi 9a7b7bd9 2019-06-28T22:53:51 style fix for pylint complain
Michiharu Ariza 01832fd1 2019-06-26T15:58:38 alternate fix for https://crbug.com/971933
Behdad Esfahbod cd65305b 2019-06-26T14:57:48 [config] Don't disable emoji sequences in HB_TINY It makes sense to disable this code these if editing is not needed. However, this is also necessary to correctly display emoji sequences in right-to-left direction. For that reason, don't auto-disable it.
Behdad Esfahbod 7298716a 2019-06-26T14:51:17 [config] Compile out modified combining-class if HB_NO_OT_SHAPE Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod 1cdd0fa6 2019-06-26T14:49:15 [emoji] Port generator to packtab
Behdad Esfahbod 5130c90a 2019-06-26T14:29:39 [config] Add HB_NO_EMOJI Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod 9d5b5348 2019-06-26T13:58:40 [config] Add HB_NO_SHAPER Don't know who would want when why. But makes sense to have.
Behdad Esfahbod 8fe15485 2019-06-26T13:49:42 [config] Add HB_NO_OT_TAG Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod 7dcf8e12 2019-06-26T13:44:10 [config] Fix build with HB_NO_OT_LAYOUT
Behdad Esfahbod 2804790b 2019-06-26T13:38:14 [config] Add dependency
Behdad Esfahbod b0fd16ee 2019-06-26T13:31:51 [config] Add dependency
Behdad Esfahbod 12092a46 2019-06-26T13:31:01 [config] Rename HB_NO_SHAPE_AAT to HB_NO_AAT_SHAPE
Behdad Esfahbod bb4bbe61 2019-06-26T13:29:58 [config] Add HB_NO_OT_LAYOUT Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod ab40a2fe 2019-06-26T13:25:02 [config] Enable HB_NO_OT_FONT in HB_NO_OT
Behdad Esfahbod 7aad5365 2019-06-26T13:21:03 [config] Add HB_NO_OT_SHAPE / HB_NO_OT Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod cee9f6e0 2019-06-26T13:01:58 Fail compile if no shapers enabled
Behdad Esfahbod 8786820a 2019-06-26T12:53:57 [src] Add make targets "tiny" and "tinyz"
Behdad Esfahbod b14e413f 2019-06-26T10:44:10 2.5.3
Behdad Esfahbod 3bfa878c 2019-06-25T19:07:07 [gen-ucd] Protect against accidents like previous commit https://github.com/harfbuzz/harfbuzz/pull/1796
David Corbett f4ea1a9a 2019-06-25T21:08:14 [ucd] Include scripts added in Unicode 10 or later
Michiharu Ariza 10bd6b8d 2019-06-20T16:22:08 minor
Michiharu Ariza f3ee2bd0 2019-06-20T14:33:09 add ops & methods to hb_bimap_t making it more like hb_map_t moved has () to hb_bimap_t from hb_inc_bimap_t moved identity () to hb_inc_bimap_t removed forward()
Michiharu Ariza 09496695 2019-06-17T22:12:40 add hb_bimap_t, subclass hb_inc_bimap_t replacing CFF::remap_t
David Corbett 0660175d 2019-06-25T10:14:03 Categorize U+1133B for use in Tamil
David Corbett fb0df17b 2019-06-24T21:54:26 Correct "nonunihan" to "nounihan"
Ebrahim Byagowi bb4cdf8e 2019-06-25T01:42:42 Replace create_from_file with empty blob if HB_NO_OPEN is defined
GaryQian ccf14482 2019-06-24T12:57:13 Cast long->size_t to ensure comparison of similar types
Behdad Esfahbod ec8e635e 2019-06-24T12:37:23 [ucd] Use custom encoding to shrink composition data Saves another 2.5kb. Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod 9c933aca 2019-06-23T17:14:27 [ucd] Save a few more bytes Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Qunxin Liu 9bd8d66c 2019-06-12T11:02:48 [subset] VORG table to use _subset2 method and new iterator frameworks
James Hilliard c2d7dfc6 2019-06-22T19:38:48 Add missing cairo-svg dependency to test-ot-color
Behdad Esfahbod ad97ec95 2019-06-21T00:44:29 [config/ucd] Add HB_NO_UNICODE_UNASSIGNED and activate in HB_TINY Saves another 12kb: $ python ./gen-ucd-table.py ucd.nounihan.grouped.zip > hb-ucd-table.hh && make -j5 CPPFLAGS='-Os -DHB_TINY' -C ~/hb/build/src/ && size ~/hb/build/src/.libs/libharfbuzz_la-hb-ucd.o INFO: Loading UCDXML... INFO: Preparing data tables... INFO: Generating output... INFO: Compression=1: INFO: Dataset=gc FullCost=18612 INFO: Dataset=ccc FullCost=3550 INFO: Dataset=bmg FullCost=1548 INFO: Dataset=sc FullCost=17765 INFO: Dataset=dm FullCost=13325 INFO: Compression=3: INFO: Dataset=gc FullCost=10726 INFO: Dataset=ccc FullCost=2389 INFO: Dataset=bmg FullCost=1052 INFO: Dataset=sc FullCost=13669 INFO: Dataset=dm FullCost=7780 INFO: Compression=5: INFO: Dataset=gc FullCost=8274 INFO: Dataset=ccc FullCost=2055 INFO: Dataset=bmg FullCost=908 INFO: Dataset=sc FullCost=4073 INFO: Dataset=dm FullCost=7780 INFO: Done. Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod ccea7fa1 2019-06-21T00:42:06 [config] Make test build under HB_TINY
Ebrahim Byagowi 12cec6c1 2019-06-21T22:39:42 Don't define hb_blob_create_from_file if HB_NO_OPEN is defined
Behdad Esfahbod 7f3b409e 2019-06-20T14:24:43 Fix build with -O0 message_impl was not defined. That causes trouble if compiler didn't optimize the unreachable call out...
Behdad Esfahbod 6b44bf85 2019-06-20T11:57:19 2.5.2
Behdad Esfahbod fce3bf81 2019-06-19T20:34:29 [config] Add HB_NO_LAYOUT_COLLECT_GLYPHS Part of
Behdad Esfahbod 6c725c77 2019-06-19T20:12:25 [config] Add HB_NO_LAYOUT_FEATURE_PARAMS Part of https://github.com/harfbuzz/harfbuzz/issues/1652