Behdad Esfahbod
db5227c40e
Move macros around
2011-04-11 13:16:08 -04:00
Behdad Esfahbod
07233581c9
Rename HB_TAG_STR() to HB_TAG_CHAR4()
...
The problem with HB_TAG_STR() was that it expected a string of size 4
exactly, and unlike hb_tag_from_string() it doesn't pad the tag with
space characters. So, the new name is more appropriate.
2011-04-11 13:12:37 -04:00
Behdad Esfahbod
5d91c3d547
Add script to/from ISO 15924 tag support
...
Also adds --script support to hb-view.
If a script tag is not known to us, we pass the ISO 15924 tag around.
Right now, the OT layer ignores that, but we can fix it to blindly
convert that to an OT script tag.
2011-03-16 17:36:32 -03:00
Behdad Esfahbod
ba9ab8d6d9
Fix language extension matching
2011-01-10 07:45:41 -05:00
Behdad Esfahbod
43bf2f7f1e
Add OpenType script tags for Unicode 5.2 and Unicode 6.0 scripts
...
Based on tags proposed by Microsoft for inclusion in OpenType.
2010-11-17 14:49:40 -05:00
Behdad Esfahbod
afab01cf7c
Add Unicode 6.0 scripts
2010-11-17 14:35:34 -05:00
Behdad Esfahbod
f234b68d18
Change HB_SCRIPT_MEITEI_MAYEK to HB_SCRIPT_MEETEI_MAYEK
...
The new name matches the Unicode name. Reported by Jonathan Kew.
2010-11-17 14:25:44 -05:00
Behdad Esfahbod
f4792d99ee
Fix infinite loop!
...
Untested code is indeed buggy code.
Mozilla bug #603352 .
2010-10-12 12:32:18 -04:00
Behdad Esfahbod
8f08c32750
Minor cleanup
2010-10-08 19:51:03 -04:00
Behdad Esfahbod
acdba3f90b
Prefer C linkage
2010-07-23 15:39:27 -04:00
Behdad Esfahbod
226faa58f4
Fix loop
2010-05-27 11:42:34 -04:00
Behdad Esfahbod
15c7379c16
Revert "Merge remote branch 'martin/master'"
...
This reverts commit 80af2812fb
, reversing
changes made to c442672ec2
.
2010-05-26 10:48:10 -04:00
Martin Hosken
3109a86add
hb-graphite now no longer has -ve advances within clusters. Fix infinite loop in tag_to_script(). python fixed to use tag_to_script and allow hbtestfont to be passed font files, where fontconfig knows about them.
2010-05-24 13:25:37 +01:00
Behdad Esfahbod
4fa67f34ec
Add Unicode 5.2 scripts
2010-05-21 13:29:12 +01:00
Behdad Esfahbod
b490fa3433
Add hb_ot_tag_to_script()
2010-05-21 11:15:07 +01:00
Behdad Esfahbod
64d3fc8d0d
Cosmetic: Rename HB_LIKELY/HB_UNLIKELY to likely/unlikely
2010-05-03 22:51:19 -04:00
Behdad Esfahbod
fde6f5bd68
Convert to uppercase in hb_ot_tag_from_language()
2010-04-29 04:41:41 -04:00
Behdad Esfahbod
ce23c9234b
Use BCP47 private-use tags for OpenType tag language string mapping
2010-04-29 03:31:03 -04:00
Behdad Esfahbod
eaf1d9a46c
Minor
2010-04-29 03:11:32 -04:00
Behdad Esfahbod
c755cb3e3a
Change header comment
2010-04-22 00:11:43 -04:00
Behdad Esfahbod
8a3511ac6c
Add hb_language_t as well as language/script conversion to OT tags
2009-11-04 19:45:39 -05:00