Behdad Esfahbod
2af8262963
Improve library checks
2013-09-16 22:03:59 -04:00
Behdad Esfahbod
882edce48e
[graphite2] Fix include
2013-09-13 20:36:43 -04:00
Behdad Esfahbod
ace5c7eb4c
[introspection] hb-ft annotations
2013-09-13 20:35:19 -04:00
Behdad Esfahbod
a8949df487
[introspection] Annotate Unicode / font callbacks
...
Should move these out of the public header...
We're "clean" of introspection warnings now. Remaining ones are about
graphite2 / freetype types not being introspectable.
2013-09-13 20:31:07 -04:00
Behdad Esfahbod
4b011094d5
Move code around
...
I believe I didn't break anything...
2013-09-13 20:17:42 -04:00
Behdad Esfahbod
e478ebe4d3
[introspection] Add sample.py
2013-09-12 20:53:07 -04:00
Behdad Esfahbod
dfdbe7f932
[introspection] Make hb_blob_create() introspectable
2013-09-12 20:52:20 -04:00
Behdad Esfahbod
085d4291a9
[introspection] Disable constructors for now
...
Since our types are not associated with their methods, marking
constructors makes them inaccessible from bindings. Undo for now.
2013-09-12 17:14:33 -04:00
Behdad Esfahbod
6c48f20eea
[otlayout] Add structs for JSTF table
2013-09-09 15:43:10 -04:00
Behdad Esfahbod
70303cf23b
[docs/introspection] Some more annotations
2013-09-06 17:38:25 -04:00
Behdad Esfahbod
288f289997
[docs/introspection] More annotations
2013-09-06 17:30:54 -04:00
Behdad Esfahbod
17905c54f1
[introspection] Work around g-i limitation with hb_language_t
2013-09-06 17:16:25 -04:00
Behdad Esfahbod
cd361c3cbe
Minor change to hb_language_t
...
Let me know if this breaks anyone's anything.
2013-09-06 17:16:25 -04:00
Behdad Esfahbod
20cbc1f8eb
Annotate hb-set a bit; add HB_SET_VALUE_INVALID
2013-09-06 15:31:22 -04:00
Behdad Esfahbod
c44b81833d
Whitespace
2013-09-06 15:13:16 -04:00
Behdad Esfahbod
5f512017ba
[docs] Document a few symbols
2013-09-05 16:40:32 -04:00
Behdad Esfahbod
e0dbf99b44
[introspection] Pass source files to scanner
2013-09-05 16:18:45 -04:00
Behdad Esfahbod
5a5350b39b
Revert "Round when scaling values"
...
This reverts commit 10f964623f
.
See discussion with Khaled Hosny on mailing list. In short, since
integers here can be negative, and int division is "round towards
zero", proper rounding should take sign into account. Just skip
doing it again, has been serving us well before.
2013-09-03 20:11:01 -04:00
Behdad Esfahbod
213001aa99
[build] Fix EXTRA_DIST
...
I was under the impression that EXTRA_DISTs will happen regardless of
automake conditionals. Apparently I was wrong.
2013-09-03 20:00:16 -04:00
Behdad Esfahbod
ac1b723917
Remove hb-old and hb-icu-le test shapers
...
They've been disabled for a while and no one cared. We're past
the point to need them for testing, and if we ever need to
resurrect them again, well, they're in git graveyard somewhere.
2013-08-30 19:32:10 -04:00
Behdad Esfahbod
b94243d6a9
[g-i] Rename library from harfbuzz to HarfBuzz
2013-08-30 18:41:33 -04:00
Behdad Esfahbod
71ef22b04d
Turn hb-gobject, and introspection off by default
...
Also enable bootstrapping without them.
2013-08-28 12:52:55 -04:00
Behdad Esfahbod
d8f507099b
Hookup harfbuzz-gobject to introspection
2013-08-28 12:38:37 -04:00
Behdad Esfahbod
71439a8c7a
[gobject] Flesh out hb-gobject
...
Move it to new harfbuzz-gobject library. Implement enums and
boxed types for object-types. Still have to do boxed types for
value types.
2013-08-28 12:38:37 -04:00
Behdad Esfahbod
23027f7611
[introspection] Enable gobject-introspection again
2013-08-28 12:38:37 -04:00
Behdad Esfahbod
757a7a9018
[uniscribe] Fixed build with wide chars
...
f65dafa413
2013-08-28 12:38:37 -04:00
Behdad Esfahbod
4dc798de19
Add hb-deprecated.h, and rename a couple enum values
...
Add deprecated alias for old name.
2013-08-27 11:46:08 -04:00
Behdad Esfahbod
2e3a07abdf
Separate face source code from font
...
Makes documentation / introspection easier.
2013-08-27 11:46:08 -04:00
Behdad Esfahbod
d3490761e1
Improve check-includes.sh
2013-08-27 11:46:07 -04:00
Behdad Esfahbod
38b8b40526
Fix possible snprintf OOM
...
https://bugzilla.redhat.com/show_bug.cgi?id=1001645
2013-08-27 11:46:07 -04:00
Behdad Esfahbod
d22548c0e3
[check-*] Minor
2013-08-26 18:46:21 -04:00
Behdad Esfahbod
700a15fe4b
Add HB_DISABLE_DEPRECATED
...
That moment that you have to accept that you made API mistakes...
2013-08-26 17:49:36 -04:00
Anthony Carrico
f7c72b42ef
[gtk-doc] Initial setup
...
Initial setup of gtk-doc. Straight forward setup following the gtk-doc
instructions. Ignore some troublesome types in src/hb-gobject.h. To
build use "./autogen.sh --enable-gtk-doc" then "make". Docs are in
harfbuzz/docs/reference/html/index.html.
2013-08-26 17:32:30 -04:00
Behdad Esfahbod
3409fb1c76
[uniscribe] Ask Uniscribe to return shaping results in logical order
...
See discussion on the list in the thread "Arabic presentation forms
and the uniscribe backend".
Based on patch from Jonathan Kew.
2013-08-21 17:22:21 -04:00
Behdad Esfahbod
1d05fdd09f
[uniscribe] Print run info
2013-08-20 13:22:50 -04:00
Behdad Esfahbod
3613696b57
[coretext] Fully support user features
...
Based on patch from Jonathan Kew and data from Apple.
It's not working correctly though, and I suspect I'm hitting a bug in
CoreText. When I do this:
hb-shape /Library/Fonts/Zapfino.ttf ZapfinoZapfino --shaper coretext \
--features=-liga
I expect both ligatures to turn off, but only the second one does:
[Z_a_p_f_i_n_o=0+2333|Z=7+395|a=8+285|p_f=9+433|i=11+181|n=12+261|o=13+250]
whereas if I disable 'dlig' instead of 'liga', both are turned off.
Smells...
Doesn't resolve conflicting feature settings.
2013-08-12 12:01:05 -04:00
Behdad Esfahbod
54e6f6c588
Clean up list of Unicode scripts
...
Rename HB_SCRIPT_CANADIAN_ABORIGINAL to HB_SCRIPT_CANADIAN_SYLLABICS
and a macro for the old name.
2013-08-09 14:36:18 -04:00
Behdad Esfahbod
515a0ac81e
Fix compiler warning
2013-08-09 09:40:59 -04:00
Behdad Esfahbod
10f964623f
Round when scaling values
...
Doesn't matter for most users since they should be working in a
fixed sub-pixel scale anyway (ie. 22.10, 26.6, 16.16, etc).
2013-08-09 09:40:01 -04:00
Behdad Esfahbod
df8f70ae5d
Minor
2013-08-09 09:35:10 -04:00
Behdad Esfahbod
ce8badf180
Minor
2013-08-09 09:31:06 -04:00
Behdad Esfahbod
d71c0df2d1
Remove vrt2, vkrn, vpal, and valt from default vertical features
...
See thread by John Dagget on the list.
2013-08-09 09:29:29 -04:00
Behdad Esfahbod
a782a5e9a3
[coretext] Start adding support for features
...
Unlike AAT, looks like with CoreText very few OT features can be mapped.
:(
2013-08-07 22:08:29 -04:00
Behdad Esfahbod
bdd8873fd8
Revert "[Indic] don't apply 'calt' by default in Indic shaper"
...
This reverts commit 952121007c
.
In light of discussion on the mailing list...
2013-08-07 17:58:25 -04:00
Behdad Esfahbod
9a175914d7
[uniscribe] Support feature ranges
...
As Khaled pointed out, right now setting any features, turns kern
and possibly other features off.
2013-08-07 17:29:32 -04:00
Behdad Esfahbod
38d5c58d23
[uniscribe] Half-support user features
...
Turning features on globally works now.
2013-08-06 14:45:36 -04:00
Behdad Esfahbod
639afdc690
Minor
2013-08-06 14:28:12 -04:00
Jonathan Kew
952121007c
[Indic] don't apply 'calt' by default in Indic shaper
2013-08-06 10:36:14 -04:00
Behdad Esfahbod
625678436c
Fix glyph closure with class==0
...
As reported by cibu. Untested.
2013-08-05 22:44:18 -04:00
Behdad Esfahbod
580d5eb93a
Don't apply 'dlig' by default
...
Windows 8 doesn't, and the spec will be fixed.
2013-08-04 16:55:21 -04:00