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
381f2fb5e6
Minor
2013-08-27 11:46:07 -04:00
Behdad Esfahbod
ac1f09b53e
[gtk-doc] Fix maintainer-clean rule
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
029f46bde7
[gtk-doc] Remove tmpl in make maintainer-clean
2013-08-26 18:11:07 -04:00
Behdad Esfahbod
dddf990c36
[git.mk] Update
2013-08-26 18:08:26 -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
Behdad Esfahbod
ddc456a519
[travis] Add graphite2
2013-08-26 17:34:18 -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
7cd4a71584
Update TODO
2013-08-09 09:41:48 -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
627af695e4
More git.mk updates
2013-08-06 16:53:56 -04:00
Behdad Esfahbod
722252743d
Update git.mk
2013-08-06 15:19:23 -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
Behdad Esfahbod
48382e2f41
Minor
2013-07-30 18:25:39 -04:00
Behdad Esfahbod
c461371419
[CoreText] Don't leak the CTLine object (and everything that hangs off it)
...
Patch from Jonathan Kew.
2013-07-30 14:48:23 -04:00
Behdad Esfahbod
5fbc952524
Fix glyph name printing in hb-ot-shape-closure
2013-07-29 14:34:40 -04:00
Behdad Esfahbod
6fadd9dd7c
Apply 'mark' to Myanmar
...
According to Andrew Glass: "The issue with Myanmar <mark> feature was
fixed via a servicing patch as soon as Windows 8 became available."
2013-07-26 10:33:06 -04:00
Behdad Esfahbod
86522e493d
Fix glyph closure recursion!
2013-07-22 19:07:53 -04:00
Behdad Esfahbod
74439d0aa1
Minor
2013-07-22 19:02:29 -04:00
Behdad Esfahbod
8b427c78ef
[uniscribe] Sanitize font file
2013-07-22 10:57:05 -04:00
Behdad Esfahbod
12ff69df21
[uniscribe] Handle TTC when renaming font
2013-07-22 10:52:12 -04:00
Behdad Esfahbod
05bad3b8c2
[uniscribe] Use OT::* types
2013-07-21 17:19:09 -04:00
Behdad Esfahbod
bdeea605fe
[uniscribe] Move name generation into separate function
2013-07-21 17:19:09 -04:00
Behdad Esfahbod
73f947e2a7
[uniscribe] Use blob to pass data around
2013-07-21 17:19:09 -04:00
Behdad Esfahbod
8ac2e88def
[uniscribe] Use unique font name
...
When installing per-process fonts using AddFontMemResourceEx(),
if a font with the same family name is already installed, sometimes
that one gets used. Which is problematic for us. As such, we
now mangle the font to install a new 'name' table with a unique
name, which we then use to choose the font.
Patch from Jonathan Kew.
2013-07-21 17:17:44 -04:00
Behdad Esfahbod
8751de5083
Followup fix for 3f9e2dced2
...
During GSUB, if a ligation happens, subsequence context input matching
matches the new indexing. During GPOS however, the indices never
change. So just go one by one.
Fixes 'dist' positioning with mmrtext.ttf and the following sequence:
U+1014,U+1039,U+1011,U+1014,U+1039,U+1011,U+1014,U+1039,U+1011
Reported by Jonathan Kew.
2013-07-18 16:29:50 -04:00
Behdad Esfahbod
2b78d67e9f
0.9.19
2013-07-16 16:06:27 -04:00