- 03 8月, 2014 7 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
Add buffer var allocation asserts to a few key places.
-
由 Behdad Esfahbod 提交于
The reason we turned it on is because Kazuraki uses it. But that's not reason enough. Until the OpenType spec gets its act together re adding design-direction to lookups, this is better user experience.
-
由 Behdad Esfahbod 提交于
Previously, we expected users to provide BOT/EOT flags when the text *segment* was at paragraph boundaries. This meant that for clients that provide full paragraph to HarfBuzz (eg. Pango), they had code like this: hb_buffer_set_flags (hb_buffer, (item_offset == 0 ? HB_BUFFER_FLAG_BOT : 0) | (item_offset + item_length == paragraph_length ? HB_BUFFER_FLAG_EOT : 0)); hb_buffer_add_utf8 (hb_buffer, paragraph_text, paragraph_length, item_offset, item_length); After this change such clients can simply say: hb_buffer_set_flags (hb_buffer, HB_BUFFER_FLAG_BOT | HB_BUFFER_FLAG_EOT); hb_buffer_add_utf8 (hb_buffer, paragraph_text, paragraph_length, item_offset, item_length); Ie, HarfBuzz itself checks whether the segment is at the beginning/end of the paragraph. Clients that only pass item-at-a-time to HarfBuzz continue not setting any flags whatsoever. Another way to put it is: if there's pre-context text in the buffer, HarfBuzz ignores the BOT flag. If there's post-context, it ignores EOT flag.
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
- 02 8月, 2014 2 次提交
-
-
由 Behdad Esfahbod 提交于
Restructure lookup array to accommodate. https://bugzilla.mozilla.org/show_bug.cgi?id=1045139#c18
-
- 01 8月, 2014 5 次提交
-
-
由 Behdad Esfahbod 提交于
The table can now compile independently too. If we cannot make it work on MSVC, we can always generate the data and distribute it. The code now compiles cleanly with: gcc -c -xc -std=c99 -Werror -pedantic hb-ot-shape-complex-arabic-win1256.hh g++ -c -xc -std=c++1x -Werror -pedantic hb-ot-shape-complex-arabic-win1256.hh See: https://github.com/behdad/harfbuzz/commit/a97f537cec209649302899975d76ca2b2661da7a#commitcomment-7218736
-
由 Behdad Esfahbod 提交于
Bug 1045139 - The Arabic text with "MS Sans Serif" font is rendered bad https://bugzilla.mozilla.org/show_bug.cgi?id=1045139 This is only enabled on Windows platforms, and requires support from Uniscribe to work. But for clients that do hook up to Uniscribe, this fixes shaping of Windows-1256-encoded bitmap fonts like "MS Sans Serif". The code and table together have just less than a 1kb footprint when enabled. UNTESTED. I might even have broken regular Arabic fallback shaping.
-
由 Behdad Esfahbod 提交于
See comments. Micro-test added.
-
由 Behdad Esfahbod 提交于
- 30 7月, 2014 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 27 7月, 2014 3 次提交
-
-
由 Behdad Esfahbod 提交于
Seems to be what Uniscribe does. At this point I think it's work checking our default... Fixes Bug 76767 - Zeroing of advance of 2nd component of multiple substitution with SBL Hebrew https://bugs.freedesktop.org/show_bug.cgi?id=76767 Micro-test added.
-
由 Behdad Esfahbod 提交于
Looks like Unsicribe responds to the 'mymr' tag by zeroing marks GDEF_LATE instead of generic-shaper UNICODE_LATE. Implement that. Fixes Bug 81775 - Incorrect Rendering with harfbuzz-ng myanmar unicode https://bugs.freedesktop.org/show_bug.cgi?id=81775 Micro-test added based on Padauk.
-
由 Behdad Esfahbod 提交于
-
- 26 7月, 2014 10 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
Patch from Maks Naumov. Fixes https://github.com/behdad/harfbuzz/pull/22
-
由 Behdad Esfahbod 提交于
If user doesn't check hb_feature_from_string() return value, we don't want them to end up see the partially-parsed feature.
-
由 Behdad Esfahbod 提交于
With this, I believe we accept CSS feature strings completely.
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
We now allow things like "dlig on" / "dlig=on".
-
由 Behdad Esfahbod 提交于
It's defined in hb-private.h already.
-
由 Behdad Esfahbod 提交于
-
- 25 7月, 2014 3 次提交
-
-
由 Behdad Esfahbod 提交于
Towards accepting CSS font-feature-settings strings.
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
Some systems insist on -Wmissing-field-initializers. We have too many, by design. Fix a few easy ones.
-
- 24 7月, 2014 1 次提交
-
-
由 Behdad Esfahbod 提交于
See comment. Micro-tests added.
-
- 23 7月, 2014 4 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
Ouch!
- 21 7月, 2014 1 次提交
-
- 20 7月, 2014 3 次提交
-
-
由 Behdad Esfahbod 提交于
To make C language police happy.
-
-
由 Behdad Esfahbod 提交于
-