Behdad Esfahbod
9ceb673d9c
[arabic] Allow disabling win1256 fallback code
...
By defining HB_NO_WIN1256.
10 years ago
Behdad Esfahbod
8a93195021
[ot] Prefer Windows platform cmap tables / accept all Unicode encodingIDs
...
Some fonts on the Mac ship with (0,1).
10 years ago
Behdad Esfahbod
270971a0fc
[win32] Avoid preprocessor warnings re macros
10 years ago
Behdad Esfahbod
8c6bd34d38
Fix check-symbols on OS X
10 years ago
Behdad Esfahbod
522b1cc526
[coretext] Hide feature_mappings
10 years ago
Behdad Esfahbod
0d2c2f238b
Simplify hb-object
10 years ago
Behdad Esfahbod
9d861b81f3
Really fix clang build this time
10 years ago
Behdad Esfahbod
272226f294
Revert "Fix build on clang after previous commit"
...
This reverts commit 9c80cbc87f
.
10 years ago
Behdad Esfahbod
9c80cbc87f
Fix build on clang after previous commit
10 years ago
Behdad Esfahbod
a5a27073cf
Rewrite this==NULL checks to avoid undefined behavior
...
Fixes https://code.google.com/p/chromium/issues/detail?id=403594
10 years ago
Behdad Esfahbod
cc3b2d432b
Remove this==NULL check from face->reference_table()
...
Not supposed to happen, and apparently this is undefined in C++.
https://code.google.com/p/chromium/issues/detail?id=403594
10 years ago
Behdad Esfahbod
cd7ea4f791
Make hb_object_t members private
...
In preparation for fixing:
https://code.google.com/p/chromium/issues/detail?id=403594
10 years ago
Behdad Esfahbod
c4308f895a
Minor
10 years ago
Behdad Esfahbod
cd5a1149d9
0.9.35
10 years ago
Behdad Esfahbod
20076cc41e
[coretext] Add version guards for kCTLanguageAttributeName
10 years ago
Behdad Esfahbod
1b3011c27d
[coretext] Pass buffer language to CoreText
10 years ago
Behdad Esfahbod
3eb6a4dbf2
[coretext] Minor
10 years ago
Behdad Esfahbod
08acfe0d3a
[hb-coretext] Fix cluster order of notdef runs in RTL text
10 years ago
Behdad Esfahbod
30eed75de2
[shape-plan] Fix typo!
...
The only effect is, if shaper_list was not NULL and no shaper was found,
we now don't insert anything into cache and return earlier.
10 years ago
Behdad Esfahbod
dc9aba6fc5
[shape-plan] Better debug messages
10 years ago
Behdad Esfahbod
e956c65bf7
[shape-plan] Simplify macro
10 years ago
Behdad Esfahbod
29e25550ce
Fix gcc warning
10 years ago
Behdad Esfahbod
8d5eebc0c6
[shape-plan] Fix shape-plan caching with more than one requested shaper
...
Wasn't breaking out of loop, ouch!
http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1246370.html
10 years ago
Behdad Esfahbod
bc3d0dc601
[shape-plan] Add debug tracing
10 years ago
Behdad Esfahbod
81b8d9777b
[coretext] Fix buffer resizing
...
Was very broken. Now fixed and tested.
10 years ago
Behdad Esfahbod
c3e924fb9e
[coretext] Rewind scratch-allocated arrays when not needed anymore
10 years ago
Behdad Esfahbod
8fd4d70b14
[wince] Two more Windows CE fixes
...
Report has it that it builds (and works) now:
https://codereview.qt-project.org/#/c/92087/
10 years ago
Behdad Esfahbod
fd0001d7db
[coretext] Compare CGFont and PS name, if CTFont didn't match
...
See comments.
Fixes vertical text. CoreText backend is in very good shape now!
Also see:
5a0eed3b50
25f4fb9b56
Fixes http://github.com/behdad/harfbuzz/pull/36
10 years ago
Behdad Esfahbod
5a0eed3b50
[coretext] Implement vertical shaping
...
Currently doesn't work though, we detect font fallback. Apparently
matching on ct_font is not safe for this. Looks like commit
25f4fb9b56
wasn't enough after all.
10 years ago
Behdad Esfahbod
1b55077f03
[coretext] Remove unnecessary alt_size
...
Wasn't needed after a6b8dc8742
.
10 years ago
Behdad Esfahbod
10b1104d79
[coretext] Use CFRunStatus
...
Assert that all runs had expected direction, and take hint for
non-monotone clusters.
10 years ago
Behdad Esfahbod
fd1a6aa8d0
[coretext] Minor
10 years ago
Behdad Esfahbod
130856c705
[coretext] Remove debug printf!
10 years ago
Behdad Esfahbod
b5fbc3b8f5
API: Do not clear buffer-flags in hb_buffer_clear_contents()
...
After 763e5466c0
, one doesn't
need to set flags for different pieces of text. The flags now
are something the client sets up once, depending on how it
actually uses the buffer. As such, don't clear it in
clear_contents().
Tests updated.
10 years ago
Behdad Esfahbod
104484cefe
Minor
10 years ago
Behdad Esfahbod
4acce77db7
[coretext] Pass buffer direction to CoreText
...
Have to use a CTTypesetter for this.
10 years ago
Behdad Esfahbod
5ec45dd37c
[coretext] Minor
...
It's hard to handle all possible NULL returns from CoreText. Add one
more...
10 years ago
Behdad Esfahbod
624a299b82
[coretext] Attach marks to base clusters
...
Fixes https://githu.com/behdad/harfbuzz/issues/49
to the extent that it can be fixed.
10 years ago
Behdad Esfahbod
3c41ccb535
[coretext] Use input clusters
...
Before, this shaper was returning UTF-16 cluster indices instead of
returning whatever cluster values the user had had set up in the buffer.
Ouch!
10 years ago
Behdad Esfahbod
a6b8dc8742
[coretext] Fix buffer resize handling
...
We can't really resize buffer and continue in this shaper as we are
using the scratch buffer for string_ref and log_cluster. Restructure
shaper to retry from (almost) scratch.
10 years ago
Behdad Esfahbod
9b3c60c88b
[coretext] Always compute log_clusters
...
To be used soon.
10 years ago
Behdad Esfahbod
15c633dd1f
Minor
10 years ago
Behdad Esfahbod
9ce067c775
[coretext] Simplify cluster mapping
10 years ago
Behdad Esfahbod
49f7fb6376
[coretext] Minor
10 years ago
Behdad Esfahbod
25f4fb9b56
[coretext] Fix fallback detection
...
Fixes http://github.com/behdad/harfbuzz/pull/36
10 years ago
Behdad Esfahbod
77a7a53ace
[coretext] Fix last range
...
Test with:
hb-view /Library/Fonts/Zapfino.ttf ZapfinoZapfino --features=-dlig[7:] --shaper=coretext
10 years ago
Behdad Esfahbod
c2b151d952
Fix hb_in_range() for types smaller than int
...
As exercised by hb-coretext .notdef code.
10 years ago
Behdad Esfahbod
26a963b9cb
[wince] Try to fix some stuff on Windows CE
...
Based on errors seen here:
http://testresults.qt-project.org/ci/QtBase_dev_Integration/build_03837/wince70embedded-armv4i-msvc2008_Windows_7/log.txt.gz
Fully untested.
10 years ago
Behdad Esfahbod
92aeee3f04
Minor
10 years ago
Behdad Esfahbod
b9993d8d6d
[coretext] Fix assert on Yosemite
...
Apparently those functions documented as sometimes returning NULL
actually exercise that right in OS X 10.10 Yosemite. The scratch
was too small for that. I *think* I fixed it, but haven't tested
as I don't have Yosemite.
10 years ago