Behdad Esfahbod
3084767e92
Minor: Remove LongArrayOf
11 years ago
Behdad Esfahbod
41ea594950
Minor: Remove LongSortedArrayOf
11 years ago
Behdad Esfahbod
bb6ecf2ce5
Minor: Remove LongOffsetArrayOf and LongOffsetLongArrayOf
11 years ago
Behdad Esfahbod
99d2817123
Minor: Remove GenericOffset
11 years ago
Behdad Esfahbod
9da552dcc5
Minor: Remove some GenericXXX templates
11 years ago
Behdad Esfahbod
36073ede5b
Minor: Reorder template parameter order
11 years ago
Behdad Esfahbod
0394ec1bfb
Minor: Introduce GenericOffset
11 years ago
Behdad Esfahbod
0d1b3419a7
Minor: Use template parameter default values for OffsetTo
11 years ago
Behdad Esfahbod
546b1adcdc
Minor: Use template parameter default values for hb_prealloced_array_t
11 years ago
Behdad Esfahbod
911ca38645
Add back API removed recently
...
Add hb_ot_layout_language_get_required_feature_index() again, which
is used in Pango. This was removed in
da13293798
in favor of
hb_ot_layout_language_get_required_feature().
API changes:
- Added hb_ot_layout_language_get_required_feature_index back.
11 years ago
Behdad Esfahbod
89e4946929
Add new IndicSyllabicCategory short forms for Unicode 7.0
11 years ago
Behdad Esfahbod
dcee838e89
Minor
11 years ago
Behdad Esfahbod
f2ad86e605
[indic-table-gen] Minor
11 years ago
Behdad Esfahbod
2ec62279aa
[indic-table] Update to Unicode 6.3.0
...
Was from 6.2.0. It's a no-op. Committing for the record.
11 years ago
Behdad Esfahbod
5d4d7384ef
Minor: format
11 years ago
Behdad Esfahbod
44243ae590
[arabic-table] Update to Unicode 7.0
...
Old table was from 6.2. Remove hard-coded Mongolian and Phags-pa data.
This completes support for new scripts Manichian and Psaltar Pahlavi.
11 years ago
Behdad Esfahbod
cd86ab9b4f
[arabic-table] Add ZWJ/ZWNJ now that table is segmented
11 years ago
Behdad Esfahbod
2390d9b67e
[arabic-table] Further tune
...
In anticipation of Unicode 7.0 data coming in the next commit.
11 years ago
Behdad Esfahbod
a133e6067a
[indic-table] Minor
11 years ago
Behdad Esfahbod
b900fa2c8c
[arabic-table] Use segmented table
...
No functional change.
11 years ago
Behdad Esfahbod
c2e1134046
[indic-table] Make output stable
11 years ago
Behdad Esfahbod
55abfbd2ac
[indic-table] Minor
...
No output change.
11 years ago
Behdad Esfahbod
f886707490
[arabic-table] Don't write comments
...
No functional change.
11 years ago
Behdad Esfahbod
200dfe3eb1
[arabic-table] Use short names for values
...
No functional change.
11 years ago
Behdad Esfahbod
3f5327a41e
[arabic-table] Read Blocks.txt and shuffle code around
...
No functional change.
11 years ago
Behdad Esfahbod
171f970e4f
[indic-table] Black-list Thai, Lao, and Tibetan
...
We don't need Indic table for those.
11 years ago
Behdad Esfahbod
65ac2dae4f
[indic-table] Speed up lookup
11 years ago
Behdad Esfahbod
64442a3f4c
[indic-table] Fix compiler warning
11 years ago
Behdad Esfahbod
0436e1d505
[indic-table] Make table more compact by not covering full blocks
...
-#define indic_offset_total 4416
+#define indic_offset_total 3816
-}; /* Table occupancy: 60% */
+}; /* Table occupancy: 69% */
11 years ago
Behdad Esfahbod
190a251479
[indic-table] Remove block range from data table
...
No functional change.
11 years ago
Behdad Esfahbod
2b051c6057
Rename HB_VERSION_CHECK and hb_version_check to "atleast"
...
HB_VERSION_CHECK's comparison was originally written wrongly
by mistake. When API tests were written, they were also written
wrongly to pass given the wrong implementation... Sigh.
Given the purpose of this API, there's no point in fixing it
without renaming it. As such, rename.
API changes:
HB_VERSION_CHECK -> HB_VERSION_ATLEAST
hb_version_check -> hb_version_atleast
11 years ago
Behdad Esfahbod
cabfa538ed
Adjust unused doc symbols
11 years ago
Jonathan Kew
da13293798
Rework handling of requiredFeature to solve problem with rlig in arial.ttf from winxp
...
https://bugzilla.mozilla.org/show_bug.cgi?id=986802
Fixes https://github.com/behdad/harfbuzz/pull/39
API Change:
-hb_ot_layout_language_get_required_feature_index
+hb_ot_layout_language_get_required_feature
New API takes an extra pointer argument. Pass NULL in to get
behavior of previous API.
Reworked by behdad
11 years ago
Behdad Esfahbod
df554af99d
Rename search() to bsearch() and lsearch()
...
Such that the complexity of the algorithm used is clear at
call site.
11 years ago
Behdad Esfahbod
fb8cc86ff9
Rename sort() to qsort()
...
In an effort to make the algorithm used clear.
11 years ago
Behdad Esfahbod
577ca48143
[unicode7] Update list of Default_Ignorable codepoints
11 years ago
Behdad Esfahbod
7cfee38276
[unicode7] Route Manichaean and Psalter Pahlavi through Arabic shaper
...
Still needs update to joining table to fully work.
11 years ago
Behdad Esfahbod
a4a7899cd9
[unicode7] Mark right-to-left scripts
11 years ago
Behdad Esfahbod
62587bfc51
[unicode7] Declare Unicode 7 scripts
11 years ago
Behdad Esfahbod
dc61294aa9
[unicode7] Add missing ISO 15924 tags
11 years ago
Behdad Esfahbod
7526373e70
[coretext] Remove unused var
11 years ago
Jonathan Kew
798e4185bc
When zeroing mark widths for LTR, also adjust offset...
...
...so that they overstrike preceding glyph.
https://github.com/behdad/harfbuzz/pull/43
11 years ago
Jonathan Kew
80f7405a52
[Thai] set the correct general category on Nikhahit when decomposing Sara-Am.
11 years ago
Behdad Esfahbod
1d634cbb4b
Fix base-position when 'pref' is NOT formed
...
If pre-base reordering Ra is NOT formed (or formed and then
broken up), we should consider that Ra as base. This is
observable when there's a left matra or dotreph that positions
before base.
Now, it might be that we shouldn't do this if the Ra happend
to form a below form. We can't quite deduce that right now...
Micro test added. Also at:
https://code.google.com/a/google.com/p/noto-alpha/issues/detail?id=186#c29
11 years ago
Behdad Esfahbod
04dc52fa15
[indic] Recover OT_H undergone ligation and multiplication
...
Sometimes font designers form half/pref/etc consonant forms
unconditionally and then undo that conditionally. Try to
recover the OT_H classification in those cases.
No test number changes expected.
11 years ago
Behdad Esfahbod
39c8201f8e
[indic] Improve base re-finding
...
No test numbers change.
11 years ago
Behdad Esfahbod
c04d5f0dd2
[indic] Minor
11 years ago
Behdad Esfahbod
824d00dce4
Fix commit 3f38c1137b
...
Previous commit was not compiling with clang.
11 years ago
Behdad Esfahbod
3f38c1137b
Don't use -mstructure-size-boundary=8 on clang arm
...
As in building for Android / iPhone. Only set it if
struct{char} alignment is not 1.
NOT tested on an actual Arm architecture. Guess we'll know
when this makes it to people's build bots.
11 years ago
Behdad Esfahbod
0ff74b09d2
Add missing test file. Oops
11 years ago